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 kind: CustomResourceDefinition
metadata: metadata:
name: onepassworditems.onepassword.com name: onepassworditems.onepassword.com
@@ -10,9 +10,11 @@ spec:
plural: onepassworditems plural: onepassworditems
singular: onepassworditem singular: onepassworditem
scope: Namespaced scope: Namespaced
subresources: versions:
status: {} - name: v1
validation: served: true
storage: true
schema:
openAPIV3Schema: openAPIV3Schema:
description: OnePasswordItem is the Schema for the onepassworditems API description: OnePasswordItem is the Schema for the onepassworditems API
properties: properties:
@@ -31,15 +33,10 @@ spec:
spec: spec:
description: OnePasswordItemSpec defines the desired state of OnePasswordItem description: OnePasswordItemSpec defines the desired state of OnePasswordItem
properties: properties:
item_path: itemPath:
type: string type: string
type: object type: object
status: status:
description: OnePasswordItemStatus defines the observed state of OnePasswordItem description: OnePasswordItemStatus defines the observed state of OnePasswordItem
type: object type: object
type: object type: object
version: v1
versions:
- name: v1
served: true
storage: true