adding ingress and certs
This commit is contained in:
parent
42fe5cb375
commit
b9dd05ffb2
3 changed files with 16 additions and 0 deletions
|
|
@ -10,6 +10,14 @@ spec:
|
||||||
{{- with .Values.ingress.className }}
|
{{- with .Values.ingress.className }}
|
||||||
ingressClassName: {{ . | quote }}
|
ingressClassName: {{ . | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.ingress.tls.enabled }}
|
||||||
|
tls:
|
||||||
|
- secretName: {{ .Values.ingress.tls.secretName | quote }}
|
||||||
|
hosts:
|
||||||
|
{{- range .Values.ingress.hosts }}
|
||||||
|
- {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
{{- range .Values.ingress.hosts }}
|
{{- range .Values.ingress.hosts }}
|
||||||
- host: {{ . | quote }}
|
- host: {{ . | quote }}
|
||||||
|
|
|
||||||
|
|
@ -8,3 +8,8 @@ ingress:
|
||||||
className: traefik
|
className: traefik
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: null # alte Annotation entfernen
|
kubernetes.io/ingress.class: null # alte Annotation entfernen
|
||||||
|
# cert-manager holt das Zertifikat für alle hosts automatisch (HTTP-01 über Port 80)
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
tls:
|
||||||
|
enabled: true
|
||||||
|
secretName: boday-it-tls
|
||||||
|
|
|
||||||
|
|
@ -28,3 +28,6 @@ ingress:
|
||||||
hosts:
|
hosts:
|
||||||
- boday-it.ch
|
- boday-it.ch
|
||||||
- www.boday-it.ch
|
- www.boday-it.ch
|
||||||
|
tls:
|
||||||
|
enabled: false
|
||||||
|
secretName: boday-it-tls
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue