mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-29 10:55:05 +00:00
fix: add nodeSelector to the reports cleanup helm hook (#9065)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
parent
8295ec9e70
commit
a3279329eb
3 changed files with 8 additions and 0 deletions
|
@ -737,6 +737,7 @@ The chart values are organised per component.
|
|||
| policyReportsCleanup.image.tag | string | `"1.28.4"` | Image tag Defaults to `latest` if omitted |
|
||||
| policyReportsCleanup.image.pullPolicy | string | `nil` | Image pull policy Defaults to image.pullPolicy if omitted |
|
||||
| policyReportsCleanup.podSecurityContext | object | `{}` | Security context for the pod |
|
||||
| policyReportsCleanup.nodeSelector | object | `{}` | Node labels for pod assignment |
|
||||
| policyReportsCleanup.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":65534,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}` | Security context for the hook containers |
|
||||
|
||||
## TLS Configuration
|
||||
|
|
|
@ -54,5 +54,9 @@ spec:
|
|||
securityContext:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.policyReportsCleanup.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- tpl (toYaml .) $ | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
|
@ -411,6 +411,9 @@ policyReportsCleanup:
|
|||
# -- Security context for the pod
|
||||
podSecurityContext: {}
|
||||
|
||||
# -- Node labels for pod assignment
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Security context for the hook containers
|
||||
securityContext:
|
||||
runAsUser: 65534
|
||||
|
|
Loading…
Add table
Reference in a new issue