---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.19.0
  name: ramidentitymappings.ramauthenticator.k8s.alibabacloud
spec:
  group: ramauthenticator.k8s.alibabacloud
  names:
    kind: RAMIdentityMapping
    listKind: RAMIdentityMappingList
    plural: ramidentitymappings
    singular: ramidentitymapping
  scope: Namespaced
  versions:
  - name: v1alpha1
    schema:
      openAPIV3Schema:
        description: RAMIdentityMapping is a specification for a RAMIdentityMapping
          resource
        properties:
          apiVersion:
            description: |-
              APIVersion defines the versioned schema of this representation of an object.
              Servers should convert recognized schemas to the latest internal value, and
              may reject unrecognized values.
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
            type: string
          kind:
            description: |-
              Kind is a string value representing the REST resource this object represents.
              Servers may infer this from the endpoint the client submits requests to.
              Cannot be updated.
              In CamelCase.
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
            type: string
          metadata:
            type: object
          spec:
            description: RAMIdentityMappingSpec is the spec for a RAMIdentityMapping
              resource
            properties:
              arn:
                type: string
              groups:
                items:
                  type: string
                type: array
              username:
                type: string
            required:
            - arn
            - groups
            - username
            type: object
          status:
            description: RAMIdentityMappingStatus is the status for a RAMIdentityMapping
              resource
            properties:
              canonicalARN:
                type: string
              userID:
                type: string
            required:
            - canonicalARN
            - userID
            type: object
        required:
        - spec
        - status
        type: object
    served: true
    storage: true
