From 0ce981c65cd57a4424dcc33332ae282e1de9f7ef Mon Sep 17 00:00:00 2001 From: Michiel Date: Thu, 25 Aug 2022 17:43:35 +0200 Subject: [PATCH] Allow the charts containerPorts to be configured (#12137) Signed-off-by: Michiel --- bitnami/apache/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bitnami/apache/templates/deployment.yaml b/bitnami/apache/templates/deployment.yaml index e48d6a2c6..ea0f07da0 100644 --- a/bitnami/apache/templates/deployment.yaml +++ b/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 }}