feat(argo-events): Allow specifying container security context for controllers (#1081)

Signed-off-by: Muhammad Hamza Zaib <hamzazaib3202@gmail.com>

Co-authored-by: Marko Bevc <marko@scalefactory.com>
This commit is contained in:
Muhammad Hamza Zaib 2022-01-10 20:55:34 +01:00 committed by GitHub
parent 9607e00969
commit e32f580733
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 2 deletions

View file

@ -59,6 +59,9 @@ spec:
initialDelaySeconds: 3
periodSeconds: 3
resources: {{- toYaml .Values.sensorController.resources | nindent 12 }}
{{- with .Values.sensorController.containerSecurityContext }}
securityContext: {{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.sensorController.priorityClassName }}
priorityClassName: {{ . | quote }}
{{- end }}