⬆️ Update CRD content to deprecate v1beta1 manifests

This commit is contained in:
Jerome Petazzoni
2021-07-21 15:50:27 +02:00
parent 92cdb4146b
commit d14f86e683
3 changed files with 63 additions and 9 deletions

View File

@@ -1,3 +1,6 @@
# Note: apiextensions.k8s.io/v1beta1 is deprecated, and won't be served
# in Kubernetes 1.22 and later versions. This YAML manifest is here just
# for reference, but it's not intended to be used in modern trainings.
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:

View File

@@ -8,6 +8,9 @@ spec:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
scope: Namespaced
names:
plural: coffees