Skip to content

Commit

Permalink
Merge pull request #5 from Utwo/update-ingress
Browse files Browse the repository at this point in the history
Update ingress configuration to use dynamic backend service values
  • Loading branch information
Utwo authored Jan 21, 2025
2 parents 78e48eb + 6872332 commit 00610c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/charts/playground-sandbox/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ spec:
path: "/"
backend:
service:
name: backend
name: {{ .Values.ingress.backendService.name }}
port:
name: http
name: {{ .Values.ingress.backendService.portName }}
- host: "*.{{ .Values.ingress.projectSubdomain }}.{{ .Values.ingress.domain }}"
http:
paths:
Expand Down
3 changes: 3 additions & 0 deletions helm/charts/playground-sandbox/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ ingress:
apiSubdomain: api
projectSubdomain: project
vscodeSubdomain: vscode
backendService:
name: backend
portName: http

tls: []
# - secretName: chart-example-tls
Expand Down

0 comments on commit 00610c9

Please sign in to comment.