Move ovn4nvf crd from v1beta1 to v1 (#8006)

This commit is contained in:
Florian Ruynat 2021-09-27 10:18:22 +02:00 committed by GitHub
parent ac846667b7
commit ecd267854b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
--- ---
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
name: networks.k8s.plugin.opnfv.org name: networks.k8s.plugin.opnfv.org
@ -13,10 +13,15 @@ spec:
plural: networks plural: networks
singular: network singular: network
scope: Namespaced scope: Namespaced
versions:
- name: v1alpha1
served: true
storage: true
subresources: subresources:
status: {} status: {}
validation: schema:
openAPIV3Schema: openAPIV3Schema:
type: object
properties: properties:
apiVersion: apiVersion:
description: 'APIVersion defines the versioned schema of this representation description: 'APIVersion defines the versioned schema of this representation
@ -113,15 +118,10 @@ spec:
required: required:
- state - state
type: object type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
--- ---
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
name: providernetworks.k8s.plugin.opnfv.org name: providernetworks.k8s.plugin.opnfv.org
@ -133,11 +133,16 @@ spec:
plural: providernetworks plural: providernetworks
singular: providernetwork singular: providernetwork
scope: Namespaced scope: Namespaced
versions:
- name: v1alpha1
served: true
storage: true
subresources: subresources:
status: {} status: {}
validation: schema:
openAPIV3Schema: openAPIV3Schema:
description: ProviderNetwork is the Schema for the providernetworks API description: ProviderNetwork is the Schema for the providernetworks API
type: object
properties: properties:
apiVersion: apiVersion:
description: 'APIVersion defines the versioned schema of this representation description: 'APIVersion defines the versioned schema of this representation
@ -272,12 +277,6 @@ spec:
required: required:
- state - state
type: object type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
--- ---
apiVersion: v1 apiVersion: v1