[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:
@@ -22,6 +22,9 @@ spec:
|
||||
prometheus.io/path: "/metrics"
|
||||
prometheus.io/port: "8080"
|
||||
spec:
|
||||
{{- if .Values.controller.securityContext.enabled }}
|
||||
securityContext: {{- omit .Values.controller.securityContext "enabled" | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: controller
|
||||
image: {{ include "fission-bundleImage" . | quote }}
|
||||
|
||||
Reference in New Issue
Block a user