mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-08 18:05:41 +00:00
Update comment related to seccomp profiles in play kube
Signed-off-by: Aditya Kamath <theunrealgeek@gmail.com>
This commit is contained in:
parent
10ebb74d6f
commit
a338cd4e8a
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ func kubeContainerToCreateConfig(ctx context.Context, containerYAML v1.Container
|
|||
setupSecurityContext(&securityConfig, &userConfig, containerYAML)
|
||||
|
||||
// Since we prefix the container name with pod name to work-around the uniqueness requirement,
|
||||
// seccom stuff should reference the actual container name from the YAML
|
||||
// the seccom profile should reference the actual container name from the YAML
|
||||
// but apply to the containers with the prefixed name
|
||||
securityConfig.SeccompProfilePath = seccompPaths.findForContainer(containerYAML.Name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue