Skip to content

Commit 36f8099

Browse files
committed
updating securitycontext location
1 parent 71fc1ef commit 36f8099

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

charts/factorio-server-charts/templates/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ metadata:
99
heritage: "{{ .Release.Service }}"
1010
spec:
1111
replicas: 1
12-
{{- with .Values.securityContext }}
13-
securityContext:
14-
{{- toYaml . | nindent 4 }}
15-
{{- end }}
1612
selector:
1713
matchLabels:
1814
app: {{ template "factorio-server-charts.fullname" . }}
@@ -23,6 +19,10 @@ spec:
2319
labels:
2420
app: {{ template "factorio-server-charts.fullname" . }}
2521
spec:
22+
{{- with .Values.securityContext }}
23+
securityContext:
24+
{{- toYaml . | nindent 8 }}
25+
{{- end }}
2626
dnsConfig:
2727
options:
2828
- name: ndots

0 commit comments

Comments
 (0)