...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_computesubnetworks.compute.cnrm.cloud.google.com.yaml

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

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  annotations:
     5    cnrm.cloud.google.com/version: 0.0.0-dev
     6  creationTimestamp: null
     7  labels:
     8    cnrm.cloud.google.com/managed-by-kcc: "true"
     9    cnrm.cloud.google.com/stability-level: stable
    10    cnrm.cloud.google.com/system: "true"
    11    cnrm.cloud.google.com/tf2crd: "true"
    12  name: computesubnetworks.compute.cnrm.cloud.google.com
    13spec:
    14  group: compute.cnrm.cloud.google.com
    15  names:
    16    categories:
    17    - gcp
    18    kind: ComputeSubnetwork
    19    plural: computesubnetworks
    20    shortNames:
    21    - gcpcomputesubnetwork
    22    - gcpcomputesubnetworks
    23    singular: computesubnetwork
    24  preserveUnknownFields: false
    25  scope: Namespaced
    26  versions:
    27  - additionalPrinterColumns:
    28    - jsonPath: .metadata.creationTimestamp
    29      name: Age
    30      type: date
    31    - description: When 'True', the most recent reconcile of the resource succeeded
    32      jsonPath: .status.conditions[?(@.type=='Ready')].status
    33      name: Ready
    34      type: string
    35    - description: The reason for the value in 'Ready'
    36      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    37      name: Status
    38      type: string
    39    - description: The last transition time for the value in 'Status'
    40      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    41      name: Status Age
    42      type: date
    43    name: v1beta1
    44    schema:
    45      openAPIV3Schema:
    46        properties:
    47          apiVersion:
    48            description: 'apiVersion defines the versioned schema of this representation
    49              of an object. Servers should convert recognized schemas to the latest
    50              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    51            type: string
    52          kind:
    53            description: 'kind is a string value representing the REST resource this
    54              object represents. Servers may infer this from the endpoint the client
    55              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    56            type: string
    57          metadata:
    58            type: object
    59          spec:
    60            properties:
    61              description:
    62                description: |-
    63                  Immutable. An optional description of this resource. Provide this property when
    64                  you create the resource. This field can be set only at resource
    65                  creation time.
    66                type: string
    67              ipCidrRange:
    68                description: |-
    69                  The range of internal addresses that are owned by this subnetwork.
    70                  Provide this property when you create the subnetwork. For example,
    71                  10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and
    72                  non-overlapping within a network. Only IPv4 is supported.
    73                type: string
    74              ipv6AccessType:
    75                description: |-
    76                  The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation
    77                  or the first time the subnet is updated into IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet
    78                  cannot enable direct path. Possible values: ["EXTERNAL", "INTERNAL"].
    79                type: string
    80              logConfig:
    81                description: |-
    82                  Denotes the logging options for the subnetwork flow logs. If logging is enabled
    83                  logs will be exported to Stackdriver. This field cannot be set if the 'purpose' of this
    84                  subnetwork is 'INTERNAL_HTTPS_LOAD_BALANCER'.
    85                properties:
    86                  aggregationInterval:
    87                    description: |-
    88                      Can only be specified if VPC flow logging for this subnetwork is enabled.
    89                      Toggles the aggregation interval for collecting flow logs. Increasing the
    90                      interval time will reduce the amount of generated flow logs for long
    91                      lasting connections. Default is an interval of 5 seconds per connection. Default value: "INTERVAL_5_SEC" Possible values: ["INTERVAL_5_SEC", "INTERVAL_30_SEC", "INTERVAL_1_MIN", "INTERVAL_5_MIN", "INTERVAL_10_MIN", "INTERVAL_15_MIN"].
    92                    type: string
    93                  filterExpr:
    94                    description: |-
    95                      Export filter used to define which VPC flow logs should be logged, as as CEL expression. See
    96                      https://cloud.google.com/vpc/docs/flow-logs#filtering for details on how to format this field.
    97                      The default value is 'true', which evaluates to include everything.
    98                    type: string
    99                  flowSampling:
   100                    description: |-
   101                      Can only be specified if VPC flow logging for this subnetwork is enabled.
   102                      The value of the field must be in [0, 1]. Set the sampling rate of VPC
   103                      flow logs within the subnetwork where 1.0 means all collected logs are
   104                      reported and 0.0 means no logs are reported. Default is 0.5 which means
   105                      half of all collected logs are reported.
   106                    type: number
   107                  metadata:
   108                    description: |-
   109                      Can only be specified if VPC flow logging for this subnetwork is enabled.
   110                      Configures whether metadata fields should be added to the reported VPC
   111                      flow logs. Default value: "INCLUDE_ALL_METADATA" Possible values: ["EXCLUDE_ALL_METADATA", "INCLUDE_ALL_METADATA", "CUSTOM_METADATA"].
   112                    type: string
   113                  metadataFields:
   114                    description: |-
   115                      List of metadata fields that should be added to reported logs.
   116                      Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" is set to CUSTOM_METADATA.
   117                    items:
   118                      type: string
   119                    type: array
   120                type: object
   121              networkRef:
   122                description: |-
   123                  The network this subnet belongs to. Only networks that are in the
   124                  distributed mode can have subnetworks.
   125                oneOf:
   126                - not:
   127                    required:
   128                    - external
   129                  required:
   130                  - name
   131                - not:
   132                    anyOf:
   133                    - required:
   134                      - name
   135                    - required:
   136                      - namespace
   137                  required:
   138                  - external
   139                properties:
   140                  external:
   141                    description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
   142                      resource.'
   143                    type: string
   144                  name:
   145                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   146                    type: string
   147                  namespace:
   148                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   149                    type: string
   150                type: object
   151              privateIpGoogleAccess:
   152                description: |-
   153                  When enabled, VMs in this subnetwork without external IP addresses can
   154                  access Google APIs and services by using Private Google Access.
   155                type: boolean
   156              privateIpv6GoogleAccess:
   157                description: The private IPv6 google access type for the VMs in this
   158                  subnet.
   159                type: string
   160              purpose:
   161                description: |-
   162                  Immutable. The purpose of the resource. This field can be either 'PRIVATE_RFC_1918', 'INTERNAL_HTTPS_LOAD_BALANCER' or 'REGIONAL_MANAGED_PROXY'.
   163                  A subnetwork with purpose set to 'INTERNAL_HTTPS_LOAD_BALANCER' is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing.
   164                  A subnetwork in a given region with purpose set to 'REGIONAL_MANAGED_PROXY' is a proxy-only subnet and is shared between all the regional Envoy-based load balancers.
   165                  If unspecified, the purpose defaults to 'PRIVATE_RFC_1918'.
   166                  The enableFlowLogs field isn't supported with the purpose field set to 'INTERNAL_HTTPS_LOAD_BALANCER'.
   167                type: string
   168              region:
   169                description: Immutable. The GCP region for this subnetwork.
   170                type: string
   171              resourceID:
   172                description: Immutable. Optional. The name of the resource. Used for
   173                  creation and acquisition. When unset, the value of `metadata.name`
   174                  is used as the default.
   175                type: string
   176              role:
   177                description: |-
   178                  The role of subnetwork.
   179                  The value can be set to 'ACTIVE' or 'BACKUP'.
   180                  An 'ACTIVE' subnetwork is one that is currently being used.
   181                  A 'BACKUP' subnetwork is one that is ready to be promoted to 'ACTIVE' or is currently draining.
   182
   183                  Subnetwork role must be specified when purpose is set to 'INTERNAL_HTTPS_LOAD_BALANCER' or 'REGIONAL_MANAGED_PROXY'. Possible values: ["ACTIVE", "BACKUP"].
   184                type: string
   185              secondaryIpRange:
   186                items:
   187                  properties:
   188                    ipCidrRange:
   189                      description: |-
   190                        The range of IP addresses belonging to this subnetwork secondary
   191                        range. Provide this property when you create the subnetwork.
   192                        Ranges must be unique and non-overlapping with all primary and
   193                        secondary IP ranges within a network. Only IPv4 is supported.
   194                      type: string
   195                    rangeName:
   196                      description: |-
   197                        The name associated with this subnetwork secondary range, used
   198                        when adding an alias IP range to a VM instance. The name must
   199                        be 1-63 characters long, and comply with RFC1035. The name
   200                        must be unique within the subnetwork.
   201                      type: string
   202                  required:
   203                  - ipCidrRange
   204                  - rangeName
   205                  type: object
   206                type: array
   207              stackType:
   208                description: |-
   209                  The stack type for this subnet to identify whether the IPv6 feature is enabled or not.
   210                  If not specified IPV4_ONLY will be used. Possible values: ["IPV4_ONLY", "IPV4_IPV6"].
   211                type: string
   212            required:
   213            - ipCidrRange
   214            - networkRef
   215            - region
   216            type: object
   217          status:
   218            properties:
   219              conditions:
   220                description: Conditions represent the latest available observation
   221                  of the resource's current state.
   222                items:
   223                  properties:
   224                    lastTransitionTime:
   225                      description: Last time the condition transitioned from one status
   226                        to another.
   227                      type: string
   228                    message:
   229                      description: Human-readable message indicating details about
   230                        last transition.
   231                      type: string
   232                    reason:
   233                      description: Unique, one-word, CamelCase reason for the condition's
   234                        last transition.
   235                      type: string
   236                    status:
   237                      description: Status is the status of the condition. Can be True,
   238                        False, Unknown.
   239                      type: string
   240                    type:
   241                      description: Type is the type of the condition.
   242                      type: string
   243                  type: object
   244                type: array
   245              creationTimestamp:
   246                description: Creation timestamp in RFC3339 text format.
   247                type: string
   248              externalIpv6Prefix:
   249                description: The range of external IPv6 addresses that are owned by
   250                  this subnetwork.
   251                type: string
   252              fingerprint:
   253                description: DEPRECATED. This field is not useful for users, and has
   254                  been removed as an output. Fingerprint of this resource. This field
   255                  is used internally during updates of this resource.
   256                type: string
   257              gatewayAddress:
   258                description: |-
   259                  The gateway address for default routes to reach destination addresses
   260                  outside this subnetwork.
   261                type: string
   262              ipv6CidrRange:
   263                description: The range of internal IPv6 addresses that are owned by
   264                  this subnetwork.
   265                type: string
   266              observedGeneration:
   267                description: ObservedGeneration is the generation of the resource
   268                  that was most recently observed by the Config Connector controller.
   269                  If this is equal to metadata.generation, then that means that the
   270                  current reported status reflects the most recent desired state of
   271                  the resource.
   272                type: integer
   273              selfLink:
   274                type: string
   275            type: object
   276        required:
   277        - spec
   278        type: object
   279    served: true
   280    storage: true
   281    subresources:
   282      status: {}
   283status:
   284  acceptedNames:
   285    kind: ""
   286    plural: ""
   287  conditions: []
   288  storedVersions: []

View as plain text