Skip to content

Commit

Permalink
Set namespace PSS to privileged
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed May 31, 2022
1 parent 63224ca commit 6b0ec5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/burner/namespaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
)

func createNamespace(clientset *kubernetes.Clientset, namespaceName string, nsLabels map[string]string) error {
nsLabels["pod-security.kubernetes.io/warn"] = "privileged"
ns := v1.Namespace{
ObjectMeta: metav1.ObjectMeta{Name: namespaceName, Labels: nsLabels},
}
Expand Down

0 comments on commit 6b0ec5b

Please sign in to comment.