mirror of https://github.com/linkerd/linkerd2.git
The linkerd-cni helm chart is missing tolerations on the daemonset. This prevents the linkerd-cni daemonset from being installed on all intended nodes. We use the same template partial as used in the main linkerd helm chart to add tolerations if specified to the linkerd-cni daemonset spec. Fixes #5368 Signed-off-by: Rishabh Jain <rishabh@onesignal.com>
This commit is contained in:
parent
578d4a19e9
commit
146cd1301d
|
@ -184,6 +184,9 @@ spec:
|
||||||
annotations:
|
annotations:
|
||||||
{{.Values.createdByAnnotation}}: {{default (printf "linkerd/helm %s" .Values.cniPluginVersion) .Values.cliVersion}}
|
{{.Values.createdByAnnotation}}: {{default (printf "linkerd/helm %s" .Values.cniPluginVersion) .Values.cliVersion}}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.tolerations }}
|
||||||
|
{{- include "linkerd.tolerations" . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
beta.kubernetes.io/os: linux
|
beta.kubernetes.io/os: linux
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
|
|
@ -41,6 +41,11 @@ priorityClassName: ""
|
||||||
proxyInjectAnnotation: linkerd.io/inject
|
proxyInjectAnnotation: linkerd.io/inject
|
||||||
proxyInjectDisabled: disabled
|
proxyInjectDisabled: disabled
|
||||||
|
|
||||||
|
# -|- Tolerations section, See the
|
||||||
|
# [K8S documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
|
||||||
|
# for more information
|
||||||
|
#tolerations:
|
||||||
|
|
||||||
#
|
#
|
||||||
## For Private docker registries, authentication is needed.
|
## For Private docker registries, authentication is needed.
|
||||||
# If the control plane service images are pulled from a
|
# If the control plane service images are pulled from a
|
||||||
|
|
Loading…
Reference in New Issue