Allow Flux to be deployed on tainted Kubernetes nodes
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
@@ -137,6 +137,13 @@ spec:
|
||||
imagePullSecrets:
|
||||
- name: {{.ImagePullSecret}}
|
||||
{{- end }}
|
||||
{{ if gt (len .TolerationKeys) 0 }}
|
||||
tolerations:
|
||||
{{- range $i, $key := .TolerationKeys }}
|
||||
- key: "{{$key}}"
|
||||
operator: "Exists"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
`
|
||||
|
||||
var labelsTmpl = `---
|
||||
|
||||
Reference in New Issue
Block a user