Skip to content

Commit

Permalink
fix: `Error from server (BadRequest): error when creating "STDIN": De…
Browse files Browse the repository at this point in the history
…ployment in version "v1" cannot be handled as a Deployment: strict decoding error: unknown field "spec.template.spec.containers[0].securityContext.capabilities.readOnlyRootFilesystem", unknown field "spec.template.spec.containers[0].securityContext.capabilities.runAsNonRoot", unknown field "spec.template.spec.securityContext.capabilities"`
  • Loading branch information
keskad committed Apr 3, 2024
1 parent 36c2f5a commit 16e60fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions charts/pipelines-feedback-common/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@ controller:
podSecurityContext:
capabilities:
drop: [ "ALL" ]
readOnlyRootFilesystem: true
runAsNonRoot: true
securityContext:
capabilities:
drop: [ "ALL" ]
readOnlyRootFilesystem: true
runAsNonRoot: true
resources:
limits:
cpu: "1"
Expand Down

0 comments on commit 16e60fb

Please sign in to comment.