Kubernetes, security context, fsGroup field and default user's group ID running the container
Unfortunately, setting the primary group ID is currently not supported in Kubernetes, and will default to gid=0
.
There is an open issue for implementing this: https://github.com/kubernetes/features/issues/213