Merge pull request #11709 from syncier/feature/add-proxy-env-calico

Add proxy envs to calico to make possible usage of AWS source destination check
This commit is contained in:
Kubernetes Prow Robot 2021-06-07 07:54:40 -07:00 committed by GitHub
commit 038d908078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -3924,6 +3924,11 @@ spec:
# Enable WireGuard encryption for all on-the-wire pod-to-pod traffic
- name: FELIX_WIREGUARDENABLED
value: "{{ .Networking.Calico.WireguardEnabled }}"
# Enable support for HTTP forward proxy
{{ range $name, $value := ProxyEnv }}
- name: {{ $name }}
value: {{ $value }}
{{ end }}
securityContext:
privileged: true
resources:
@ -4130,4 +4135,3 @@ spec:
---
# Source: calico/templates/configure-canal.yaml