From 35bd9fde24eb299cf8b193ead570ce144cc5ba69 Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Sun, 26 Sep 2021 09:39:44 -0500 Subject: [PATCH] Upgrade CRD manifest to v1 --- deploy/iamidentitymapping.yaml | 43 +++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/deploy/iamidentitymapping.yaml b/deploy/iamidentitymapping.yaml index b9b4b9569..32e5fe9dc 100644 --- a/deploy/iamidentitymapping.yaml +++ b/deploy/iamidentitymapping.yaml @@ -1,11 +1,10 @@ --- -apiVersion: apiextensions.k8s.io/v1beta1 +apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: iamidentitymappings.iamauthenticator.k8s.aws spec: group: iamauthenticator.k8s.aws - version: v1alpha1 scope: Cluster names: plural: iamidentitymappings @@ -13,21 +12,27 @@ spec: kind: IAMIdentityMapping categories: - all - subresources: - status: {} - validation: - openAPIV3Schema: - properties: - spec: - required: - - arn - - username + versions: + - name: v1alpha1 + served: true + storage: true + schema: + openAPIV3Schema: + type: object properties: - arn: - type: string - username: - type: string - groups: - type: array - items: - type: string \ No newline at end of file + spec: + type: object + required: + - arn + - username + properties: + arn: + type: string + username: + type: string + groups: + type: array + items: + type: string + subresources: + status: {}