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