Skip to content

Commit 71fc1ef

Browse files
committed
fixing securityContext replace issue
1 parent b3b164d commit 71fc1ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ spec:
6060
chmod -vR 777 /factorio/configs
6161
ls -alth /factorio
6262
{{- with .Values.podSecurityContext }}
63-
podSecurityContext:
63+
securityContext:
6464
{{- toYaml . | nindent 12 }}
6565
{{- end }}
6666
volumeMounts:
@@ -91,7 +91,7 @@ spec:
9191
mkdir -p /factorio/mods
9292
bash /scripts/mod-downloader.sh
9393
{{- with .Values.podSecurityContext }}
94-
podSecurityContext:
94+
securityContext:
9595
{{- toYaml . | nindent 12 }}
9696
{{- end }}
9797
volumeMounts:
@@ -114,7 +114,7 @@ spec:
114114
- |
115115
bash /scripts/save-importer.sh
116116
{{- with .Values.podSecurityContext }}
117-
podSecurityContext:
117+
securityContext:
118118
{{- toYaml . | nindent 12 }}
119119
{{- end }}
120120
volumeMounts:
@@ -128,7 +128,7 @@ spec:
128128
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
129129
imagePullPolicy: {{ .Values.image.pullPolicy }}
130130
{{- with .Values.podSecurityContext }}
131-
podSecurityContext:
131+
securityContext:
132132
{{- toYaml . | nindent 10 }}
133133
{{- end }}
134134
livenessProbe:
@@ -214,7 +214,7 @@ spec:
214214
image: "{{ .Values.port_fixer.image.repository }}:{{ .Values.port_fixer.image.tag }}"
215215
imagePullPolicy: {{ .Values.port_fixer.image.pullPolicy }}
216216
{{- with .Values.podSecurityContext }}
217-
podSecurityContext:
217+
securityContext:
218218
{{- toYaml . | nindent 10 }}
219219
{{- end }}
220220
command: ["/factorio-port-fixer"]

0 commit comments

Comments
 (0)