From 5fbed050da7be5a0ca08c5b457d6e065fb10b1b5 Mon Sep 17 00:00:00 2001 From: panzouh Date: Fri, 2 Aug 2024 10:22:49 +0200 Subject: [PATCH] chore(externaldns): add dnsendpoint schema v1alpha1 (#355) --- externaldns.k8s.io/dnsendpoint_v1alpha1.json | 93 ++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 externaldns.k8s.io/dnsendpoint_v1alpha1.json diff --git a/externaldns.k8s.io/dnsendpoint_v1alpha1.json b/externaldns.k8s.io/dnsendpoint_v1alpha1.json new file mode 100644 index 00000000..fcd60051 --- /dev/null +++ b/externaldns.k8s.io/dnsendpoint_v1alpha1.json @@ -0,0 +1,93 @@ +{ + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "type": "object" + }, + "spec": { + "description": "DNSEndpointSpec defines the desired state of DNSEndpoint", + "properties": { + "endpoints": { + "items": { + "description": "Endpoint is a high-level way of a connection between a service and an IP", + "properties": { + "dnsName": { + "description": "The hostname of the DNS record", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Labels stores labels defined for the Endpoint", + "type": "object" + }, + "providerSpecific": { + "description": "ProviderSpecific stores provider specific config", + "items": { + "description": "ProviderSpecificProperty holds the name and value of a configuration which is specific to individual DNS providers", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + }, + "recordTTL": { + "description": "TTL for the record", + "format": "int64", + "type": "integer" + }, + "recordType": { + "description": "RecordType type of record, e.g. CNAME, A, AAAA, SRV, TXT etc", + "type": "string" + }, + "setIdentifier": { + "description": "Identifier to distinguish multiple records with the same name and type (e.g. Route53 records with routing policies other than 'simple')", + "type": "string" + }, + "targets": { + "description": "The targets the DNS record points to", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "type": "array" + } + }, + "type": "object", + "additionalProperties": false + }, + "status": { + "description": "DNSEndpointStatus defines the observed state of DNSEndpoint", + "properties": { + "observedGeneration": { + "description": "The generation observed by the external-dns controller.", + "format": "int64", + "type": "integer" + } + }, + "type": "object", + "additionalProperties": false + } + }, + "type": "object" +}