mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-06 01:54:43 +00:00
Allow Flux to be deployed on tainted Kubernetes nodes
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
fa6e3d3706
commit
37f5587085
11 changed files with 42 additions and 7 deletions
|
|
@ -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 = `---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue