-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.15.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
No
-
None
-
Rejected
-
OPECO 248
-
1
-
None
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
Description of problem:
The catalog is created when the soure is not supported. And the error log catalogd-controller-manager
Version-Release number of selected component (if applicable):
4.15.0-0.nightly-2023-11-20-045323
How reproducible:
always
Steps to Reproduce:
1.patch the olmv1
$oc patch featuregate cluster -p '{"spec": {"featureSet": "TechPreviewNoUpgrade"}}' --type=merge
2.create one catalog with the wrong source type
#######
apiVersion: catalogd.operatorframework.io/v1alpha1
kind: Catalog
metadata:
name: redhat-operators-wrongtype
spec:
source:
image:
ref: registry.redhat.io/redhat/redhat-operator-index:v4.13
type: ''
#######
$oc create -f catalog-redhat-wrongtype.yaml
catalog.catalogd.operatorframework.io/redhat-operators-wrongtype created
Actual results:
1. the catalog is created at first,but it failed and the error log is shown in the catalog manager. $oc create -f catalog-redhat-wrongtype.yaml catalog.catalogd.operatorframework.io/redhat-operators-wrongtype created
Expected results:
2. should check the source type at first and reject the create work if the source type is invalid.
Additional info:
- links to
-
RHSA-2023:7198
OpenShift Container Platform 4.15 security update