[bitnami/drupal] Add support for ingressClassName (#7512)

Inspired by

https://github.com/bitnami/charts/pull/6848
This commit is contained in:
Sebastian Krebs
2021-09-17 08:59:54 +02:00
committed by GitHub
parent 7499dcf3c9
commit 82869b473c
5 changed files with 11 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ metadata:
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
spec:
{ { - if and .Values.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) } }
ingressClassName: { { .Values.ingress.ingressClassName | quote } }
{ { - end } }
rules:
{{- if .Values.ingress.hostname }}
- host: {{ .Values.ingress.hostname }}