Skip to content

Commit

Permalink
runAsUser 1001 for dev env (#4203)
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell authored Dec 5, 2023
1 parent d505141 commit 4db82ed
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions kustomize/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
securityContext:
runAsUser: 1001
fsGroup: 1001
5 changes: 4 additions & 1 deletion migrations/kustomize/overlays/dev/rqlite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ spec:
valueFrom:
secretKeyRef:
name: kotsadm-rqlite
key: password
key: password
securityContext:
runAsUser: 1001
fsGroup: 1001
volumes:
- name: authconfig
secret:
Expand Down
5 changes: 4 additions & 1 deletion migrations/kustomize/overlays/okteto/rqlite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ spec:
valueFrom:
secretKeyRef:
name: kotsadm-rqlite
key: password
key: password
securityContext:
runAsUser: 1001
fsGroup: 1001
volumes:
- name: authconfig
secret:
Expand Down

0 comments on commit 4db82ed

Please sign in to comment.