[bitnami/apache] Optimize annos (#13127)

Signed-off-by: cleverhu <shouping.hu@daocloud.io>

Signed-off-by: cleverhu <shouping.hu@daocloud.io>
This commit is contained in:
cleverhu
2022-10-26 17:43:16 +02:00
committed by GitHub
parent c037a8dad8
commit 90e9d43e27
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ name: apache
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/apache
- https://httpd.apache.org
version: 9.2.5
version: 9.2.6
+2
View File
@@ -8,6 +8,7 @@ metadata:
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if or .Values.ingress.certManager .Values.ingress.annotations .Values.commonAnnotations }}
annotations:
{{- if .Values.ingress.certManager }}
kubernetes.io/tls-acme: "true"
@@ -18,6 +19,7 @@ metadata:
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
spec:
{{- if and .Values.ingress.ingressClassName (eq "true" (include "common.ingress.supportsIngressClassname" .)) }}
ingressClassName: {{ .Values.ingress.ingressClassName | quote }}