Add proxy envs to calico to make possible usage of AWS source destination check

Signed-off-by: Dmytro Oboznyi <dmytro.oboznyi@syncier.com>
This commit is contained in:
Dmytro Oboznyi 2021-06-07 14:26:59 +03:00
parent fdafcfc297
commit feed3b26ae
No known key found for this signature in database
GPG Key ID: 78E7C90AC641DFED
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 # Enable WireGuard encryption for all on-the-wire pod-to-pod traffic
- name: FELIX_WIREGUARDENABLED - name: FELIX_WIREGUARDENABLED
value: "{{ .Networking.Calico.WireguardEnabled }}" value: "{{ .Networking.Calico.WireguardEnabled }}"
# Enable support for HTTP forward proxy
{{ range $name, $value := ProxyEnv }}
- name: {{ $name }}
value: {{ $value }}
{{ end }}
securityContext: securityContext:
privileged: true privileged: true
resources: resources:
@ -4130,4 +4135,3 @@ spec:
--- ---
# Source: calico/templates/configure-canal.yaml # Source: calico/templates/configure-canal.yaml