create_scc
Create a custom SecurityContextConstraint resource to define security policies for pods, including runAsUser, fsGroup, privilege escalation, and host access settings.
Instructions
Create a custom SecurityContextConstraint CR. run_as_any: if True, sets RunAsAny for runAsUser and fsGroup. allow_privilege_escalation: if True, allows processes to gain more privileges than their parent (required for setuid binaries).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| cluster | No | ||
| host_pid | No | ||
| privileged | No | ||
| run_as_any | No | ||
| host_network | No | ||
| allow_privilege_escalation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |