Skip to content

Commit

Permalink
feat: add proxy env variables (#54)
Browse files Browse the repository at this point in the history
* feat: add proxy env variables

* feat: add env variables for proxy
  • Loading branch information
stephbat authored Sep 30, 2024
1 parent bf4d525 commit 29ec64c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/cert-manager-webhook-pdns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: cert-manager-webhook-pdns
version: 3.1.3
version: 3.2.0
description: Cert Manager Webhook for PowerDNS.
type: application
home: https://github.com/zachomedia/cert-manager-webhook-pdns
Expand Down
12 changes: 12 additions & 0 deletions deploy/cert-manager-webhook-pdns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,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: 8443
Expand Down
10 changes: 10 additions & 0 deletions deploy/cert-manager-webhook-pdns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,13 @@ podAnnotations: {}
podSecurityContext: {}

priorityClassName: ""

# Configures the HTTP_PROXY environment variable where a HTTP proxy is required.
# http_proxy: "http://proxy:8080"

# Configures the HTTPS_PROXY environment variable where a HTTP proxy is required.
# https_proxy: "https://proxy:8080"

# Configures the NO_PROXY environment variable where a HTTP proxy is required,
# but certain domains should be excluded.
# no_proxy: 127.0.0.1,localhost

0 comments on commit 29ec64c

Please sign in to comment.