Update operatorhub config object to v1
-apiVersion: apiextensions.k8s.io/v1beta1
+apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: operatorhubs.config.openshift.io
@@ -14,19 +14,17 @@ spec:
plural: operatorhubs
singular: operatorhub
scope: Cluster
- preserveUnknownFields: false
- subresources:
- status: {}
- version: v1
versions:
- name: v1
+ subresources:
+ status: {}
served: true
storage: true
- "validation":
+ "schema":
"openAPIV3Schema":
- description: OperatorHub is the Schema for the operatorhubs API. It can be used
- to change the state of the default hub sources for OperatorHub on the cluster
- from enabled to disabled and vice versa.
+ description: OperatorHub is the Schema for the operatorhubs API. It can be
+ used to change the state of the default hub sources for OperatorHub on the
+ cluster from enabled to disabled and vice versa.
type: object
properties:
apiVersion:
@@ -52,15 +50,17 @@ spec:
entry in sources can be used to disable or enable a default source.
type: boolean
sources:
- description: sources is the list of default hub sources and their configuration.
- If the list is empty, it implies that the default hub sources are
- enabled on the cluster unless disableAllDefaultSources is true. If
- disableAllDefaultSources is true and sources is not empty, the configuration
- present in sources will take precedence. The list of default hub sources
- and their current state will always be reflected in the status block.
+ description: sources is the list of default hub sources and their
+ configuration. If the list is empty, it implies that the default
+ hub sources are enabled on the cluster unless disableAllDefaultSources
+ is true. If disableAllDefaultSources is true and sources is not
+ empty, the configuration present in sources will take precedence.
+ The list of default hub sources and their current state will always
+ be reflected in the status block.
type: array
items:
- description: HubSource is used to specify the hub source and its configuration
+ description: HubSource is used to specify the hub source and its
+ configuration
type: object
properties:
disabled:
@@ -100,6 +100,6 @@ spec:
maxLength: 253
minLength: 1
status:
- description: status indicates success or failure in applying the
- configuration
+ description: status indicates success or failure in applying
+ the configuration
type: string
