open-cluster-management.io/governance-policy-propagator@v0.13.0/test/resources/case5_policy_automation/dns-crd.yaml (about) 1 apiVersion: apiextensions.k8s.io/v1 2 kind: CustomResourceDefinition 3 metadata: 4 annotations: 5 api-approved.openshift.io: https://github.com/openshift/api/pull/470 6 include.release.openshift.io/self-managed-high-availability: "true" 7 include.release.openshift.io/single-node-developer: "true" 8 creationTimestamp: "2023-01-09T07:07:25Z" 9 generation: 1 10 name: dnses.config.openshift.io 11 ownerReferences: 12 - apiVersion: config.openshift.io/v1 13 kind: ClusterVersion 14 name: version 15 uid: ace25b63-dff4-415f-9c1d-c7583b57e40d 16 resourceVersion: "1100" 17 uid: 37084ebf-13f5-4c39-a9ff-fda238db6a3f 18 spec: 19 conversion: 20 strategy: None 21 group: config.openshift.io 22 names: 23 kind: DNS 24 listKind: DNSList 25 plural: dnses 26 singular: dns 27 scope: Cluster 28 versions: 29 - name: v1 30 schema: 31 openAPIV3Schema: 32 description: "DNS holds cluster-wide information about DNS. The canonical 33 name is `cluster` \n Compatibility level 1: Stable within a major release 34 for a minimum of 12 months or 3 minor releases (whichever is longer)." 35 properties: 36 apiVersion: 37 description: 'APIVersion defines the versioned schema of this representation 38 of an object. Servers should convert recognized schemas to the latest 39 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 40 type: string 41 kind: 42 description: 'Kind is a string value representing the REST resource this 43 object represents. Servers may infer this from the endpoint the client 44 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 45 type: string 46 metadata: 47 type: object 48 spec: 49 description: spec holds user settable values for configuration 50 properties: 51 baseDomain: 52 description: "baseDomain is the base domain of the cluster. All managed 53 DNS records will be sub-domains of this base. \n For example, given 54 the base domain `openshift.example.com`, an API server DNS record 55 may be created for `cluster-api.openshift.example.com`. \n Once 56 set, this field cannot be changed." 57 type: string 58 privateZone: 59 description: "privateZone is the location where all the DNS records 60 that are only available internally to the cluster exist. \n If this 61 field is nil, no private records should be created. \n Once set, 62 this field cannot be changed." 63 properties: 64 id: 65 description: "id is the identifier that can be used to find the 66 DNS hosted zone. \n on AWS zone can be fetched using `ID` as 67 id in [1] on Azure zone can be fetched using `ID` as a pre-determined 68 name in [2], on GCP zone can be fetched using `ID` as a pre-determined 69 name in [3]. \n [1]: https://docs.aws.amazon.com/cli/latest/reference/route53/get-hosted-zone.html#options 70 [2]: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest#az-network-dns-zone-show 71 [3]: https://cloud.google.com/dns/docs/reference/v1/managedZones/get" 72 type: string 73 tags: 74 additionalProperties: 75 type: string 76 description: "tags can be used to query the DNS hosted zone. \n 77 on AWS, resourcegroupstaggingapi [1] can be used to fetch a 78 zone using `Tags` as tag-filters, \n [1]: https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html#options" 79 type: object 80 type: object 81 publicZone: 82 description: "publicZone is the location where all the DNS records 83 that are publicly accessible to the internet exist. \n If this field 84 is nil, no public records should be created. \n Once set, this field 85 cannot be changed." 86 properties: 87 id: 88 description: "id is the identifier that can be used to find the 89 DNS hosted zone. \n on AWS zone can be fetched using `ID` as 90 id in [1] on Azure zone can be fetched using `ID` as a pre-determined 91 name in [2], on GCP zone can be fetched using `ID` as a pre-determined 92 name in [3]. \n [1]: https://docs.aws.amazon.com/cli/latest/reference/route53/get-hosted-zone.html#options 93 [2]: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest#az-network-dns-zone-show 94 [3]: https://cloud.google.com/dns/docs/reference/v1/managedZones/get" 95 type: string 96 tags: 97 additionalProperties: 98 type: string 99 description: "tags can be used to query the DNS hosted zone. \n 100 on AWS, resourcegroupstaggingapi [1] can be used to fetch a 101 zone using `Tags` as tag-filters, \n [1]: https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html#options" 102 type: object 103 type: object 104 type: object 105 status: 106 description: status holds observed values from the cluster. They may not 107 be overridden. 108 type: object 109 required: 110 - spec 111 type: object 112 served: true 113 storage: true 114 subresources: 115 status: {} 116 status: 117 acceptedNames: 118 kind: DNS 119 listKind: DNSList 120 plural: dnses 121 singular: dns 122 conditions: 123 - lastTransitionTime: "2023-01-09T07:07:25Z" 124 message: no conflicts found 125 reason: NoConflicts 126 status: "True" 127 type: NamesAccepted 128 - lastTransitionTime: "2023-01-09T07:07:25Z" 129 message: the initial names have been accepted 130 reason: InitialNamesAccepted 131 status: "True" 132 type: Established 133 storedVersions: 134 - v1