Hi!
I would like to start cassandra pod as well as all processes as cassandra user, not root. I've tried both combinations below in my dc1.yaml, no luck. StatefulSet has securityContext set as "{}".
1.
spec: template: spec: securityContext: runAsUser: 999
2.
spec: securityContext: runAsUser: 999
But if I patch StatefulSet, it works fine. How do I predefine the setting on a pod level?
Thanks,
Vladimir