...

Text file src/edge-infra.dev/test/fixtures/crds/gcp/dns.cnrm.cloud.google.com_dnsresponsepolicies.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: dnsresponsepolicies.dns.cnrm.cloud.google.com
     8spec:
     9  group: dns.cnrm.cloud.google.com
    10  names:
    11    kind: DNSResponsePolicy
    12    listKind: DNSResponsePolicyList
    13    plural: dnsresponsepolicies
    14    singular: dnsresponsepolicy
    15  scope: Namespaced
    16  versions:
    17  - name: v1alpha1
    18    schema:
    19      openAPIV3Schema:
    20        description: DNSResponsePolicy 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              description:
    42                description: The description of the response policy, such as 'My new
    43                  response policy'.
    44                type: string
    45              gkeClusters:
    46                description: The list of Google Kubernetes Engine clusters that can
    47                  see this zone.
    48                items:
    49                  properties:
    50                    gkeClusterName:
    51                      description: |-
    52                        The resource name of the cluster to bind this ManagedZone to.
    53                        This should be specified in the format like
    54                        'projects/* /locations/* /clusters/*'.
    55                      type: string
    56                  required:
    57                  - gkeClusterName
    58                  type: object
    59                type: array
    60              networks:
    61                description: The list of network names specifying networks to which
    62                  this policy is applied.
    63                items:
    64                  properties:
    65                    networkUrl:
    66                      description: |-
    67                        The fully qualified URL of the VPC network to bind to.
    68                        This should be formatted like
    69                        'https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}'.
    70                      type: string
    71                  required:
    72                  - networkUrl
    73                  type: object
    74                type: array
    75              projectRef:
    76                description: The project that this resource belongs to.
    77                properties:
    78                  external:
    79                    description: The external name of the referenced resource
    80                    type: string
    81                  kind:
    82                    description: Kind of the referent.
    83                    type: string
    84                  name:
    85                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    86                    type: string
    87                  namespace:
    88                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    89                    type: string
    90                type: object
    91              resourceID:
    92                description: Immutable. Optional. The responsePolicyName of the resource.
    93                  Used for creation and acquisition. When unset, the value of `metadata.name`
    94                  is used as the default.
    95                type: string
    96            required:
    97            - projectRef
    98            type: object
    99          status:
   100            properties:
   101              conditions:
   102                description: |-
   103                  Conditions represent the latest available observations of the
   104                  DNSResponsePolicy'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            type: object
   137        type: object
   138    served: true
   139    storage: true

View as plain text