Skip to content

Commit

Permalink
further logging test namespace enforce updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sj-williams committed Nov 7, 2023
1 parent 9f9c0dc commit 3b12aab
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/certmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var _ = Describe("cert-manager", FlakeAttempts(2), func() {
nsObject := metav1.ObjectMeta{
Name: namespace,
Labels: map[string]string{
"pod-security.kubernetes.io/audit": "restricted",
"pod-security.kubernetes.io/enforce": "restricted",
},
}

Expand Down
2 changes: 1 addition & 1 deletion test/external_dns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var _ = Describe("external-dns", func() {
nsObject := metav1.ObjectMeta{
Name: namespaceName,
Labels: map[string]string{
"pod-security.kubernetes.io/audit": "restricted",
"pod-security.kubernetes.io/enforce": "restricted",
},
}

Expand Down
2 changes: 1 addition & 1 deletion test/ingress_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var _ = Describe("ingress-controllers", func() {
nsObject := metav1.ObjectMeta{
Name: namespaceName,
Labels: map[string]string{
"pod-security.kubernetes.io/audit": "restricted",
"pod-security.kubernetes.io/enforce": "restricted",
},
}

Expand Down
2 changes: 1 addition & 1 deletion test/logging_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var _ = Describe("logging", func() {
nsObject := metav1.ObjectMeta{
Name: namespace,
Labels: map[string]string{
"pod-security.kubernetes.io/audit": "restricted",
"pod-security.kubernetes.io/enforce": "restricted",
},
}

Expand Down
2 changes: 1 addition & 1 deletion test/modsec_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var _ = Describe("modsec-ingress-controller", func() {
nsObject := metav1.ObjectMeta{
Name: namespaceName,
Labels: map[string]string{
"pod-security.kubernetes.io/audit": "restricted",
"pod-security.kubernetes.io/enforce": "restricted",
},
}

Expand Down

0 comments on commit 3b12aab

Please sign in to comment.