Add missing tolerations config to daemonsets (#381)

spiffe-csi-driver and spire-agent are missing the ability to specify
tolerations. This PR adds the missing functionality.

fixes: https://github.com/spiffe/helm-charts/issues/380

Signed-off-by: Kevin Fox <[email protected]>
This commit is contained in:
kfox1111
2023-07-06 12:48:59 -05:00
committed by GitHub
parent 4ad68b154b
commit 3ed1859cd1
7 changed files with 16 additions and 0 deletions
@@ -59,5 +59,6 @@ A Helm chart to install the SPIFFE CSI driver.
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | `[]` | |
----------------------------------------------
@@ -29,6 +29,10 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
@@ -66,6 +66,8 @@ securityContext:
nodeSelector: {}
tolerations: []
nodeDriverRegistrar:
image:
# -- The OCI registry to pull the image from