[Calico] Using booleans where expected in values (not strings)
The string "false" isn't boolean false. Where possible use booleans in the values so constructs like: {{ if not .Values.some.thing }} # some thing is not set {{ end }} work as expected. In the places it's expanded and passed into the pod environment variables it is converted to a string; we update those all the same so that template logic will work. Change-Id: I6142b9d514b2b21381dbf0de2f1351f5ab94e696
This commit is contained in:
parent
db209e0bb5
commit
f343944f45
@ -195,9 +195,9 @@ networking:
|
|||||||
# that ipPool
|
# that ipPool
|
||||||
ippool:
|
ippool:
|
||||||
ipip:
|
ipip:
|
||||||
enabled: "true"
|
enabled: true
|
||||||
nat_outgoing: "true"
|
nat_outgoing: true
|
||||||
disabled: "false"
|
disabled: false
|
||||||
|
|
||||||
bgp:
|
bgp:
|
||||||
# our asnumber for bgp peering
|
# our asnumber for bgp peering
|
||||||
@ -471,7 +471,7 @@ conf:
|
|||||||
# Since we're running in the host namespace and might not have KubeDNS
|
# Since we're running in the host namespace and might not have KubeDNS
|
||||||
# access, configure the container's /etc/hosts to resolve
|
# access, configure the container's /etc/hosts to resolve
|
||||||
# kubernetes.default to the correct service clusterIP.
|
# kubernetes.default to the correct service clusterIP.
|
||||||
CONFIGURE_ETC_HOSTS: "true"
|
CONFIGURE_ETC_HOSTS: true
|
||||||
|
|
||||||
node:
|
node:
|
||||||
# for specific details see
|
# for specific details see
|
||||||
@ -492,7 +492,7 @@ conf:
|
|||||||
# Location of the client certificate for etcd.
|
# Location of the client certificate for etcd.
|
||||||
ETCD_CERT_FILE: ""
|
ETCD_CERT_FILE: ""
|
||||||
# Disable file logging so `kubectl logs` works.
|
# Disable file logging so `kubectl logs` works.
|
||||||
CALICO_DISABLE_FILE_LOGGING: "true"
|
CALICO_DISABLE_FILE_LOGGING: true
|
||||||
# Set Felix endpoint to host default action to ACCEPT.
|
# Set Felix endpoint to host default action to ACCEPT.
|
||||||
# early/startup log level for calico-node on startup.
|
# early/startup log level for calico-node on startup.
|
||||||
CALICO_STARTUP_LOGLEVEL: "Info"
|
CALICO_STARTUP_LOGLEVEL: "Info"
|
||||||
@ -508,16 +508,16 @@ conf:
|
|||||||
# different hosts to communicate with each otehr).
|
# different hosts to communicate with each otehr).
|
||||||
CALICO_IPV4POOL_IPIP: "Always"
|
CALICO_IPV4POOL_IPIP: "Always"
|
||||||
# Disable IPv6 on Kubernetes.
|
# Disable IPv6 on Kubernetes.
|
||||||
FELIX_IPV6SUPPORT: "false"
|
FELIX_IPV6SUPPORT: false
|
||||||
# Set MTU for tunnel device used if ipip is enabled, it's
|
# Set MTU for tunnel device used if ipip is enabled, it's
|
||||||
# recommended you leave this as null and an appropriate value will
|
# recommended you leave this as null and an appropriate value will
|
||||||
# be set based on tunneling mode and the networking.mtu value
|
# be set based on tunneling mode and the networking.mtu value
|
||||||
FELIX_IPINIPMTU: null
|
FELIX_IPINIPMTU: null
|
||||||
# Set Felix logging; also (ab)used for bgp configuration
|
# Set Felix logging; also (ab)used for bgp configuration
|
||||||
FELIX_LOGSEVERITYSCREEN: "Info"
|
FELIX_LOGSEVERITYSCREEN: "Info"
|
||||||
FELIX_HEALTHENABLED: "true"
|
FELIX_HEALTHENABLED: true
|
||||||
# Set Felix experimental Prometheus metrics server
|
# Set Felix experimental Prometheus metrics server
|
||||||
FELIX_PROMETHEUSMETRICSENABLED: "true"
|
FELIX_PROMETHEUSMETRICSENABLED: true
|
||||||
FELIX_PROMETHEUSMETRICSPORT: "9091"
|
FELIX_PROMETHEUSMETRICSPORT: "9091"
|
||||||
# Auto-detect the BGP IP address.
|
# Auto-detect the BGP IP address.
|
||||||
IP: ""
|
IP: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user