-
Bug
-
Resolution: Done
-
Critical
-
quay-v3.4.6
-
False
-
False
-
Quay Enterprise
-
undefined
-
Description of problem:
CRD 'imagemanifestvulns.secscan.quay.redhat.com' uses deprecated APIs
Version-Release number of selected component (if applicable):
quay-container-security-operator-bundle-container-v3.6.0-10
- Index image v4.5: registry-proxy.engineering.redhat.com/rh-osbs/iib:99037
- Index image v4.6: registry-proxy.engineering.redhat.com/rh-osbs/iib:99041
- Index image v4.7: registry-proxy.engineering.redhat.com/rh-osbs/iib:99047
- Index image v4.8: registry-proxy.engineering.redhat.com/rh-osbs/iib:99053
quay-container-security-operator-container-v3.6.0-15
- registry-proxy.engineering.redhat.com/rh-osbs/quay-quay-container-security-operator-rhel8@sha256:1dbf7d700d31d1cbf49f833a71549e8f211539aad63771449432488ea92b1b44
How reproducible:
always
Steps to Reproduce:
1. Install CSO operator via olm
2. Check imagemanifestvulns.secscan.quay.redhat.com CRD
Actual results:
imagemanifestvulns.secscan.quay.redhat.com uses deprecated API: apiextensions.k8s.io/v1beta1
Expected results:
should use apiextensions.k8s.io/v1
Additional info:
$ oc get crd imagemanifestvulns.secscan.quay.redhat.com -o yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: operatorframework.io/installed-alongside-d3f3d8ef1b2449f2: openshift-operators/container-security-operator.v3.6.0 creationTimestamp: "2021-08-18T06:14:02Z" generation: 1 labels: operators.coreos.com/container-security-operator.openshift-operators: "" managedFields: - apiVersion: apiextensions.k8s.io/v1beta1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:operatorframework.io/installed-alongside-d3f3d8ef1b2449f2: {} f:spec: f:conversion: .: {} f:strategy: {} f:group: {} f:names: f:kind: {} f:listKind: {} f:plural: {} f:shortNames: {} f:singular: {} f:preserveUnknownFields: {} f:scope: {} f:subresources: .: {} f:status: {} f:validation: .: {} f:openAPIV3Schema: .: {} f:properties: .: {} f:spec: .: {} f:properties: .: {} f:features: .: {} f:items: {} f:type: {} f:image: .: {} f:minLength: {} f:type: {} f:manifest: .: {} f:minLength: {} f:type: {} f:namespaceName: .: {} f:minLength: {} f:type: {} f:type: {} f:status: .: {} f:properties: .: {} f:affectedPods: .: {} f:additionalProperties: {} f:type: {} f:criticalCount: .: {} f:minimum: {} f:type: {} f:defcon1Count: .: {} f:minimum: {} f:type: {} f:fixableCount: .: {} f:minimum: {} f:type: {} f:highCount: .: {} f:minimum: {} f:type: {} f:highestSeverity: .: {} f:minLength: {} f:type: {} f:lastUpdate: .: {} f:minLength: {} f:type: {} f:lowCount: .: {} f:minimum: {} f:type: {} f:mediumCount: .: {} f:minimum: {} f:type: {} f:negligibleCount: .: {} f:minimum: {} f:type: {} f:unknownCount: .: {} f:minimum: {} f:type: {} f:type: {} f:required: {} f:type: {} f:version: {} f:versions: {} manager: catalog operation: Update time: "2021-08-18T06:14:02Z" - apiVersion: apiextensions.k8s.io/v1 fieldsType: FieldsV1 fieldsV1: f:status: f:acceptedNames: f:kind: {} f:listKind: {} f:plural: {} f:shortNames: {} f:singular: {} f:conditions: k:{"type":"Established"}: .: {} f:lastTransitionTime: {} f:message: {} f:reason: {} f:status: {} f:type: {} k:{"type":"NamesAccepted"}: .: {} f:lastTransitionTime: {} f:message: {} f:reason: {} f:status: {} f:type: {} manager: kube-apiserver operation: Update time: "2021-08-18T06:14:02Z" - apiVersion: apiextensions.k8s.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: .: {} f:operators.coreos.com/container-security-operator.openshift-operators: {} manager: olm operation: Update time: "2021-08-18T06:14:03Z" name: imagemanifestvulns.secscan.quay.redhat.com resourceVersion: "96534" uid: d7bb3ecf-00c3-4919-9eb9-a9b888a2e4f8 spec: conversion: strategy: None group: secscan.quay.redhat.com names: kind: ImageManifestVuln listKind: ImageManifestVulnList plural: imagemanifestvulns shortNames: - vuln singular: imagemanifestvuln scope: Namespaced versions: - name: v1alpha1 schema: openAPIV3Schema: properties: spec: properties: features: items: properties: name: minLength: 1 type: string namespaceName: minLength: 1 type: string version: minLength: 1 type: string versionformat: minLength: 1 type: string vulnerabilities: items: properties: description: minLength: 1 type: string fixedby: minLength: 1 type: string link: minLength: 1 type: string metadata: minLength: 1 type: string name: minLength: 1 type: string namespaceName: minLength: 1 type: string severity: minLength: 1 type: string type: object type: array type: object type: array image: minLength: 1 type: string manifest: minLength: 1 type: string namespaceName: minLength: 1 type: string type: object status: properties: affectedPods: additionalProperties: items: type: string type: array type: object criticalCount: minimum: 0 type: integer defcon1Count: minimum: 0 type: integer fixableCount: minimum: 0 type: integer highCount: minimum: 0 type: integer highestSeverity: minLength: 1 type: string lastUpdate: minLength: 1 type: string lowCount: minimum: 0 type: integer mediumCount: minimum: 0 type: integer negligibleCount: minimum: 0 type: integer unknownCount: minimum: 0 type: integer type: object required: - spec type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: ImageManifestVuln listKind: ImageManifestVulnList plural: imagemanifestvulns shortNames: - vuln singular: imagemanifestvuln conditions: - lastTransitionTime: "2021-08-18T06:14:02Z" message: no conflicts found reason: NoConflicts status: "True" type: NamesAccepted - lastTransitionTime: "2021-08-18T06:14:02Z" message: the initial names have been accepted reason: InitialNamesAccepted status: "True" type: Established storedVersions: - v1alpha1
- clones
-
PROJQUAY-2420 CRD 'imagemanifestvulns.secscan.quay.redhat.com' uses deprecated APIs
- Closed
- is related to
-
PROJQUAY-2479 update downstream operator extensions api to "v1" for 3.4
- Closed