Move ovn4nvf crd from v1beta1 to v1 (#8006)

pull/8024/head
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
1 changed files with 249 additions and 250 deletions

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