Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecurityProfile ¶
type SecurityProfile struct { Name string `json:"name"` HostNamespace bool `json:"hostNamespace"` Privileged bool `json:"privileged"` Capabilities bool `json:"capabilities"` AdditionalCapabilities []string `json:"additionalCapabilities"` HostPathVolumes bool `json:"hostPathVolumes"` AllowedHostPaths []validators.AllowedHostPath `json:"allowedHostPaths"` NonCoreVolumeTypes bool `json:"nonCoreVolumeTypes"` HostPorts bool `json:"hostPorts"` AllowedHostPorts []validators.PortRange `json:"allowedHostPorts"` AppArmor bool `json:"appArmor"` SELinux bool `json:"seLinux"` ProcMount bool `json:"procMount"` Sysctls bool `json:"sysctls"` AllowPrivilegeEscalation bool `json:"allowPrivilegeEscalation"` RunAsRoot bool `json:"runAsRoot"` ForceRunAsNonRoot bool `json:"forceRunAsNonRoot"` RootGroups bool `json:"rootGroups"` Seccomp bool `json:"seccomp"` }
SecurityProfile is a config for pod-security-admission
Click to show internal directories.
Click to hide internal directories.