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: {}