diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 0c67a19..9405489 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -83,6 +83,11 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} + {{- with .Values.securityContext }} + securityContext: + {{- toYaml . | nindent 8 }} + {{- end }} + imagePullSecrets: {{- range $image, $imageValue := .Values.images }} {{- if $imageValue.regcred }} diff --git a/helm/values.yaml b/helm/values.yaml index 2e22a09..5ca041f 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -85,6 +85,9 @@ resources: {} # cpu: 100m # memory: 128Mi +securityContext: + fsGroup: 101 + nodeSelector: {} tolerations: []