Skip to content

Commit a014ae9

Browse files
committed
rm: podSecurityContext
1 parent e6c0a80 commit a014ae9

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

helm/templates/coder.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ spec:
2626
labels:
2727
{{- include "coder.labels" . | nindent 8 }}
2828
spec:
29-
securityContext: {{ toYaml .Values.coder.podSecurityContext | nindent 8 }}
3029
serviceAccountName: {{ .Values.coder.serviceAccount.name | quote }}
3130
restartPolicy: Always
3231
{{- with .Values.coder.image.pullSecrets }}
@@ -49,7 +48,6 @@ spec:
4948
{{- with .Values.coder.initContainers }}
5049
initContainers:
5150
{{ toYaml . | nindent 8 }}
52-
securityContext: {{ toYaml .Values.coder.securityContext | nindent 12 }}
5351
{{- end }}
5452
containers:
5553
- name: coder

helm/values.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -50,26 +50,6 @@ coder:
5050
# coder.serviceAccount.name -- The service account name
5151
name: coder
5252

53-
# coder.podSecurityContext -- Fields related to the pod's security context
54-
# (as opposed to the container). Some fields are also present in the
55-
# container security context, which will take precedence over these values.
56-
podSecurityContext:
57-
# coder.podSecurityContext.runAsNonRoot -- Requires that containers in
58-
# the pod run as an unprivileged user. If setting runAsUser to 0 (root),
59-
# this will need to be set to false.
60-
runAsNonRoot: true
61-
# coder.podSecurityContext.runAsUser -- Sets the user id of the pod.
62-
# For security reasons, we recommend using a non-root user.
63-
runAsUser: 1000
64-
# coder.podSecurityContext.runAsGroup -- Sets the group id of the pod.
65-
# For security reasons, we recommend using a non-root group.
66-
runAsGroup: 1000
67-
# coder.podSecurityContext.seccompProfile -- Sets the seccomp profile
68-
# for the pod. If set, the container security context setting will take
69-
# precedence over this value.
70-
seccompProfile:
71-
type: RuntimeDefault
72-
7353
# coder.securityContext -- Fields related to the container's security
7454
# context (as opposed to the pod). Some fields are also present in the pod
7555
# security context, in which case these values will take precedence.

0 commit comments

Comments
 (0)