...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computetargetpools.yaml

Documentation: edge-infra.dev/test/fixtures/crds/gcp

     1---
     2apiVersion: apiextensions.k8s.io/v1
     3kind: CustomResourceDefinition
     4metadata:
     5  annotations:
     6    controller-gen.kubebuilder.io/version: (unknown)
     7  name: computetargetpools.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeTargetPool
    12    listKind: ComputeTargetPoolList
    13    plural: computetargetpools
    14    singular: computetargetpool
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeTargetPool is the Schema for the compute API
    21        properties:
    22          apiVersion:
    23            description: |-
    24              APIVersion defines the versioned schema of this representation of an object.
    25              Servers should convert recognized schemas to the latest internal value, and
    26              may reject unrecognized values.
    27              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    28            type: string
    29          kind:
    30            description: |-
    31              Kind is a string value representing the REST resource this object represents.
    32              Servers may infer this from the endpoint the client submits requests to.
    33              Cannot be updated.
    34              In CamelCase.
    35              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    36            type: string
    37          metadata:
    38            type: object
    39          spec:
    40            properties:
    41              backupTargetPoolRef:
    42                properties:
    43                  external:
    44                    description: The external name of the referenced resource
    45                    type: string
    46                  kind:
    47                    description: Kind of the referent.
    48                    type: string
    49                  name:
    50                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    51                    type: string
    52                  namespace:
    53                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    54                    type: string
    55                type: object
    56              description:
    57                description: Immutable. Textual description field.
    58                type: string
    59              failoverRatio:
    60                description: Immutable. Ratio (0 to 1) of failed nodes before using
    61                  the backup pool (which must also be set).
    62                type: number
    63              healthChecks:
    64                items:
    65                  properties:
    66                    httpHealthCheckRef:
    67                      properties:
    68                        external:
    69                          description: The external name of the referenced resource
    70                          type: string
    71                        kind:
    72                          description: Kind of the referent.
    73                          type: string
    74                        name:
    75                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    76                          type: string
    77                        namespace:
    78                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    79                          type: string
    80                      type: object
    81                  type: object
    82                type: array
    83              instances:
    84                items:
    85                  properties:
    86                    external:
    87                      description: The external name of the referenced resource
    88                      type: string
    89                    kind:
    90                      description: Kind of the referent.
    91                      type: string
    92                    name:
    93                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    94                      type: string
    95                    namespace:
    96                      description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    97                      type: string
    98                  type: object
    99                type: array
   100              region:
   101                description: Immutable. Where the target pool resides. Defaults to
   102                  project region.
   103                type: string
   104              resourceID:
   105                description: Immutable. Optional. The name of the resource. Used for
   106                  creation and acquisition. When unset, the value of `metadata.name`
   107                  is used as the default.
   108                type: string
   109              sessionAffinity:
   110                description: Immutable. How to distribute load. Options are "NONE"
   111                  (no affinity). "CLIENT_IP" (hash of the source/dest addresses /
   112                  ports), and "CLIENT_IP_PROTO" also includes the protocol (default
   113                  "NONE").
   114                type: string
   115            required:
   116            - region
   117            type: object
   118          status:
   119            properties:
   120              conditions:
   121                description: |-
   122                  Conditions represent the latest available observations of the
   123                  ComputeTargetPool's current state.
   124                items:
   125                  properties:
   126                    lastTransitionTime:
   127                      description: Last time the condition transitioned from one status
   128                        to another.
   129                      type: string
   130                    message:
   131                      description: Human-readable message indicating details about
   132                        last transition.
   133                      type: string
   134                    reason:
   135                      description: |-
   136                        Unique, one-word, CamelCase reason for the condition's last
   137                        transition.
   138                      type: string
   139                    status:
   140                      description: Status is the status of the condition. Can be True,
   141                        False, Unknown.
   142                      type: string
   143                    type:
   144                      description: Type is the type of the condition.
   145                      type: string
   146                  type: object
   147                type: array
   148              observedGeneration:
   149                description: ObservedGeneration is the generation of the resource
   150                  that was most recently observed by the Config Connector controller.
   151                  If this is equal to metadata.generation, then that means that the
   152                  current reported status reflects the most recent desired state of
   153                  the resource.
   154                type: integer
   155              selfLink:
   156                description: The URI of the created resource.
   157                type: string
   158            type: object
   159        type: object
   160    served: true
   161    storage: true

View as plain text