Skip to content

Commit

Permalink
Merge pull request #67 from decentralized-identity/update-helm-chart-…
Browse files Browse the repository at this point in the history
…ingress

Update ingress definition
  • Loading branch information
PatStLouis authored Nov 28, 2024
2 parents 7814dad + 01cb9e8 commit 3ea826c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions charts/tdw-server/templates/server/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ metadata:
spec:
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
- {{ .Values.server.host | quote }}
secretName: {{ .Values.fullnameOverride }}-tls
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
- host: {{ .Values.server.host | quote }}
Expand Down
4 changes: 2 additions & 2 deletions charts/tdw-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fullnameOverride: "tdw-server"
selectorLabels: {}

ingress:
tls: false
tls: []
labels: []
annotations: []

Expand All @@ -16,7 +16,7 @@ networkPolicy:
server:
image:
repository: ghcr.io/decentralized-identity/trustdidweb-server-py
tag: pre-0.0.11
tag: 0.1.1
pullPolicy: IfNotPresent
pullSecrets: []
# host is required when enabling TLS in the ingress
Expand Down

0 comments on commit 3ea826c

Please sign in to comment.