Skip to content

Commit

Permalink
Add subscription file for ROSA installs
Browse files Browse the repository at this point in the history
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:

  ComplianceAsCode/ocp4e2e#41
  • Loading branch information
rhmdnd committed May 17, 2024
1 parent 23d56eb commit 7e9e212
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ocp-resources/compliance-operator-rosa-subscription.yaml
Original file line number Diff line number Diff line change
@@ -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: ""

0 comments on commit 7e9e212

Please sign in to comment.