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

This commit is contained in:
c-romeo
2025-01-23 11:05:01 +02:00
committed by GitHub
parent 5a7e1be070
commit 9008c40d0e

View File

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