mirror of
https://github.com/containers/podman.git
synced 2025-06-22 01:48:54 +08:00
Update comment related to seccomp profiles in play kube
Signed-off-by: Aditya Kamath <theunrealgeek@gmail.com>
This commit is contained in:
@ -446,7 +446,7 @@ func kubeContainerToCreateConfig(ctx context.Context, containerYAML v1.Container
|
|||||||
setupSecurityContext(&securityConfig, &userConfig, containerYAML)
|
setupSecurityContext(&securityConfig, &userConfig, containerYAML)
|
||||||
|
|
||||||
// Since we prefix the container name with pod name to work-around the uniqueness requirement,
|
// 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
|
// but apply to the containers with the prefixed name
|
||||||
securityConfig.SeccompProfilePath = seccompPaths.findForContainer(containerYAML.Name)
|
securityConfig.SeccompProfilePath = seccompPaths.findForContainer(containerYAML.Name)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user