...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/dns.cnrm.cloud.google.com_dnspolicies.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: dnspolicies.dns.cnrm.cloud.google.com
     8spec:
     9  group: dns.cnrm.cloud.google.com
    10  names:
    11    kind: DNSPolicy
    12    listKind: DNSPolicyList
    13    plural: dnspolicies
    14    singular: dnspolicy
    15  scope: Namespaced
    16  versions:
    17  - name: v1beta1
    18    schema:
    19      openAPIV3Schema:
    20        description: DNSPolicy is the Schema for the dns 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              alternativeNameServerConfig:
    42                description: |-
    43                  Sets an alternative name server for the associated networks.
    44                  When specified, all DNS queries are forwarded to a name server that you choose.
    45                  Names such as .internal are not available when an alternative name server is specified.
    46                properties:
    47                  targetNameServers:
    48                    description: |-
    49                      Sets an alternative name server for the associated networks. When specified,
    50                      all DNS queries are forwarded to a name server that you choose. Names such as .internal
    51                      are not available when an alternative name server is specified.
    52                    items:
    53                      properties:
    54                        forwardingPath:
    55                          description: |-
    56                            Forwarding path for this TargetNameServer. If unset or 'default' Cloud DNS will make forwarding
    57                            decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
    58                            to the Internet. When set to 'private', Cloud DNS will always send queries through VPC for this target Possible values: ["default", "private"].
    59                          type: string
    60                        ipv4Address:
    61                          description: IPv4 address to forward to.
    62                          type: string
    63                      required:
    64                      - ipv4Address
    65                      type: object
    66                    type: array
    67                required:
    68                - targetNameServers
    69                type: object
    70              description:
    71                description: A textual description field. Defaults to 'Managed by
    72                  Config Connector'.
    73                type: string
    74              enableInboundForwarding:
    75                description: |-
    76                  Allows networks bound to this policy to receive DNS queries sent
    77                  by VMs or applications over VPN connections. When enabled, a
    78                  virtual IP address will be allocated from each of the sub-networks
    79                  that are bound to this policy.
    80                type: boolean
    81              enableLogging:
    82                description: |-
    83                  Controls whether logging is enabled for the networks bound to this policy.
    84                  Defaults to no logging if not set.
    85                type: boolean
    86              networks:
    87                description: List of network names specifying networks to which this
    88                  policy is applied.
    89                items:
    90                  properties:
    91                    networkRef:
    92                      description: VPC network to bind to.
    93                      properties:
    94                        external:
    95                          description: The external name of the referenced resource
    96                          type: string
    97                        kind:
    98                          description: Kind of the referent.
    99                          type: string
   100                        name:
   101                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   102                          type: string
   103                        namespace:
   104                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   105                          type: string
   106                      type: object
   107                  required:
   108                  - networkRef
   109                  type: object
   110                type: array
   111              resourceID:
   112                description: Immutable. Optional. The name of the resource. Used for
   113                  creation and acquisition. When unset, the value of `metadata.name`
   114                  is used as the default.
   115                type: string
   116            type: object
   117          status:
   118            properties:
   119              conditions:
   120                description: |-
   121                  Conditions represent the latest available observations of the
   122                  DNSPolicy's current state.
   123                items:
   124                  properties:
   125                    lastTransitionTime:
   126                      description: Last time the condition transitioned from one status
   127                        to another.
   128                      type: string
   129                    message:
   130                      description: Human-readable message indicating details about
   131                        last transition.
   132                      type: string
   133                    reason:
   134                      description: |-
   135                        Unique, one-word, CamelCase reason for the condition's last
   136                        transition.
   137                      type: string
   138                    status:
   139                      description: Status is the status of the condition. Can be True,
   140                        False, Unknown.
   141                      type: string
   142                    type:
   143                      description: Type is the type of the condition.
   144                      type: string
   145                  type: object
   146                type: array
   147              observedGeneration:
   148                description: ObservedGeneration is the generation of the resource
   149                  that was most recently observed by the Config Connector controller.
   150                  If this is equal to metadata.generation, then that means that the
   151                  current reported status reflects the most recent desired state of
   152                  the resource.
   153                type: integer
   154            type: object
   155        type: object
   156    served: true
   157    storage: true

View as plain text