Skip to content

Commit

Permalink
feat: tls
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyzx committed Feb 18, 2024
1 parent a72fe1b commit 57d22a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/web/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ metadata:
labels:
{{- include "helper.labels" . | nindent 4 }}
spec:
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
- host: {{ .Values.host | quote }}
http:
Expand Down
1 change: 1 addition & 0 deletions charts/web/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
image: traefik/whoami:latest
replicaCount: 1
host: example.com
tlsName: ""

nameOverride: ""
fullnameOverride: ""
Expand Down

0 comments on commit 57d22a1

Please sign in to comment.