Skip to content

Commit

Permalink
Set values to match pss-restricted by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpunk committed Oct 17, 2024
1 parent c1826ad commit af28455
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions charts/kafka-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,17 +170,19 @@ probes:
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
## @param podSecurityContext [object] The security settings that you specify for a Pod apply to all Containers in the Pod
podSecurityContext:
{}
# fsGroup: 2000
fsGroup: 2000
## @param securityContext [object] The security settings that you specify for a Kafka-UI container
securityContext:
{}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false # https://github.com/kafbat/kafka-ui/issues/78
runAsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
seccompProfile:
type: RuntimeDefault

## @section Traffic Exposure Parameters
## Kafka-UI service parameters
Expand Down

0 comments on commit af28455

Please sign in to comment.