-
Notifications
You must be signed in to change notification settings - Fork 1
Dev Tips
Scott Trent edited this page Jul 9, 2024
·
1 revision
Error messages and even denied pod deployment can be avoided by changing namespace security settings: For example, running the following commands will enable deployment to a newly created namespace called "testing":
oc label namespace testing pod-security.kubernetes.io/audit=baseline --overwrite
oc label namespace testing pod-security.kubernetes.io/enforce=baseline --overwrite
oc label namespace testing pod-security.kubernetes.io/warn=baseline --overwrite