diff --git a/chart/templates/monitoring/secret-ca.yaml b/chart/templates/monitoring/secret-ca.yaml index 5c89323f3dbe35a9c6ce8b8fca39f2e5575df2ba..926896089d547b16c2dc9d406a3a42cbb9b313c5 100644 --- a/chart/templates/monitoring/secret-ca.yaml +++ b/chart/templates/monitoring/secret-ca.yaml @@ -1,4 +1,4 @@ -{{- if or (and .Values.monitoring.enabled .Values.monitoring.sso.enabled) (and .Values.grafana.enabled .Values.grafana.sso.enabled) (or .Values.sso.certificate_authority (dig "certificateAuthority" "cert" false .Values.sso)) }} +{{- if and (or (and .Values.monitoring.enabled .Values.monitoring.sso.enabled) (and .Values.grafana.enabled .Values.grafana.sso.enabled)) (or .Values.sso.certificate_authority (dig "certificateAuthority" "cert" false .Values.sso)) }} apiVersion: v1 kind: Secret metadata: