diff --git a/charts/irsa-manager/templates/deployment.yaml b/charts/irsa-manager/templates/deployment.yaml index 7bf85b6..d4ef723 100644 --- a/charts/irsa-manager/templates/deployment.yaml +++ b/charts/irsa-manager/templates/deployment.yaml @@ -59,6 +59,20 @@ spec: optional: true - name: KUBERNETES_CLUSTER_DOMAIN value: {{ quote .Values.kubernetesClusterDomain }} + {{- if .Values.proxy.enabled }} + {{- if .Values.proxy.httpProxy }} + - name: HTTP_PROXY + value: {{ .Values.proxy.httpProxy | quote }} + {{- end }} + {{- if .Values.proxy.httpsProxy }} + - name: HTTPS_PROXY + value: {{ .Values.proxy.httpsProxy | quote }} + {{- end }} + {{- if .Values.proxy.noProxy }} + - name: NO_PROXY + value: {{ .Values.proxy.noProxy | quote }} + {{- end }} + {{- end }} image: {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag | default .Chart.AppVersion }} livenessProbe: diff --git a/charts/irsa-manager/values.yaml b/charts/irsa-manager/values.yaml index 0af4024..883480c 100644 --- a/charts/irsa-manager/values.yaml +++ b/charts/irsa-manager/values.yaml @@ -28,3 +28,9 @@ metricsService: protocol: TCP targetPort: https type: ClusterIP +proxy: + enabled: false + httpProxy: "" + httpsProxy: "" + noProxy: "localhost,127.0.0.1," +