Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Add support for proxy variable in helm chart templates #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions deploy/cert-manager-webhook-gandi/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ spec:
env:
- name: GROUP_NAME
value: {{ .Values.groupName | quote }}
{{- with .Values.http_proxy }}
- name: http_proxy
value: {{ . }}
{{- end }}
{{- with .Values.https_proxy }}
- name: https_proxy
value: {{ . }}
{{- end }}
{{- with .Values.no_proxy }}
- name: no_proxy
value: {{ . }}
{{- end }}
ports:
- name: https
containerPort: 443
Expand Down
3 changes: 3 additions & 0 deletions deploy/cert-manager-webhook-gandi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ image:
pullPolicy: IfNotPresent
nameOverride: ''
fullnameOverride: ''
http_proxy: ''
https_proxy: ''
no_proxy: ''
service:
type: ClusterIP
port: 443
Expand Down