Skip to content

Commit

Permalink
chore: Implemented restricted Pod Security Standard (#593)
Browse files Browse the repository at this point in the history
- Updated controller deployment to install when Pod Security Admission is configured with restricted Pod Security Standard

Signed-off-by: Rashed Kamal <[email protected]>
  • Loading branch information
rashedkvm committed Oct 23, 2023
1 parent 7a3a919 commit ec445b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ spec:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
capabilities:
drop:
- all
- ALL
volumes:
- name: cache-volume
emptyDir: {}
Expand Down
4 changes: 3 additions & 1 deletion dist/cartographer-conventions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7024,9 +7024,11 @@ spec:
allowPrivilegeEscalation: false
capabilities:
drop:
- all
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
Expand Down

0 comments on commit ec445b9

Please sign in to comment.