...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computenetworkpeerings.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: computenetworkpeerings.compute.cnrm.cloud.google.com
     8spec:
     9  group: compute.cnrm.cloud.google.com
    10  names:
    11    kind: ComputeNetworkPeering
    12    listKind: ComputeNetworkPeeringList
    13    plural: computenetworkpeerings
    14    singular: computenetworkpeering
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: ComputeNetworkPeering 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              exportCustomRoutes:
    42                description: Whether to export the custom routes to the peer network.
    43                  Defaults to false.
    44                type: boolean
    45              exportSubnetRoutesWithPublicIp:
    46                description: Immutable.
    47                type: boolean
    48              importCustomRoutes:
    49                description: Whether to export the custom routes from the peer network.
    50                  Defaults to false.
    51                type: boolean
    52              importSubnetRoutesWithPublicIp:
    53                description: Immutable.
    54                type: boolean
    55              networkRef:
    56                properties:
    57                  external:
    58                    description: The external name of the referenced resource
    59                    type: string
    60                  kind:
    61                    description: Kind of the referent.
    62                    type: string
    63                  name:
    64                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    65                    type: string
    66                  namespace:
    67                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    68                    type: string
    69                type: object
    70              peerNetworkRef:
    71                properties:
    72                  external:
    73                    description: The external name of the referenced resource
    74                    type: string
    75                  kind:
    76                    description: Kind of the referent.
    77                    type: string
    78                  name:
    79                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    80                    type: string
    81                  namespace:
    82                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    83                    type: string
    84                type: object
    85              resourceID:
    86                description: Immutable. Optional. The name of the resource. Used for
    87                  creation and acquisition. When unset, the value of `metadata.name`
    88                  is used as the default.
    89                type: string
    90              stackType:
    91                description: 'Which IP version(s) of traffic and routes are allowed
    92                  to be imported or exported between peer networks. The default value
    93                  is IPV4_ONLY. Possible values: ["IPV4_ONLY", "IPV4_IPV6"].'
    94                type: string
    95            required:
    96            - networkRef
    97            - peerNetworkRef
    98            type: object
    99          status:
   100            properties:
   101              conditions:
   102                description: |-
   103                  Conditions represent the latest available observations of the
   104                  ComputeNetworkPeering's current state.
   105                items:
   106                  properties:
   107                    lastTransitionTime:
   108                      description: Last time the condition transitioned from one status
   109                        to another.
   110                      type: string
   111                    message:
   112                      description: Human-readable message indicating details about
   113                        last transition.
   114                      type: string
   115                    reason:
   116                      description: |-
   117                        Unique, one-word, CamelCase reason for the condition's last
   118                        transition.
   119                      type: string
   120                    status:
   121                      description: Status is the status of the condition. Can be True,
   122                        False, Unknown.
   123                      type: string
   124                    type:
   125                      description: Type is the type of the condition.
   126                      type: string
   127                  type: object
   128                type: array
   129              observedGeneration:
   130                description: ObservedGeneration is the generation of the resource
   131                  that was most recently observed by the Config Connector controller.
   132                  If this is equal to metadata.generation, then that means that the
   133                  current reported status reflects the most recent desired state of
   134                  the resource.
   135                type: integer
   136              state:
   137                description: State for the peering, either ACTIVE or INACTIVE. The
   138                  peering is ACTIVE when there's a matching configuration in the peer
   139                  network.
   140                type: string
   141              stateDetails:
   142                description: Details about the current state of the peering.
   143                type: string
   144            type: object
   145        type: object
   146    served: true
   147    storage: true

View as plain text