fix: change ingress annotation inclusion from values.yaml

This commit is contained in:
Justin Kreller
2025-04-28 21:02:59 +02:00
parent c11c3aa095
commit 3374dfd8f9
2 changed files with 4 additions and 8 deletions

View File

@ -5,11 +5,9 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "htwkalender.labels" . | nindent 4 }}
{{- if .Values.ingress.httpsRedirect.annotations }}
{{- with .Values.ingress.httpsRedirect.annotations }}
annotations:
{{ toYaml .Values.ingress.httpsRedirect.annotations | nindent 4 }}
{{- else }}
annotations: []
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ingressClassName: "PLACEHOLDER"

View File

@ -5,11 +5,9 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "htwkalender.labels" . | nindent 4 }}
{{- if .Values.ingress.https.annotations }}
{{- with .Values.ingress.https.annotations }}
annotations:
{{ toYaml .Values.ingress.https.annotations | nindent 4 }}
{{- else }}
annotations: []
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ingressClassName: "PLACEHOLDER"