CRD: Move to apiextensions.k8s.io/v1

This commit is contained in:
Yanis Guenane
2021-02-10 21:12:24 +01:00
parent e5e996569c
commit fbae5cf590
4 changed files with 125 additions and 119 deletions

View File

@@ -1,5 +1,5 @@
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: awxs.awx.ansible.com
@@ -11,18 +11,17 @@ spec:
plural: awxs
singular: awx
scope: Namespaced
subresources:
status: {}
version: v1beta1
versions:
- name: v1beta1
served: true
storage: true
validation:
openAPIV3Schema:
description: Schema validation for the AWX CRD
type: object
properties:
spec:
subresources:
status: {}
schema:
openAPIV3Schema:
description: Schema validation for the AWX CRD
type: object
properties:
spec:
type: object
properties: