spec.securityContext.supplementalGroups
Revision as of 18:38, 27 October 2024 by Welcome (talk | contribs) (Welcome moved page SupplementalGroups to Spec.securityContext.supplementalGroups)
apiVersion: v1 kind: Pod metadata: name: security-context-demo spec: securityContext: runAsUser: 1000 runAsGroup: 3000 supplementalGroups: [4000] containers: - name: sec-ctx-demo image: registry.k8s.io/e2e-test-images/agnhost:2.45 command: [ "sh", "-c", "sleep 1h" ] securityContext: allowPrivilegeEscalation: false
containerSecurityContext, spec.securityContext, spec.securityContext.runAsUser, spec.securityContext.fsGroup
Advertising: