Skip to content

Commit

Permalink
Fix CRD installation job's settings so it can get admitted by Kyverno…
Browse files Browse the repository at this point in the history
… policies (#227)
  • Loading branch information
AndiDog authored Apr 2, 2024
1 parent 5f5e28c commit 13acef7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fix CRD installation job's settings so it can get admitted by Kyverno policies

## [2.15.1] - 2024-04-02

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
spec:
serviceAccountName: {{ include "capa.crdInstall" . }}
securityContext:
readOnlyRootFilesystem: true
runAsUser: 65534
runAsGroup: 65534
seccompProfile:
Expand Down Expand Up @@ -57,7 +58,14 @@ spec:
cpu: 500m
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsUser: 65534
runAsGroup: 65534
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
volumes:
Expand Down

0 comments on commit 13acef7

Please sign in to comment.