apiVersion: v1
kind: Pod
metadata:
  name: root-group5
  annotations:
    test.pod-security.cybozu.com/message: "denied the request: spec.initContainers[0].securityContext.runAsGroup: Forbidden: Running with the root GID is forbidden"
spec:
  securityContext:
    runAsNonRoot: true
  containers:
    - name: ubuntu
      image: quay.io/cybozu/ubuntu
  initContainers:
    - name: debug
      image: quay.io/cybozu/ubuntu-debug
      securityContext:
        runAsGroup: 0
