github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1/infrastructure.giantswarm.io_awsclusters.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.2.4
     8    creationTimestamp: null
     9    name: awsclusters.infrastructure.giantswarm.io
    10  spec:
    11    group: infrastructure.giantswarm.io
    12    names:
    13      categories:
    14      - aws
    15      - cluster-api
    16      - giantswarm
    17      kind: AWSCluster
    18      listKind: AWSClusterList
    19      plural: awsclusters
    20      singular: awscluster
    21    scope: Namespaced
    22    versions:
    23    - name: v1alpha2
    24      schema:
    25        openAPIV3Schema:
    26          description: AWSCluster is the infrastructure provider referenced in upstream
    27            CAPI Cluster CRs.
    28          properties:
    29            apiVersion:
    30              description: 'APIVersion defines the versioned schema of this representation
    31                of an object. Servers should convert recognized schemas to the latest
    32                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    33              type: string
    34            kind:
    35              description: 'Kind is a string value representing the REST resource this
    36                object represents. Servers may infer this from the endpoint the client
    37                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    38              type: string
    39            metadata:
    40              type: object
    41            spec:
    42              description: AWSClusterSpec is the spec part for the AWSCluster resource.
    43              properties:
    44                cluster:
    45                  description: Cluster specification details.
    46                  properties:
    47                    description:
    48                      description: User-friendly description that should explain the
    49                        purpose of the cluster to humans.
    50                      type: string
    51                    dns:
    52                      description: DNS configuration details.
    53                      properties:
    54                        domain:
    55                          type: string
    56                      required:
    57                      - domain
    58                      type: object
    59                    kubeProxy:
    60                      description: Flags passed to kube-proxy on each node.
    61                      properties:
    62                        conntrackMaxPerCore:
    63                          description: Maximum number of NAT connections to track per
    64                            CPU core (0 for default). Passed to kube-proxy as --conntrack-max-per-core.
    65                          type: integer
    66                      type: object
    67                    oidc:
    68                      description: Configuration for OpenID Connect (OIDC) authentication.
    69                      properties:
    70                        claims:
    71                          description: AWSClusterSpecClusterOIDCClaims defines OIDC
    72                            claims.
    73                          properties:
    74                            groups:
    75                              type: string
    76                            username:
    77                              type: string
    78                          type: object
    79                        clientID:
    80                          type: string
    81                        issuerURL:
    82                          type: string
    83                      type: object
    84                  required:
    85                  - description
    86                  - dns
    87                  type: object
    88                provider:
    89                  description: Provider-specific configuration details.
    90                  properties:
    91                    credentialSecret:
    92                      description: Location of a secret providing the ARN of AWS IAM
    93                        identity to use with this cluster.
    94                      properties:
    95                        name:
    96                          description: Name of the provider credential resoure.
    97                          type: string
    98                        namespace:
    99                          description: Kubernetes namespace holding the provider credential.
   100                          type: string
   101                      required:
   102                      - name
   103                      - namespace
   104                      type: object
   105                    master:
   106                      description: Master holds master node configuration details. Note
   107                        that this attribute is being deprecated. The master node specification
   108                        can now be found in the AWSControlPlane resource.
   109                      properties:
   110                        availabilityZone:
   111                          description: AWS availability zone to place the master node
   112                            in.
   113                          type: string
   114                        instanceType:
   115                          description: AWS EC2 instance type to use for the master node.
   116                          type: string
   117                      type: object
   118                    nodes:
   119                      description: Node network configuration.
   120                      properties:
   121                        networkPool:
   122                          description: NetworkPool represents a range of IP addresses
   123                            to chose chunks from for master and worker node subnets.
   124                          type: string
   125                      type: object
   126                    pods:
   127                      description: Pod network configuration.
   128                      properties:
   129                        cidrBlock:
   130                          description: IPv4 address block used for pods, in CIDR notation.
   131                          type: string
   132                        externalSNAT:
   133                          description: When set to false, pod connections outside the
   134                            VPC where the pod is located will be NATed through the node
   135                            primary IP. When set to true, all connections will use the
   136                            pod IP.
   137                          type: boolean
   138                      type: object
   139                    region:
   140                      description: AWS region the cluster is to be running in.
   141                      type: string
   142                  required:
   143                  - credentialSecret
   144                  - region
   145                  type: object
   146              required:
   147              - cluster
   148              - provider
   149              type: object
   150            status:
   151              description: Spec part of the AWSCluster resource.
   152              properties:
   153                cluster:
   154                  description: Cluster-specific status details, including conditions
   155                    and versions.
   156                  properties:
   157                    conditions:
   158                      description: One or several conditions that are currently applicable
   159                        to the cluster.
   160                      items:
   161                        description: CommonClusterStatusCondition explains the current
   162                          condition(s) of the cluster.
   163                        properties:
   164                          condition:
   165                            description: Condition string, e. g. `Creating`, `Created`,
   166                              `Upgraded`.
   167                            type: string
   168                          lastTransitionTime:
   169                            description: Time the condition occurred.
   170                            format: date-time
   171                            type: string
   172                        type: object
   173                      type: array
   174                    id:
   175                      description: Identifier of the cluster.
   176                      type: string
   177                    versions:
   178                      description: Release versions the cluster used so far.
   179                      items:
   180                        description: CommonClusterStatusVersion informs which aws-operator
   181                          version was/responsible for this cluster.
   182                        properties:
   183                          lastTransitionTime:
   184                            description: Time the cluster assumed the given version.
   185                            format: date-time
   186                            type: string
   187                          version:
   188                            description: The aws-operator version responsible for handling
   189                              the cluster.
   190                            type: string
   191                        type: object
   192                      type: array
   193                  type: object
   194                provider:
   195                  description: Provider-specific status details.
   196                  properties:
   197                    network:
   198                      description: Network-specific configuration details
   199                      properties:
   200                        cidr:
   201                          description: IPv4 address block used by the tenant cluster
   202                            nodes, in CIDR notation.
   203                          type: string
   204                        vpcID:
   205                          description: Identifier of the AWS Virtual Private Cloud (VPC)
   206                            of the tenant cluster, e.g. `vpc-1234567890abcdef0`.
   207                          type: string
   208                      type: object
   209                  type: object
   210              type: object
   211          required:
   212          - spec
   213          type: object
   214      served: true
   215      storage: true
   216      subresources:
   217        status: {}
   218  status:
   219    acceptedNames:
   220      kind: ""
   221      plural: ""
   222    conditions: []
   223    storedVersions: []