github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1/infrastructure.giantswarm.io_g8scontrolplanes.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: g8scontrolplanes.infrastructure.giantswarm.io
    10  spec:
    11    group: infrastructure.giantswarm.io
    12    names:
    13      categories:
    14      - aws
    15      - cluster-api
    16      - giantswarm
    17      kind: G8sControlPlane
    18      listKind: G8sControlPlaneList
    19      plural: g8scontrolplanes
    20      singular: g8scontrolplane
    21    scope: Namespaced
    22    versions:
    23    - name: v1alpha2
    24      schema:
    25        openAPIV3Schema:
    26          description: The G8sControlPlane resource defines the Control Plane nodes
    27            (Kubernetes master nodes) of a Giant Swarm tenant cluster. It is reconciled
    28            by cluster-operator.
    29          properties:
    30            apiVersion:
    31              description: 'APIVersion defines the versioned schema of this representation
    32                of an object. Servers should convert recognized schemas to the latest
    33                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    34              type: string
    35            kind:
    36              description: 'Kind is a string value representing the REST resource this
    37                object represents. Servers may infer this from the endpoint the client
    38                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    39              type: string
    40            metadata:
    41              type: object
    42            spec:
    43              description: Specification part.
    44              properties:
    45                infrastructureRef:
    46                  description: Reference to a provider-specific resource. On AWS, this
    47                    would be of kind [AWSControlPlane](https://docs.giantswarm.io/reference/cp-k8s-api/awscontrolplanes.infrastructure.giantswarm.io/).
    48                  properties:
    49                    apiVersion:
    50                      description: API version of the referent.
    51                      type: string
    52                    fieldPath:
    53                      description: 'If referring to a piece of an object instead of
    54                        an entire object, this string should contain a valid JSON/Go
    55                        field access statement, such as desiredState.manifest.containers[2].
    56                        For example, if the object reference is to a container within
    57                        a pod, this would take on a value like: "spec.containers{name}"
    58                        (where "name" refers to the name of the container that triggered
    59                        the event) or if no container name is specified "spec.containers[2]"
    60                        (container with index 2 in this pod). This syntax is chosen
    61                        only to have some well-defined way of referencing a part of
    62                        an object. TODO: this design is not final and this field is
    63                        subject to change in the future.'
    64                      type: string
    65                    kind:
    66                      description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    67                      type: string
    68                    name:
    69                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    70                      type: string
    71                    namespace:
    72                      description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    73                      type: string
    74                    resourceVersion:
    75                      description: 'Specific resourceVersion to which this reference
    76                        is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
    77                      type: string
    78                    uid:
    79                      description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
    80                      type: string
    81                  type: object
    82                replicas:
    83                  description: Number of master nodes.
    84                  enum:
    85                  - 1
    86                  - 3
    87                  type: integer
    88              required:
    89              - infrastructureRef
    90              type: object
    91            status:
    92              description: Status information.
    93              properties:
    94                readyReplicas:
    95                  description: Total number of fully running and ready control plane
    96                    machines.
    97                  format: int32
    98                  type: integer
    99                replicas:
   100                  description: Total number of non-terminated machines targeted by this
   101                    control plane (their labels match the selector).
   102                  format: int32
   103                  type: integer
   104              type: object
   105          required:
   106          - spec
   107          type: object
   108      served: true
   109      storage: true
   110      subresources:
   111        status: {}
   112  status:
   113    acceptedNames:
   114      kind: ""
   115      plural: ""
   116    conditions: []
   117    storedVersions: []