Skip to content

Commit

Permalink
Run as fsGroup: 65535 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
hossainemruz authored and tamalsaha committed Aug 27, 2019
1 parent 366a4f5 commit 478817b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chart/stash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ spec:
secret:
defaultMode: 420
secretName: {{ template "stash.fullname" . }}-apiserver-cert
securityContext:
fsGroup: 65535
{{- if or .Values.tolerations (and .Values.criticalAddon (eq .Release.Namespace "kube-system")) }}
tolerations:
{{- if .Values.tolerations }}
Expand Down
2 changes: 2 additions & 0 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ spec:
secret:
defaultMode: 420
secretName: stash-apiserver-cert
securityContext:
fsGroup: 65535
tolerations:
- key: CriticalAddonsOnly
operator: Exists
Expand Down

0 comments on commit 478817b

Please sign in to comment.