Эх сурвалжийг харах

Allow the charts containerPorts to be configured (#12137)

Signed-off-by: Michiel <michield@vmware.com>
Michiel 3 жил өмнө
parent
commit
0ce981c65c

+ 4 - 0
bitnami/apache/templates/deployment.yaml

@@ -130,6 +130,10 @@ spec:
           env:
             - name: BITNAMI_DEBUG
               value: {{ ternary "true" "false" .Values.image.debug | quote }}
+            - name: APACHE_HTTP_PORT_NUMBER
+              value: {{ .Values.containerPorts.http | quote }}
+            - name: APACHE_HTTPS_PORT_NUMBER
+              value: {{ .Values.containerPorts.https | quote }}
             {{- if .Values.extraEnvVars }}
               {{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
             {{- end }}