mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
[bitnami/drupal] Add support for ingressClassName (#7512)
Inspired by https://github.com/bitnami/charts/pull/6848
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user