fix(kafka): add fsGroup to pod securityContext for PVC write permissions
Kraft mode fails with AccessDeniedException on meta.properties because PVC mounts with root ownership. Adding fsGroup: 1000 ensures the volume group matches the Kafka container user.
This commit is contained in:
parent
0f5488f8e3
commit
308d54cc0b
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ spec:
|
||||||
pod:
|
pod:
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
fsGroup: 1000
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
entityOperator:
|
entityOperator:
|
||||||
topicOperator: {}
|
topicOperator: {}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue