...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/compute_v1beta1_computeinstancegroup.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/crds

     1# Copyright 2020 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  annotations:
    19    cnrm.cloud.google.com/version: 1.106.0
    20  creationTimestamp: null
    21  labels:
    22    cnrm.cloud.google.com/managed-by-kcc: "true"
    23    cnrm.cloud.google.com/stability-level: stable
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: computeinstancegroups.compute.cnrm.cloud.google.com
    27spec:
    28  group: compute.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: ComputeInstanceGroup
    33    plural: computeinstancegroups
    34    shortNames:
    35    - gcpcomputeinstancegroup
    36    - gcpcomputeinstancegroups
    37    singular: computeinstancegroup
    38  scope: Namespaced
    39  versions:
    40  - additionalPrinterColumns:
    41    - jsonPath: .metadata.creationTimestamp
    42      name: Age
    43      type: date
    44    - description: When 'True', the most recent reconcile of the resource succeeded
    45      jsonPath: .status.conditions[?(@.type=='Ready')].status
    46      name: Ready
    47      type: string
    48    - description: The reason for the value in 'Ready'
    49      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    50      name: Status
    51      type: string
    52    - description: The last transition time for the value in 'Status'
    53      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    54      name: Status Age
    55      type: date
    56    name: v1beta1
    57    schema:
    58      openAPIV3Schema:
    59        properties:
    60          apiVersion:
    61            description: 'apiVersion defines the versioned schema of this representation
    62              of an object. Servers should convert recognized schemas to the latest
    63              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    64            type: string
    65          kind:
    66            description: 'kind is a string value representing the REST resource this
    67              object represents. Servers may infer this from the endpoint the client
    68              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    69            type: string
    70          metadata:
    71            type: object
    72          spec:
    73            properties:
    74              description:
    75                description: Immutable. An optional textual description of the instance
    76                  group.
    77                type: string
    78              instances:
    79                items:
    80                  oneOf:
    81                  - not:
    82                      required:
    83                      - external
    84                    required:
    85                    - name
    86                  - not:
    87                      anyOf:
    88                      - required:
    89                        - name
    90                      - required:
    91                        - namespace
    92                    required:
    93                    - external
    94                  properties:
    95                    external:
    96                      description: 'Allowed value: The `selfLink` field of a `ComputeInstance`
    97                        resource.'
    98                      type: string
    99                    name:
   100                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   101                      type: string
   102                    namespace:
   103                      description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   104                      type: string
   105                  type: object
   106                type: array
   107              namedPort:
   108                description: The named port configuration.
   109                items:
   110                  properties:
   111                    name:
   112                      description: The name which the port will be mapped to.
   113                      type: string
   114                    port:
   115                      description: The port number to map the name to.
   116                      type: integer
   117                  required:
   118                  - name
   119                  - port
   120                  type: object
   121                type: array
   122              networkRef:
   123                oneOf:
   124                - not:
   125                    required:
   126                    - external
   127                  required:
   128                  - name
   129                - not:
   130                    anyOf:
   131                    - required:
   132                      - name
   133                    - required:
   134                      - namespace
   135                  required:
   136                  - external
   137                properties:
   138                  external:
   139                    description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
   140                      resource.'
   141                    type: string
   142                  name:
   143                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   144                    type: string
   145                  namespace:
   146                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   147                    type: string
   148                type: object
   149              resourceID:
   150                description: Immutable. Optional. The name of the resource. Used for
   151                  creation and acquisition. When unset, the value of `metadata.name`
   152                  is used as the default.
   153                type: string
   154              zone:
   155                description: Immutable. The zone that this instance group should be
   156                  created in.
   157                type: string
   158            required:
   159            - zone
   160            type: object
   161          status:
   162            properties:
   163              conditions:
   164                description: Conditions represent the latest available observation
   165                  of the resource's current state.
   166                items:
   167                  properties:
   168                    lastTransitionTime:
   169                      description: Last time the condition transitioned from one status
   170                        to another.
   171                      type: string
   172                    message:
   173                      description: Human-readable message indicating details about
   174                        last transition.
   175                      type: string
   176                    reason:
   177                      description: Unique, one-word, CamelCase reason for the condition's
   178                        last transition.
   179                      type: string
   180                    status:
   181                      description: Status is the status of the condition. Can be True,
   182                        False, Unknown.
   183                      type: string
   184                    type:
   185                      description: Type is the type of the condition.
   186                      type: string
   187                  type: object
   188                type: array
   189              observedGeneration:
   190                description: ObservedGeneration is the generation of the resource
   191                  that was most recently observed by the Config Connector controller.
   192                  If this is equal to metadata.generation, then that means that the
   193                  current reported status reflects the most recent desired state of
   194                  the resource.
   195                type: integer
   196              selfLink:
   197                description: The URI of the created resource.
   198                type: string
   199              size:
   200                description: The number of instances in the group.
   201                type: integer
   202            type: object
   203        required:
   204        - spec
   205        type: object
   206    served: true
   207    storage: true
   208    subresources:
   209      status: {}
   210status:
   211  acceptedNames:
   212    kind: ""
   213    plural: ""
   214  conditions: []
   215  storedVersions: []

View as plain text