Description of problem:
When copied CSVs are disabled, OLM captures this information in an event in the Operator’s namespace. This event should be a INFO event instead of a Warning, as it is a configuration changed deliberately by the customer.
Version-Release number of selected component (if applicable):
How reproducible:
Enable disableCopiedCSVs
$ oc apply -f - <<EOF
apiVersion: operators.coreos.com/v1
kind: OLMConfig
metadata:
name: cluster
spec:
features:
disableCopiedCSVs: true
EOF
Actual results:
Warning event: LAST SEEN TYPE REASON OBJECT MESSAGE 85s Warning DisabledCopiedCSVs clusterserviceversion/my-csv.v1.0.0 CSV copying disabled for operators/my-csv.v1.0.0
Expected results:
Info event: LAST SEEN TYPE REASON OBJECT MESSAGE 85s Info DisabledCopiedCSVs clusterserviceversion/my-csv.v1.0.0 CSV copying disabled for operators/my-csv.v1.0.0