Skip to content

Commit 00610c9

Browse files
authored
Merge pull request #5 from Utwo/update-ingress
Update ingress configuration to use dynamic backend service values
2 parents 78e48eb + 6872332 commit 00610c9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

helm/charts/playground-sandbox/templates/ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ spec:
4646
path: "/"
4747
backend:
4848
service:
49-
name: backend
49+
name: {{ .Values.ingress.backendService.name }}
5050
port:
51-
name: http
51+
name: {{ .Values.ingress.backendService.portName }}
5252
- host: "*.{{ .Values.ingress.projectSubdomain }}.{{ .Values.ingress.domain }}"
5353
http:
5454
paths:

helm/charts/playground-sandbox/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ ingress:
186186
apiSubdomain: api
187187
projectSubdomain: project
188188
vscodeSubdomain: vscode
189+
backendService:
190+
name: backend
191+
portName: http
189192

190193
tls: []
191194
# - secretName: chart-example-tls

0 commit comments

Comments
 (0)