[issue-2401] Added pod security context for Fission Components (#2449)

Following component has been updated with securityContext -
1. buildermgr
2. controller
3. executor
4. kubewatcher
5. router
6. timer
7. storagesvc

* Removed the security context from fetcher as per the offline discussion
This commit is contained in:
Yatish Sharma
2022-06-09 16:25:09 +05:30
committed by GitHub
parent 709af6e432
commit 7be3e4f410
9 changed files with 111 additions and 0 deletions
@@ -15,6 +15,9 @@ spec:
labels:
svc: timer
spec:
{{- if .Values.timer.securityContext.enabled }}
securityContext: {{- omit .Values.timer.securityContext "enabled" | toYaml | nindent 8 }}
{{- end }}
containers:
- name: timer
image: {{ include "fission-bundleImage" . | quote }}