[bitnami/*] Make use of new "common.ingress.certManagerRequest" helper (#8862)

This commit is contained in:
Juan Ariza Toledano
2022-02-02 09:19:24 +01:00
committed by GitHub
parent 5b659dea76
commit 12e4c3733e
74 changed files with 125 additions and 296 deletions

View File

@@ -56,9 +56,9 @@ spec:
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "argo-workflows.server.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
{{- end }}
{{- if or (and .Values.ingress.tls (or (include "argo-workflows.ingress.certManagerRequest" .Values.ingress.annotations) .Values.ingress.selfSigned)) .Values.ingress.extraTls }}
{{- if or (and .Values.ingress.tls (or (include "common.ingress.certManagerRequest" ( dict "annotations" .Values.ingress.annotations )) .Values.ingress.selfSigned)) .Values.ingress.extraTls }}
tls:
{{- if and .Values.ingress.tls (or (include "argo-workflows.ingress.certManagerRequest" .Values.ingress.annotations) .Values.ingress.selfSigned) }}
{{- if and .Values.ingress.tls (or (include "common.ingress.certManagerRequest" ( dict "annotations" .Values.ingress.annotations )) .Values.ingress.selfSigned) }}
- hosts:
- {{ .Values.ingress.hostname | quote }}
secretName: {{ printf "%s-tls" .Values.ingress.hostname }}