Skip to content

Commit

Permalink
PSS migration (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuladhar authored Oct 2, 2023
1 parent 300e184 commit ea791d9
Show file tree
Hide file tree
Showing 4 changed files with 23 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]

## Changed

- Propagate `global.podSecurityStandards.enforced` value set to `false` for PSS migration

## [1.11.0] - 2023-08-02

### Added
Expand Down
2 changes: 2 additions & 0 deletions helm/athena/templates/psp.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if not .Values.global.podSecurityStandards.enforced }}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
Expand Down Expand Up @@ -28,3 +29,4 @@ spec:
volumes:
- configMap
- secret
{{- end }}
13 changes: 13 additions & 0 deletions helm/athena/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
"clusterID": {
"type": "string"
},
"global": {
"type": "object",
"properties": {
"podSecurityStandards": {
"type": "object",
"properties": {
"enforced": {
"type": "boolean"
}
}
}
}
},
"groupID": {
"type": "integer"
},
Expand Down
4 changes: 4 additions & 0 deletions helm/athena/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ podSecurityContext:
securityContext:
seccompProfile:
type: RuntimeDefault

global:
podSecurityStandards:
enforced: false

0 comments on commit ea791d9

Please sign in to comment.