...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/vpcaccess_v1beta1_vpcaccessconnector.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: vpcaccessconnectors.vpcaccess.cnrm.cloud.google.com
    27spec:
    28  group: vpcaccess.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: VPCAccessConnector
    33    plural: vpcaccessconnectors
    34    shortNames:
    35    - gcpvpcaccessconnector
    36    - gcpvpcaccessconnectors
    37    singular: vpcaccessconnector
    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              ipCidrRange:
    75                description: 'Immutable. The range of internal addresses that follows
    76                  RFC 4632 notation. Example: ''10.132.0.0/28''.'
    77                type: string
    78              location:
    79                description: 'Location represents the geographical location of the
    80                  VPCAccessConnector. Specify a region name. Reference: GCP definition
    81                  of regions/zones (https://cloud.google.com/compute/docs/regions-zones/)'
    82                type: string
    83              machineType:
    84                description: Immutable. Machine type of VM Instance underlying connector.
    85                  Default is e2-micro.
    86                type: string
    87              maxInstances:
    88                description: Immutable. Maximum value of instances in autoscaling
    89                  group underlying the connector.
    90                type: integer
    91              maxThroughput:
    92                description: Immutable. Maximum throughput of the connector in Mbps,
    93                  must be greater than 'min_throughput'. Default is 300.
    94                type: integer
    95              minInstances:
    96                description: Immutable. Minimum value of instances in autoscaling
    97                  group underlying the connector.
    98                type: integer
    99              minThroughput:
   100                description: Immutable. Minimum throughput of the connector in Mbps.
   101                  Default and min is 200.
   102                type: integer
   103              networkRef:
   104                description: Immutable. Name or self_link of the VPC network. Required
   105                  if 'ip_cidr_range' is set.
   106                oneOf:
   107                - not:
   108                    required:
   109                    - external
   110                  required:
   111                  - name
   112                - not:
   113                    anyOf:
   114                    - required:
   115                      - name
   116                    - required:
   117                      - namespace
   118                  required:
   119                  - external
   120                properties:
   121                  external:
   122                    description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
   123                      resource.'
   124                    type: string
   125                  name:
   126                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   127                    type: string
   128                  namespace:
   129                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   130                    type: string
   131                type: object
   132              projectRef:
   133                description: Immutable. The project that this resource belongs to.
   134                oneOf:
   135                - not:
   136                    required:
   137                    - external
   138                  required:
   139                  - name
   140                - not:
   141                    anyOf:
   142                    - required:
   143                      - name
   144                    - required:
   145                      - namespace
   146                  required:
   147                  - external
   148                properties:
   149                  external:
   150                    description: 'Allowed value: The `name` field of a `Project` resource.'
   151                    type: string
   152                  name:
   153                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   154                    type: string
   155                  namespace:
   156                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   157                    type: string
   158                type: object
   159              resourceID:
   160                description: Immutable. Optional. The name of the resource. Used for
   161                  creation and acquisition. When unset, the value of `metadata.name`
   162                  is used as the default.
   163                type: string
   164              subnet:
   165                description: Immutable. The subnet in which to house the connector.
   166                properties:
   167                  nameRef:
   168                    description: |-
   169                      Immutable. Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is
   170                      https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}"
   171                    oneOf:
   172                    - not:
   173                        required:
   174                        - external
   175                      required:
   176                      - name
   177                    - not:
   178                        anyOf:
   179                        - required:
   180                          - name
   181                        - required:
   182                          - namespace
   183                      required:
   184                      - external
   185                    properties:
   186                      external:
   187                        description: 'Allowed value: The `name` field of a `ComputeSubnetwork`
   188                          resource.'
   189                        type: string
   190                      name:
   191                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   192                        type: string
   193                      namespace:
   194                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   195                        type: string
   196                    type: object
   197                  projectRef:
   198                    description: Immutable. Project in which the subnet exists. If
   199                      not set, this project is assumed to be the project for which
   200                      the connector create request was issued.
   201                    oneOf:
   202                    - not:
   203                        required:
   204                        - external
   205                      required:
   206                      - name
   207                    - not:
   208                        anyOf:
   209                        - required:
   210                          - name
   211                        - required:
   212                          - namespace
   213                      required:
   214                      - external
   215                    properties:
   216                      external:
   217                        description: 'Allowed value: The `name` field of a `Project`
   218                          resource.'
   219                        type: string
   220                      name:
   221                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   222                        type: string
   223                      namespace:
   224                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   225                        type: string
   226                    type: object
   227                type: object
   228            required:
   229            - location
   230            - projectRef
   231            type: object
   232          status:
   233            properties:
   234              conditions:
   235                description: Conditions represent the latest available observation
   236                  of the resource's current state.
   237                items:
   238                  properties:
   239                    lastTransitionTime:
   240                      description: Last time the condition transitioned from one status
   241                        to another.
   242                      type: string
   243                    message:
   244                      description: Human-readable message indicating details about
   245                        last transition.
   246                      type: string
   247                    reason:
   248                      description: Unique, one-word, CamelCase reason for the condition's
   249                        last transition.
   250                      type: string
   251                    status:
   252                      description: Status is the status of the condition. Can be True,
   253                        False, Unknown.
   254                      type: string
   255                    type:
   256                      description: Type is the type of the condition.
   257                      type: string
   258                  type: object
   259                type: array
   260              connectedProjects:
   261                description: List of projects using the connector.
   262                items:
   263                  type: string
   264                type: array
   265              observedGeneration:
   266                description: ObservedGeneration is the generation of the resource
   267                  that was most recently observed by the Config Connector controller.
   268                  If this is equal to metadata.generation, then that means that the
   269                  current reported status reflects the most recent desired state of
   270                  the resource.
   271                type: integer
   272              selfLink:
   273                description: The fully qualified name of this VPC connector.
   274                type: string
   275              state:
   276                description: State of the VPC access connector.
   277                type: string
   278            type: object
   279        required:
   280        - spec
   281        type: object
   282    served: true
   283    storage: true
   284    subresources:
   285      status: {}
   286status:
   287  acceptedNames:
   288    kind: ""
   289    plural: ""
   290  conditions: []
   291  storedVersions: []

View as plain text