This repository has been archived by the owner on Nov 2, 2023. It is now read-only.
[BUG]UnitedDeployment/YurtAppSet/YurtAppDaemon cannot be enable pod privileged #128
Labels
kind/bug
kind/bug
What happened:
UnitedDeployment/YurtAppSet/YurtAppDaemon set pod privileged,will happend error:
The UnitedDeployment "ud-test" is invalid: spec.workloadTemplate.deploymentTemplate.spec.template.spec.containers[0].securityContext.privileged: Forbidden: disallowed by cluster policy
ud-test.yaml:
What you expected to happen:
UnitedDeployment/YurtAppSet/YurtAppDaemon will work to enable the privileged
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
): 1.21.9cat /etc/os-release
): centos 7.6uname -a
): 5.18.11-1.el7.elrepo.x86_64others
/kind bug
The text was updated successfully, but these errors were encountered: