...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/compute_v1beta1_computenetworkpeering.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: computenetworkpeerings.compute.cnrm.cloud.google.com
    27spec:
    28  group: compute.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: ComputeNetworkPeering
    33    plural: computenetworkpeerings
    34    shortNames:
    35    - gcpcomputenetworkpeering
    36    - gcpcomputenetworkpeerings
    37    singular: computenetworkpeering
    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              exportCustomRoutes:
    75                description: Whether to export the custom routes to the peer network.
    76                  Defaults to false.
    77                type: boolean
    78              exportSubnetRoutesWithPublicIp:
    79                description: Immutable.
    80                type: boolean
    81              importCustomRoutes:
    82                description: Whether to export the custom routes from the peer network.
    83                  Defaults to false.
    84                type: boolean
    85              importSubnetRoutesWithPublicIp:
    86                description: Immutable.
    87                type: boolean
    88              networkRef:
    89                oneOf:
    90                - not:
    91                    required:
    92                    - external
    93                  required:
    94                  - name
    95                - not:
    96                    anyOf:
    97                    - required:
    98                      - name
    99                    - required:
   100                      - namespace
   101                  required:
   102                  - external
   103                properties:
   104                  external:
   105                    description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
   106                      resource.'
   107                    type: string
   108                  name:
   109                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   110                    type: string
   111                  namespace:
   112                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   113                    type: string
   114                type: object
   115              peerNetworkRef:
   116                oneOf:
   117                - not:
   118                    required:
   119                    - external
   120                  required:
   121                  - name
   122                - not:
   123                    anyOf:
   124                    - required:
   125                      - name
   126                    - required:
   127                      - namespace
   128                  required:
   129                  - external
   130                properties:
   131                  external:
   132                    description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
   133                      resource.'
   134                    type: string
   135                  name:
   136                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   137                    type: string
   138                  namespace:
   139                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   140                    type: string
   141                type: object
   142              resourceID:
   143                description: Immutable. Optional. The name of the resource. Used for
   144                  creation and acquisition. When unset, the value of `metadata.name`
   145                  is used as the default.
   146                type: string
   147              stackType:
   148                description: 'Which IP version(s) of traffic and routes are allowed
   149                  to be imported or exported between peer networks. The default value
   150                  is IPV4_ONLY. Possible values: ["IPV4_ONLY", "IPV4_IPV6"].'
   151                type: string
   152            required:
   153            - networkRef
   154            - peerNetworkRef
   155            type: object
   156          status:
   157            properties:
   158              conditions:
   159                description: Conditions represent the latest available observation
   160                  of the resource's current state.
   161                items:
   162                  properties:
   163                    lastTransitionTime:
   164                      description: Last time the condition transitioned from one status
   165                        to another.
   166                      type: string
   167                    message:
   168                      description: Human-readable message indicating details about
   169                        last transition.
   170                      type: string
   171                    reason:
   172                      description: Unique, one-word, CamelCase reason for the condition's
   173                        last transition.
   174                      type: string
   175                    status:
   176                      description: Status is the status of the condition. Can be True,
   177                        False, Unknown.
   178                      type: string
   179                    type:
   180                      description: Type is the type of the condition.
   181                      type: string
   182                  type: object
   183                type: array
   184              observedGeneration:
   185                description: ObservedGeneration is the generation of the resource
   186                  that was most recently observed by the Config Connector controller.
   187                  If this is equal to metadata.generation, then that means that the
   188                  current reported status reflects the most recent desired state of
   189                  the resource.
   190                type: integer
   191              state:
   192                description: State for the peering, either ACTIVE or INACTIVE. The
   193                  peering is ACTIVE when there's a matching configuration in the peer
   194                  network.
   195                type: string
   196              stateDetails:
   197                description: Details about the current state of the peering.
   198                type: string
   199            type: object
   200        required:
   201        - spec
   202        type: object
   203    served: true
   204    storage: true
   205    subresources:
   206      status: {}
   207status:
   208  acceptedNames:
   209    kind: ""
   210    plural: ""
   211  conditions: []
   212  storedVersions: []

View as plain text