-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
managed services: centralize definition of namespaces
Some ephemeral pods in rosa namespaces like openshift-sre-pruning are triggering tests, just skip examining these namespaces alltogether. Example: https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-openshift-release-master-nightly-4.18-e2e-rosa-sts-ovn/1856870032659714048
- Loading branch information
Showing
3 changed files
with
40 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package util | ||
|
||
import "k8s.io/apimachinery/pkg/util/sets" | ||
|
||
// ManagedServiceNamespaces is the set of namespaces used by managed service platforms | ||
// like ROSA, ARO, etc. These are typically exempt from the requirements we impose on | ||
// core platform namespaces. | ||
var ManagedServiceNamespaces = sets.New[string]( | ||
"openshift-addon-operator", | ||
"openshift-backplane", | ||
"openshift-backplane-srep", | ||
"openshift-custom-domains-operator", | ||
"openshift-deployment-validation-operator", | ||
"openshift-managed-node-metadata-operator", | ||
"openshift-managed-upgrade-operator", | ||
"openshift-marketplace", | ||
"openshift-must-gather-operator", | ||
"openshift-observability-operator", | ||
"openshift-ocm-agent-operator", | ||
"openshift-osd-metrics", | ||
"openshift-package-operator", | ||
"openshift-rbac-permissions", | ||
"openshift-route-monitor-operator", | ||
"openshift-security", | ||
"openshift-splunk-forwarder-operator", | ||
"openshift-sre-pruning", | ||
"openshift-validation-webhook", | ||
) |