Skip to content

Commit

Permalink
fix/psa-labels: opct-11 apply privileged labels to NS (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtulio committed Jan 24, 2023
1 parent d6552ec commit 3fe6c15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@ var (
SonobuoyDefaultLabels = map[string]string{
SonobuoyLabelComponentName: SonobuoyLabelComponentValue,
SonobuoyLabelNamespaceName: CertificationNamespace,
// Enforcing privileged mode for PSA on Conformance/Sonobuoy environment.
// https://issues.redhat.com/browse/OPCT-11
// https://issues.redhat.com/browse/OPCT-31
"pod-security.kubernetes.io/enforce": "privileged",
"pod-security.kubernetes.io/audit": "privileged",
"pod-security.kubernetes.io/warn": "privileged",
}
)

0 comments on commit 3fe6c15

Please sign in to comment.