Skip to content

Commit edd9ff1

Browse files
committed
Add channel to compliance-operator policy
If there are multiple catalogs that provide the compliance-operator, then the OperatorPolicy may give an error while determining the default channel for the operator. Providing the channel directly prevents this issue. Refs: - https://issues.redhat.com/browse/ACM-29933 Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>
1 parent 94d51d7 commit edd9ff1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/wizards/Governance/Policy/stable/CA-Security-Assessment-and-Authorization/policy-compliance-operator-install.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# If set to "enforce" it'll install the operator.
55
#
6-
# Note that OpenShift 4.6 is required.
6+
# Note that OpenShift 4.6+ is required.
77
apiVersion: policy.open-cluster-management.io/v1
88
kind: Policy
99
metadata:
@@ -51,6 +51,7 @@ spec:
5151
namespace: openshift-compliance
5252
source: redhat-operators
5353
sourceNamespace: openshift-marketplace
54+
channel: stable
5455
# Conditionally configure a nodeSelector for installing on ROSA hosted control planes
5556
config: '{{ if and (eq "ROSA" (lookup "cluster.open-cluster-management.io/v1alpha1"
5657
"ClusterClaim" "" "product.open-cluster-management.io").spec.value) (eq "true"

0 commit comments

Comments
 (0)