From 93d860275e92a99e3dfac43c3ea0a0e29b4eca13 Mon Sep 17 00:00:00 2001 From: pgvishnuram Date: Mon, 13 Jan 2025 13:56:56 +0530 Subject: [PATCH] fix airflow and authsidecar ingress --- templates/ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/ingress.yaml b/templates/ingress.yaml index 29f2b0eec..9def2b1a8 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -16,7 +16,7 @@ metadata: {{- with .Values.airflow.labels }} {{ toYaml . | indent 4 }} {{- end }} - {{- if .Values.ingress.webserverAnnotations }} + {{- if or .Values.ingress.webserverAnnotations .Values.authSidecar.enabled }} annotations: {{- if .Values.authSidecar.enabled }} {{- toYaml .Values.authSidecar.annotations | nindent 4 }} @@ -83,7 +83,7 @@ metadata: {{- with .Values.airflow.labels }} {{ toYaml . | indent 4 }} {{- end }} - {{- if .Values.ingress.flowerAnnotations }} + {{- if or .Values.ingress.flowerAnnotations .Values.authSidecar.enabled }} {{ $ctx := . }} annotations: {{- if .Values.authSidecar.enabled }} @@ -157,7 +157,7 @@ metadata: {{- with .Values.airflow.labels }} {{ toYaml . | indent 4 }} {{- end }} - {{- if .Values.ingress.dagServerAnnotations }} + {{- if or .Values.ingress.dagServerAnnotations .Values.authSidecar.enabled }} {{ $ctx := . }} annotations: {{- if .Values.authSidecar.enabled }}