From 7e9e2120b9b6614c8a6edecc6cbeaebad447d5e1 Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Thu, 16 May 2024 22:20:15 -0500 Subject: [PATCH] Add subscription file for ROSA installs Since ROSA clusters only have worker nodes, we need to modify the subscription to allow the operator to schedule on worker nodes. Without this, ROSA installations will spin waiting for master nodes to schedule on. This will get wired up to CI through the ocp4e2e test suite in a separate PR: https://github.com/ComplianceAsCode/ocp4e2e/pull/41 --- .../compliance-operator-rosa-subscription.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ocp-resources/compliance-operator-rosa-subscription.yaml diff --git a/ocp-resources/compliance-operator-rosa-subscription.yaml b/ocp-resources/compliance-operator-rosa-subscription.yaml new file mode 100644 index 00000000000..7bff6ad2cbe --- /dev/null +++ b/ocp-resources/compliance-operator-rosa-subscription.yaml @@ -0,0 +1,13 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + name: compliance-operator-sub + namespace: openshift-compliance +spec: + channel: alpha + name: compliance-operator + source: compliance-operator + sourceNamespace: openshift-marketplace + config: + nodeSelector: + node-role.kubernetes.io/worker: ""