mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-07 04:09:15 +02:00
fix: change ingress annotation inclusion from values.yaml
This commit is contained in:
@@ -5,11 +5,9 @@ metadata:
|
|||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "htwkalender.labels" . | nindent 4 }}
|
{{- include "htwkalender.labels" . | nindent 4 }}
|
||||||
{{- if .Values.ingress.httpsRedirect.annotations }}
|
{{- with .Values.ingress.httpsRedirect.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml .Values.ingress.httpsRedirect.annotations | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- else }}
|
|
||||||
annotations: []
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: "PLACEHOLDER"
|
ingressClassName: "PLACEHOLDER"
|
||||||
|
@@ -5,11 +5,9 @@ metadata:
|
|||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "htwkalender.labels" . | nindent 4 }}
|
{{- include "htwkalender.labels" . | nindent 4 }}
|
||||||
{{- if .Values.ingress.https.annotations }}
|
{{- with .Values.ingress.https.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml .Values.ingress.https.annotations | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- else }}
|
|
||||||
annotations: []
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: "PLACEHOLDER"
|
ingressClassName: "PLACEHOLDER"
|
||||||
|
Reference in New Issue
Block a user