Skip to content

Commit ddcf144

Browse files
authored
Adding securityContext to the deployment (#32)
1 parent 171be6b commit ddcf144

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/helm/reflector/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ spec:
5151
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
5252
resources:
5353
{{- toYaml .Values.resources | nindent 12 }}
54+
{{- with .Values.securityContext }}
55+
securityContext:
56+
{{- toYaml . | nindent 12 }}
57+
{{- end }}
5458
{{- if .Values.rbac.enabled }}
5559
serviceAccountName: {{ include "reflector.serviceAccountName" . }}
5660
{{- end }}

0 commit comments

Comments
 (0)