apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: amazoncloudintegrations.operator.tigera.io
spec:
  group: operator.tigera.io
  names:
    kind: AmazonCloudIntegration
    listKind: AmazonCloudIntegrationList
    plural: amazoncloudintegrations
    singular: amazoncloudintegration
  scope: Cluster
  versions:
    - name: v1
      schema:
        openAPIV3Schema:
          description:
            AmazonCloudIntegration is the Schema for the amazoncloudintegrations
            API
          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: AmazonCloudIntegrationSpec defines the desired state of AmazonCloudIntegration
              properties:
                awsRegion:
                  description: AWSRegion is the region in which your cluster is located.
                  type: string
                defaultPodMetadataAccess:
                  description:
                    "DefaultPodMetadataAccess defines what the default behavior
                    will be for accessing the AWS metadata service from a pod. Default:
                    Denied"
                  enum:
                    - Allowed
                    - Denied
                  type: string
                enforcedSecurityGroupID:
                  description:
                    EnforcedSecurityGroupID is the ID of the Security Group
                    which will be applied to all ENIs that are on a host that is also
                    part of the Kubernetes cluster.
                  type: string
                nodeSecurityGroupIDs:
                  description:
                    NodeSecurityGroupIDs is a list of Security Group IDs
                    that all nodes and masters will be in.
                  items:
                    type: string
                  type: array
                podSecurityGroupID:
                  description:
                    PodSecurityGroupID is the ID of the Security Group which
                    all pods should be placed in by default.
                  type: string
                sqsURL:
                  description:
                    SQSURL is the SQS URL needed to access the Simple Queue
                    Service.
                  type: string
                trustEnforcedSecurityGroupID:
                  description:
                    TrustEnforcedSecurityGroupID is the ID of the Security
                    Group which will be applied to all ENIs in the VPC.
                  type: string
                vpcs:
                  description:
                    VPCS is a list of VPC IDs to monitor for ENIs and Security
                    Groups, only one is supported.
                  items:
                    type: string
                  type: array
              required:
                - trustEnforcedSecurityGroupID
              type: object
            status:
              description:
                AmazonCloudIntegrationStatus defines the observed state of
                AmazonCloudIntegration
              properties:
                state:
                  description: State provides user-readable status.
                  type: string
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}
    - name: v1beta1
      schema:
        openAPIV3Schema:
          description:
            AmazonCloudIntegration is the Schema for the amazoncloudintegrations
            API
          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: AmazonCloudIntegrationSpec defines the desired state of AmazonCloudIntegration
              type: object
            status:
              description:
                AmazonCloudIntegrationStatus defines the observed state of
                AmazonCloudIntegration
              type: object
          type: object
      served: false
      storage: false
      subresources:
        status: {}
