Skip to content

Commit bb21182

Browse files
committed
Edka, 2 templates
New templates for Edka (edka.io): cluster domain routing (A/AAAA, wildcard CNAME, ACME DNS-01 delegation CNAME) and a hostRequired variant for exact-host CNAME routing. Synchronous flow only, signed via syncPubKeyDomain=domainconnect.edka.io (key published at _dck1.domainconnect.edka.io). Record values are derived server-side from authenticated cluster state, never from the browser.
1 parent 07ecf02 commit bb21182

2 files changed

Lines changed: 178 additions & 0 deletions

File tree

edka.io.cluster-cname.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"providerId": "edka.io",
3+
"providerName": "Edka",
4+
"serviceId": "cluster-cname",
5+
"serviceName": "Cluster domain (CNAME)",
6+
"version": 1,
7+
"logoUrl": "https://assets.edka.io/logo.svg",
8+
"syncBlock": false,
9+
"hostRequired": true,
10+
"syncPubKeyDomain": "domainconnect.edka.io",
11+
"syncRedirectDomain": "console.edka.io",
12+
"description": "Point a subdomain or wildcard subdomain to an Edka cluster hostname and delegate DNS-01 certificate validation.",
13+
"variableDescription": "%tlsTarget%: Edka ACME delegation target; %cnameTarget%: cluster hostname target.",
14+
"records": [
15+
{
16+
"groupId": "tls",
17+
"type": "CNAME",
18+
"host": "_acme-challenge",
19+
"pointsTo": "%tlsTarget%",
20+
"ttl": 300
21+
},
22+
{
23+
"groupId": "apex-cname",
24+
"type": "CNAME",
25+
"host": "@",
26+
"pointsTo": "%cnameTarget%",
27+
"ttl": 300
28+
},
29+
{
30+
"groupId": "wildcard-cname",
31+
"type": "CNAME",
32+
"host": "*",
33+
"pointsTo": "%cnameTarget%",
34+
"ttl": 300
35+
}
36+
]
37+
}

edka.io.cluster.json

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
{
2+
"providerId": "edka.io",
3+
"providerName": "Edka",
4+
"serviceId": "cluster",
5+
"serviceName": "Cluster domain",
6+
"version": 1,
7+
"logoUrl": "https://assets.edka.io/logo.svg",
8+
"syncBlock": false,
9+
"syncPubKeyDomain": "domainconnect.edka.io",
10+
"syncRedirectDomain": "console.edka.io",
11+
"description": "Point a hostname or wildcard domain to an Edka cluster and delegate DNS-01 certificate validation.",
12+
"variableDescription": "%tlsTarget%: Edka ACME delegation target; %ip4_1% to %ip4_4%: cluster IPv4 addresses; %ip6_1% to %ip6_4%: cluster IPv6 addresses; %cnameTarget%: cluster hostname target for wildcard records.",
13+
"records": [
14+
{
15+
"groupId": "tls",
16+
"type": "CNAME",
17+
"host": "_acme-challenge",
18+
"pointsTo": "%tlsTarget%",
19+
"ttl": 300
20+
},
21+
{
22+
"groupId": "apex-a-1",
23+
"type": "A",
24+
"host": "@",
25+
"pointsTo": "%ip4_1%",
26+
"ttl": 300
27+
},
28+
{
29+
"groupId": "apex-a-2",
30+
"type": "A",
31+
"host": "@",
32+
"pointsTo": "%ip4_2%",
33+
"ttl": 300
34+
},
35+
{
36+
"groupId": "apex-a-3",
37+
"type": "A",
38+
"host": "@",
39+
"pointsTo": "%ip4_3%",
40+
"ttl": 300
41+
},
42+
{
43+
"groupId": "apex-a-4",
44+
"type": "A",
45+
"host": "@",
46+
"pointsTo": "%ip4_4%",
47+
"ttl": 300
48+
},
49+
{
50+
"groupId": "apex-aaaa-1",
51+
"type": "AAAA",
52+
"host": "@",
53+
"pointsTo": "%ip6_1%",
54+
"ttl": 300
55+
},
56+
{
57+
"groupId": "apex-aaaa-2",
58+
"type": "AAAA",
59+
"host": "@",
60+
"pointsTo": "%ip6_2%",
61+
"ttl": 300
62+
},
63+
{
64+
"groupId": "apex-aaaa-3",
65+
"type": "AAAA",
66+
"host": "@",
67+
"pointsTo": "%ip6_3%",
68+
"ttl": 300
69+
},
70+
{
71+
"groupId": "apex-aaaa-4",
72+
"type": "AAAA",
73+
"host": "@",
74+
"pointsTo": "%ip6_4%",
75+
"ttl": 300
76+
},
77+
{
78+
"groupId": "wildcard-a-1",
79+
"type": "A",
80+
"host": "*",
81+
"pointsTo": "%ip4_1%",
82+
"ttl": 300
83+
},
84+
{
85+
"groupId": "wildcard-a-2",
86+
"type": "A",
87+
"host": "*",
88+
"pointsTo": "%ip4_2%",
89+
"ttl": 300
90+
},
91+
{
92+
"groupId": "wildcard-a-3",
93+
"type": "A",
94+
"host": "*",
95+
"pointsTo": "%ip4_3%",
96+
"ttl": 300
97+
},
98+
{
99+
"groupId": "wildcard-a-4",
100+
"type": "A",
101+
"host": "*",
102+
"pointsTo": "%ip4_4%",
103+
"ttl": 300
104+
},
105+
{
106+
"groupId": "wildcard-aaaa-1",
107+
"type": "AAAA",
108+
"host": "*",
109+
"pointsTo": "%ip6_1%",
110+
"ttl": 300
111+
},
112+
{
113+
"groupId": "wildcard-aaaa-2",
114+
"type": "AAAA",
115+
"host": "*",
116+
"pointsTo": "%ip6_2%",
117+
"ttl": 300
118+
},
119+
{
120+
"groupId": "wildcard-aaaa-3",
121+
"type": "AAAA",
122+
"host": "*",
123+
"pointsTo": "%ip6_3%",
124+
"ttl": 300
125+
},
126+
{
127+
"groupId": "wildcard-aaaa-4",
128+
"type": "AAAA",
129+
"host": "*",
130+
"pointsTo": "%ip6_4%",
131+
"ttl": 300
132+
},
133+
{
134+
"groupId": "wildcard-cname",
135+
"type": "CNAME",
136+
"host": "*",
137+
"pointsTo": "%cnameTarget%",
138+
"ttl": 300
139+
}
140+
]
141+
}

0 commit comments

Comments
 (0)