File tree 2 files changed +0
-22
lines changed 2 files changed +0
-22
lines changed Original file line number Diff line number Diff line change 26
26
labels :
27
27
{{- include "coder.labels" . | nindent 8 }}
28
28
spec :
29
- securityContext : {{ toYaml .Values.coder.podSecurityContext | nindent 8 }}
30
29
serviceAccountName : {{ .Values.coder.serviceAccount.name | quote }}
31
30
restartPolicy : Always
32
31
{{- with .Values.coder.image.pullSecrets }}
49
48
{{- with .Values.coder.initContainers }}
50
49
initContainers :
51
50
{{ toYaml . | nindent 8 }}
52
- securityContext : {{ toYaml .Values.coder.securityContext | nindent 12 }}
53
51
{{- end }}
54
52
containers :
55
53
- name : coder
Original file line number Diff line number Diff line change @@ -50,26 +50,6 @@ coder:
50
50
# coder.serviceAccount.name -- The service account name
51
51
name : coder
52
52
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
-
73
53
# coder.securityContext -- Fields related to the container's security
74
54
# context (as opposed to the pod). Some fields are also present in the pod
75
55
# security context, in which case these values will take precedence.
You can’t perform that action at this time.
0 commit comments