Skip to content

Commit e1e9cb9

Browse files
committed
Update k8 configuration
1 parent a9a53f2 commit e1e9cb9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

kubernetes_app.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: Ingress
33
metadata:
44
name: editor-ingress
55
annotations:
6+
kubernetes.io/ingress.class: "gce"
67
kubernetes.io/ingress.global-static-ip-name: "web-editor-ip"
78
spec:
89
backend:
@@ -134,15 +135,16 @@ metadata:
134135
annotations:
135136
kubernetes.io/ingress.class: nginx
136137
# type of authentication
137-
ingress.kubernetes.io/auth-type: basic
138+
nginx.ingress.kubernetes.io/auth-type: basic
138139
# name of the secret that contains the user/password definitions
139-
ingress.kubernetes.io/auth-secret: basic-auth
140+
nginx.ingress.kubernetes.io/auth-secret: basic-auth
140141
# message to display with an appropriate context why the authentication is required
141-
ingress.kubernetes.io/auth-realm: 'Authentication Required - p5.js Web Editor Staging'
142+
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - p5.js Web Editor Staging'
142143
# kubernetes.io/ingress.global-static-ip-name: "web-editor-staging-ip"
143144
spec:
144145
rules:
145-
- http:
146+
- host: stagingeditor.p5js.org
147+
http:
146148
paths:
147149
- path: /
148150
backend:

0 commit comments

Comments
 (0)