Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions console/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ spec:
{{- if .Values.image.pullSecrets }}
{{- toYaml .Values.image.pullSecrets | nindent 6 }}
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: polaris-console
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
Expand Down
7 changes: 7 additions & 0 deletions console/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ resources:
cpu: 250m
memory: 256Mi

podSecurityContext: {}
# fsGroup: 2000

securityContext:
runAsUser: 10000
runAsGroup: 10001

ingress:
enabled: false
className: ""
Expand Down
Loading