diff --git a/component/acme-dns.libsonnet b/component/acme-dns.libsonnet index 96d558db..71aa42b4 100644 --- a/component/acme-dns.libsonnet +++ b/component/acme-dns.libsonnet @@ -100,6 +100,9 @@ local scriptPodSpec(name, script) = { CLIENT_SECRET_NAME: clientSecret.metadata.name, ACME_DNS_API: acme_dns_api.endpoint, ACME_DNS_FQDNS: '%s' % [ acme_dns_api.fqdns ], + HTTP_PROXY: params.http_proxy, + HTTPS_PROXY: params.https_proxy, + NO_PROXY: params.no_proxy, }, envFrom: std.prune([ if has_registration_secret then { diff --git a/tests/golden/defaults/cert-manager/cert-manager/02_issuers/20_acme_dns.yaml b/tests/golden/defaults/cert-manager/cert-manager/02_issuers/20_acme_dns.yaml index f0247940..db0da812 100644 --- a/tests/golden/defaults/cert-manager/cert-manager/02_issuers/20_acme_dns.yaml +++ b/tests/golden/defaults/cert-manager/cert-manager/02_issuers/20_acme_dns.yaml @@ -141,10 +141,16 @@ spec: value: /etc/acme-dns - name: HOME value: /home/acme-dns + - name: HTTPS_PROXY + value: '' + - name: HTTP_PROXY + value: '' - name: NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace + - name: NO_PROXY + value: '' - name: SCRIPTS_PATH value: /scripts envFrom: @@ -216,10 +222,16 @@ spec: value: /etc/acme-dns - name: HOME value: /home/acme-dns + - name: HTTPS_PROXY + value: '' + - name: HTTP_PROXY + value: '' - name: NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace + - name: NO_PROXY + value: '' - name: SCRIPTS_PATH value: /scripts envFrom: