This commit is contained in:
devthejo 2024-06-29 17:33:17 +02:00
parent 0f973d4910
commit 2cca472994
Signed by: devthejo
GPG key ID: C04215C627711F5C
4 changed files with 11 additions and 3 deletions

View file

@ -9,6 +9,9 @@ metadata:
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.annotations "context" $) | nindent 4 }} {{- include "common.tplvalues.render" (dict "value" .Values.ingress.annotations "context" $) | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className | quote }}
{{- end }}
tls: tls:
{{- if .Values.ingress.tls }} {{- if .Values.ingress.tls }}
- hosts: - hosts:

View file

@ -13,7 +13,7 @@ image:
persistence: persistence:
enabled: enabled:
accessMode: ReadWriteMany accessMode: ReadWriteOnce
size: 256M size: 256M
storageClass: "" storageClass: ""
existingClaim: "" existingClaim: ""
@ -45,9 +45,10 @@ service:
ingress: ingress:
enabled: false enabled: false
className: ""
annotations: {} annotations: {}
hostname: api.local hostname: maildev.local
tlsSecretname: alerte-secours-tls tlsSecretname: devthefuture-tls
resources: {} resources: {}
# requests: # requests:

View file

@ -9,6 +9,9 @@ metadata:
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.annotations "context" $) | nindent 4 }} {{- include "common.tplvalues.render" (dict "value" .Values.ingress.annotations "context" $) | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className | quote }}
{{- end }}
tls: tls:
{{- if .Values.ingress.tls }} {{- if .Values.ingress.tls }}
- hosts: - hosts:

View file

@ -64,6 +64,7 @@ service:
ingress: ingress:
enabled: false enabled: false
className: ""
annotations: {} annotations: {}
hostname: api.local hostname: api.local
tlsSecretname: alerte-secours-tls tlsSecretname: alerte-secours-tls