Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#4104 from chrischdi/prepare-securi…
Browse files Browse the repository at this point in the history
…tycontext-for-restricted-psa

add explicit securityContexts to the controller
  • Loading branch information
k8s-ci-robot authored Apr 6, 2023
2 parents c1fd030 + 58a63b6 commit d96f41b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ spec:
httpGet:
path: /healthz
port: healthz
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsUser: 65532
runAsGroup: 65532
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
terminationGracePeriodSeconds: 10
tolerations:
- effect: NoSchedule
Expand Down

0 comments on commit d96f41b

Please sign in to comment.