-
Notifications
You must be signed in to change notification settings - Fork 11
/
types.go
30 lines (28 loc) · 1.26 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package pkg
const (
PrivilegedClusterRole = "opct-scc-privileged"
PrivilegedClusterRoleBinding = "opct-scc-privileged"
CertificationNamespace = "openshift-provider-certification"
VersionInfoConfigMapName = "openshift-provider-certification-version"
PluginsVarsConfigMapName = "plugins-config"
DedicatedNodeRoleLabel = "node-role.kubernetes.io/tests"
DedicatedNodeRoleLabelSelector = "node-role.kubernetes.io/tests="
SonobuoyServiceAccountName = "sonobuoy-serviceaccount"
SonobuoyLabelNamespaceName = "namespace"
SonobuoyLabelComponentName = "component"
SonobuoyLabelComponentValue = "sonobuoy"
DefaultToolsRepository = "quay.io/ocp-cert"
PluginsImage = "openshift-tests-provider-cert:v0.4.1"
)
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",
}
)