-
Bug
-
Resolution: Done
-
Critical
-
quay-v3.4.6
-
False
-
False
-
Quay Enterprise
-
undefined
-
Description of problem:
CRD 'quayintegrations.redhatcop.redhat.io' uses deprecated APIs
Version-Release number of selected component (if applicable):
quay-bridge-operator-bundle-container-v3.6.0-10
- Index image v4.5: registry-proxy.engineering.redhat.com/rh-osbs/iib:99036
- Index image v4.6: registry-proxy.engineering.redhat.com/rh-osbs/iib:99040
- Index image v4.7: FAILED
- Index image v4.8: registry-proxy.engineering.redhat.com/rh-osbs/iib:99048
quay-bridge-operator-container-v3.6.0-10
- registry-proxy.engineering.redhat.com/rh-osbs/quay-quay-bridge-operator-rhel8@sha256:2315f6b87a72bc08acc995dd1a332e5f389678f3e8f043201ee9f19fdf0386e4
How reproducible:
always
Steps to Reproduce:
1. Install bridge operator via olm
2. Check quayintegrations.redhatcop.redhat.io CRD
Actual results:
quayintegrations.redhatcop.redhat.io uses deprecated API: apiextensions.k8s.io/v1beta1
Expected results:
should use apiextensions.k8s.io/v1
Additional info:
$ oc get crd quayintegrations.redhatcop.redhat.io -o yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
operatorframework.io/installed-alongside-ae52c8eb97d72688: openshift-operators/quay-bridge-operator.v3.6.0
creationTimestamp: "2021-08-18T07:28:21Z"
generation: 1
labels:
operators.coreos.com/quay-bridge-operator.openshift-operators: ""
managedFields:
- apiVersion: apiextensions.k8s.io/v1beta1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:operatorframework.io/installed-alongside-ae52c8eb97d72688: {}
f:spec:
f:conversion:
.: {}
f:strategy: {}
f:group: {}
f:names:
f:kind: {}
f:listKind: {}
f:plural: {}
f:singular: {}
f:preserveUnknownFields: {}
f:scope: {}
f:subresources:
.: {}
f:status: {}
f:validation:
.: {}
f:openAPIV3Schema:
.: {}
f:properties:
.: {}
f:apiVersion:
.: {}
f:description: {}
f:type: {}
f:kind:
.: {}
f:description: {}
f:type: {}
f:metadata:
.: {}
f:type: {}
f:spec:
.: {}
f:properties:
.: {}
f:blacklistNamespaces:
.: {}
f:items: {}
f:type: {}
f:clusterID:
.: {}
f:type: {}
f:credentialsSecretName:
.: {}
f:type: {}
f:insecureRegistry:
.: {}
f:type: {}
f:organizationPrefix:
.: {}
f:type: {}
f:quayHostname:
.: {}
f:type: {}
f:scheduledImageStreamImport:
.: {}
f:type: {}
f:whitelistNamespaces:
.: {}
f:items: {}
f:type: {}
f:required: {}
f:type: {}
f:status:
.: {}
f:properties:
.: {}
f:lastUpdate:
.: {}
f:type: {}
f:type: {}
f:type: {}
f:version: {}
f:versions: {}
manager: catalog
operation: Update
time: "2021-08-18T07:28:21Z"
- apiVersion: apiextensions.k8s.io/v1
fieldsType: FieldsV1
fieldsV1:
f:status:
f:acceptedNames:
f:kind: {}
f:listKind: {}
f:plural: {}
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: {}
k:{"type":"NonStructuralSchema"}:
.: {}
f:lastTransitionTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
manager: kube-apiserver
operation: Update
time: "2021-08-18T07:28:21Z"
- apiVersion: apiextensions.k8s.io/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:labels:
.: {}
f:operators.coreos.com/quay-bridge-operator.openshift-operators: {}
manager: olm
operation: Update
time: "2021-08-18T07:28:23Z"
name: quayintegrations.redhatcop.redhat.io
resourceVersion: "128569"
uid: f62ed400-ba16-41c6-aaf9-5f37aa1205be
spec:
conversion:
strategy: None
group: redhatcop.redhat.io
names:
kind: QuayIntegration
listKind: QuayIntegrationList
plural: quayintegrations
singular: quayintegration
preserveUnknownFields: true
scope: Cluster
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
blacklistNamespaces:
items:
type: string
type: array
clusterID:
type: string
credentialsSecretName:
type: string
insecureRegistry:
type: boolean
organizationPrefix:
type: string
quayHostname:
type: string
scheduledImageStreamImport:
type: boolean
whitelistNamespaces:
items:
type: string
type: array
required:
- clusterID
- credentialsSecretName
- quayHostname
type: object
status:
properties:
lastUpdate:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: QuayIntegration
listKind: QuayIntegrationList
plural: quayintegrations
singular: quayintegration
conditions:
- lastTransitionTime: "2021-08-18T07:28:21Z"
message: no conflicts found
reason: NoConflicts
status: "True"
type: NamesAccepted
- lastTransitionTime: "2021-08-18T07:28:21Z"
message: the initial names have been accepted
reason: InitialNamesAccepted
status: "True"
type: Established
- lastTransitionTime: "2021-08-18T07:28:21Z"
message: 'spec.preserveUnknownFields: Invalid value: true: must be false'
reason: Violations
status: "True"
type: NonStructuralSchema
storedVersions:
- v1alpha1
- clones
-
PROJQUAY-2418 CRD 'quayintegrations.redhatcop.redhat.io' uses deprecated APIs
-
- Closed
-