...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/dns_v1beta1_dnspolicy.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: dnspolicies.dns.cnrm.cloud.google.com
    27spec:
    28  group: dns.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: DNSPolicy
    33    plural: dnspolicies
    34    shortNames:
    35    - gcpdnspolicy
    36    - gcpdnspolicies
    37    singular: dnspolicy
    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              alternativeNameServerConfig:
    75                description: |-
    76                  Sets an alternative name server for the associated networks.
    77                  When specified, all DNS queries are forwarded to a name server that you choose.
    78                  Names such as .internal are not available when an alternative name server is specified.
    79                properties:
    80                  targetNameServers:
    81                    description: |-
    82                      Sets an alternative name server for the associated networks. When specified,
    83                      all DNS queries are forwarded to a name server that you choose. Names such as .internal
    84                      are not available when an alternative name server is specified.
    85                    items:
    86                      properties:
    87                        forwardingPath:
    88                          description: |-
    89                            Forwarding path for this TargetNameServer. If unset or 'default' Cloud DNS will make forwarding
    90                            decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
    91                            to the Internet. When set to 'private', Cloud DNS will always send queries through VPC for this target Possible values: ["default", "private"].
    92                          type: string
    93                        ipv4Address:
    94                          description: IPv4 address to forward to.
    95                          type: string
    96                      required:
    97                      - ipv4Address
    98                      type: object
    99                    type: array
   100                required:
   101                - targetNameServers
   102                type: object
   103              description:
   104                description: A textual description field. Defaults to 'Managed by
   105                  Config Connector'.
   106                type: string
   107              enableInboundForwarding:
   108                description: |-
   109                  Allows networks bound to this policy to receive DNS queries sent
   110                  by VMs or applications over VPN connections. When enabled, a
   111                  virtual IP address will be allocated from each of the sub-networks
   112                  that are bound to this policy.
   113                type: boolean
   114              enableLogging:
   115                description: |-
   116                  Controls whether logging is enabled for the networks bound to this policy.
   117                  Defaults to no logging if not set.
   118                type: boolean
   119              networks:
   120                description: List of network names specifying networks to which this
   121                  policy is applied.
   122                items:
   123                  properties:
   124                    networkRef:
   125                      description: VPC network to bind to.
   126                      oneOf:
   127                      - not:
   128                          required:
   129                          - external
   130                        required:
   131                        - name
   132                      - not:
   133                          anyOf:
   134                          - required:
   135                            - name
   136                          - required:
   137                            - namespace
   138                        required:
   139                        - external
   140                      properties:
   141                        external:
   142                          description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
   143                            resource.'
   144                          type: string
   145                        name:
   146                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   147                          type: string
   148                        namespace:
   149                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   150                          type: string
   151                      type: object
   152                  required:
   153                  - networkRef
   154                  type: object
   155                type: array
   156              resourceID:
   157                description: Immutable. Optional. The name of the resource. Used for
   158                  creation and acquisition. When unset, the value of `metadata.name`
   159                  is used as the default.
   160                type: string
   161            type: object
   162          status:
   163            properties:
   164              conditions:
   165                description: Conditions represent the latest available observation
   166                  of the resource's current state.
   167                items:
   168                  properties:
   169                    lastTransitionTime:
   170                      description: Last time the condition transitioned from one status
   171                        to another.
   172                      type: string
   173                    message:
   174                      description: Human-readable message indicating details about
   175                        last transition.
   176                      type: string
   177                    reason:
   178                      description: Unique, one-word, CamelCase reason for the condition's
   179                        last transition.
   180                      type: string
   181                    status:
   182                      description: Status is the status of the condition. Can be True,
   183                        False, Unknown.
   184                      type: string
   185                    type:
   186                      description: Type is the type of the condition.
   187                      type: string
   188                  type: object
   189                type: array
   190              observedGeneration:
   191                description: ObservedGeneration is the generation of the resource
   192                  that was most recently observed by the Config Connector controller.
   193                  If this is equal to metadata.generation, then that means that the
   194                  current reported status reflects the most recent desired state of
   195                  the resource.
   196                type: integer
   197            type: object
   198        type: object
   199    served: true
   200    storage: true
   201    subresources:
   202      status: {}
   203status:
   204  acceptedNames:
   205    kind: ""
   206    plural: ""
   207  conditions: []
   208  storedVersions: []

View as plain text