Skip to content

Commit

Permalink
set scc privileged to false for webhook and secretshare (#1773)
Browse files Browse the repository at this point in the history
* set scc privileged to false for webhook and secretshare

Signed-off-by: Henry H Li <[email protected]>

* removed keycloak themes

Signed-off-by: Henry H Li <[email protected]>

---------

Signed-off-by: Henry H Li <[email protected]>
  • Loading branch information
bitscuit authored Jan 25, 2024
1 parent d997a5f commit d1ecd2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions controllers/constant/secretshare.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,5 +321,6 @@ spec:
memory: 200Mi
securityContext:
runAsNonRoot: true
privileged: false
terminationGracePeriodSeconds: 10
`
1 change: 1 addition & 0 deletions controllers/constant/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,7 @@ spec:
memory: 256Mi
securityContext:
runAsNonRoot: true
privileged: false
volumeMounts:
- name: webhook-certs
mountPath: "/etc/ssl/certs/webhook"
Expand Down

0 comments on commit d1ecd2d

Please sign in to comment.