Browse Source

fix Calico typha deployment issue: #11916 (#11917)

pull/11879/head
c-romeo 4 months ago
committed by GitHub
parent
commit
9008c40d0e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions
  1. 8
      roles/network_plugin/calico/templates/calico-typha.yml.j2

8
roles/network_plugin/calico/templates/calico-typha.yml.j2

@ -126,6 +126,10 @@ spec:
- name: TYPHA_PROMETHEUSMETRICSPORT
value: "{{ typha_prometheusmetricsport }}"
{% endif %}
{% if calico_ipam_host_local %}
- name: USE_POD_CIDR
value: "true"
{% endif %}
{% if typha_secure %}
volumeMounts:
- mountPath: /etc/typha
@ -135,10 +139,6 @@ spec:
subPath: ca.crt
name: cacert
readOnly: true
{% endif %}
{% if calico_ipam_host_local %}
- name: USE_POD_CIDR
value: "true"
{% endif %}
livenessProbe:
httpGet:

Loading…
Cancel
Save