...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/dns_v1alpha1_dnsresponsepolicyrule.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: alpha
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: dnsresponsepolicyrules.dns.cnrm.cloud.google.com
    27spec:
    28  group: dns.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: DNSResponsePolicyRule
    33    plural: dnsresponsepolicyrules
    34    shortNames:
    35    - gcpdnsresponsepolicyrule
    36    - gcpdnsresponsepolicyrules
    37    singular: dnsresponsepolicyrule
    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: v1alpha1
    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              behavior:
    75                description: Answer this query with a behavior rather than DNS data.
    76                  Acceptable values are 'behaviorUnspecified', and 'bypassResponsePolicy'.
    77                type: string
    78              dnsName:
    79                description: The DNS name (wildcard or exact) to apply this rule to.
    80                  Must be unique within the Response Policy Rule.
    81                type: string
    82              localData:
    83                description: |-
    84                  Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name;
    85                  in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.
    86                properties:
    87                  localDatas:
    88                    description: All resource record sets for this selector, one per
    89                      resource record type. The name must match the dns_name.
    90                    items:
    91                      properties:
    92                        name:
    93                          description: For example, www.example.com.
    94                          type: string
    95                        rrdatas:
    96                          description: As defined in RFC 1035 (section 5) and RFC
    97                            1034 (section 3.6.1).
    98                          items:
    99                            type: string
   100                          type: array
   101                        ttl:
   102                          description: |-
   103                            Number of seconds that this ResourceRecordSet can be cached by
   104                            resolvers.
   105                          type: integer
   106                        type:
   107                          description: 'One of valid DNS resource types. Possible
   108                            values: ["A", "AAAA", "CAA", "CNAME", "DNSKEY", "DS",
   109                            "HTTPS", "IPSECVPNKEY", "MX", "NAPTR", "NS", "PTR", "SOA",
   110                            "SPF", "SRV", "SSHFP", "SVCB", "TLSA", "TXT"].'
   111                          type: string
   112                      required:
   113                      - name
   114                      - type
   115                      type: object
   116                    type: array
   117                required:
   118                - localDatas
   119                type: object
   120              projectRef:
   121                description: The project that this resource belongs to.
   122                oneOf:
   123                - not:
   124                    required:
   125                    - external
   126                  required:
   127                  - name
   128                - not:
   129                    anyOf:
   130                    - required:
   131                      - name
   132                    - required:
   133                      - namespace
   134                  required:
   135                  - external
   136                properties:
   137                  external:
   138                    description: 'Allowed value: The `name` field of a `Project` resource.'
   139                    type: string
   140                  name:
   141                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   142                    type: string
   143                  namespace:
   144                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   145                    type: string
   146                type: object
   147              resourceID:
   148                description: Immutable. Optional. The ruleName of the resource. Used
   149                  for creation and acquisition. When unset, the value of `metadata.name`
   150                  is used as the default.
   151                type: string
   152              responsePolicy:
   153                description: Identifies the response policy addressed by this request.
   154                type: string
   155            required:
   156            - dnsName
   157            - projectRef
   158            - responsePolicy
   159            type: object
   160          status:
   161            properties:
   162              conditions:
   163                description: Conditions represent the latest available observation
   164                  of the resource's current state.
   165                items:
   166                  properties:
   167                    lastTransitionTime:
   168                      description: Last time the condition transitioned from one status
   169                        to another.
   170                      type: string
   171                    message:
   172                      description: Human-readable message indicating details about
   173                        last transition.
   174                      type: string
   175                    reason:
   176                      description: Unique, one-word, CamelCase reason for the condition's
   177                        last transition.
   178                      type: string
   179                    status:
   180                      description: Status is the status of the condition. Can be True,
   181                        False, Unknown.
   182                      type: string
   183                    type:
   184                      description: Type is the type of the condition.
   185                      type: string
   186                  type: object
   187                type: array
   188              observedGeneration:
   189                description: ObservedGeneration is the generation of the resource
   190                  that was most recently observed by the Config Connector controller.
   191                  If this is equal to metadata.generation, then that means that the
   192                  current reported status reflects the most recent desired state of
   193                  the resource.
   194                type: integer
   195            type: object
   196        required:
   197        - spec
   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