mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
enable proxy for offline clusters
This commit is contained in:
@@ -50,6 +50,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:
|
||||
|
||||
@@ -28,3 +28,9 @@ metricsService:
|
||||
protocol: TCP
|
||||
targetPort: https
|
||||
type: ClusterIP
|
||||
proxy:
|
||||
enabled: false
|
||||
httpProxy: "<your_proxy>"
|
||||
httpsProxy: "<your_proxy>"
|
||||
noProxy: "localhost,127.0.0.1,<other_ip>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user