-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
Currently, a policy like this will result in a subscription being created, but no InstallPlans being approved:
apiVersion: policy.open-cluster-management.io/v1beta1 kind: OperatorPolicy metadata: name: quay-operator namespace: local-cluster spec: complianceType: musthave remediationAction: enforce severity: high subscription: channel: stable-3.10 installPlanApproval: Automatic name: quay-operator namespace: openshift-operators source: redhat-operators sourceNamespace: openshift-marketplace startingCSV: quay-operator.v3.10.0 versions: - quay-operator.v5.nonexist
It is clear that the intention of the user was to initially install `quay-operator.v3.10.0`, but since that version was not explicitly included in the `versions` list, it did not approve the initial InstallPlan.