Skip to content

Commit

Permalink
update PSS for dex
Browse files Browse the repository at this point in the history
Signed-off-by: biswassri <[email protected]>
  • Loading branch information
biswassri committed Dec 20, 2024
1 parent c4c1717 commit ee89722
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,6 @@ spec:
ports:
- name: http
containerPort: 5556
securityContext:
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
runAsNonRoot: true
capabilities:
drop:
- ALL
volumeMounts:
- mountPath: /data
name: config
volumes:
- name: config
configMap:
Expand Down
8 changes: 8 additions & 0 deletions common/dex/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ spec:
ports:
- name: http
containerPort: 5556
securityContext:
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
runAsNonRoot: true
capabilities:
drop:
- ALL
volumeMounts:
- name: config
mountPath: /etc/dex/cfg
Expand Down

0 comments on commit ee89722

Please sign in to comment.