diff --git a/charts/splunk-connect-for-snmp/templates/worker/flower/deployment.yaml b/charts/splunk-connect-for-snmp/templates/worker/flower/deployment.yaml index 70e197e5c..2e63a68eb 100644 --- a/charts/splunk-connect-for-snmp/templates/worker/flower/deployment.yaml +++ b/charts/splunk-connect-for-snmp/templates/worker/flower/deployment.yaml @@ -14,8 +14,20 @@ spec: labels: app: flower spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: flower + securityContext: + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + runAsNonRoot: true + runAsUser: 10001 + runAsGroup: 10001 image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} args: