Upgrading the deprecated apiextensions.k8s.io/v1beta apiversion from the operator custom resource

This commit is contained in:
jillianwilson
2021-01-18 16:23:33 -04:00
parent 6c98b16766
commit 6aea2ad31c

View File

@@ -1,4 +1,4 @@
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: onepassworditems.onepassword.com
@@ -10,9 +10,11 @@ spec:
plural: onepassworditems
singular: onepassworditem
scope: Namespaced
subresources:
status: {}
validation:
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
description: OnePasswordItem is the Schema for the onepassworditems API
properties:
@@ -31,15 +33,10 @@ spec:
spec:
description: OnePasswordItemSpec defines the desired state of OnePasswordItem
properties:
item_path:
itemPath:
type: string
type: object
status:
description: OnePasswordItemStatus defines the observed state of OnePasswordItem
type: object
type: object
version: v1
versions:
- name: v1
served: true
storage: true