File tree 2 files changed +52
-0
lines changed
2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,34 @@ definitions:
136
136
targetMemoryUtilizationPercentage :
137
137
type : integer
138
138
default : 80
139
+ akamai :
140
+ definitions :
141
+ dns :
142
+ properties :
143
+ host :
144
+ title : Akamai API host
145
+ description : Akamai Edgegrid API server
146
+ $ref : ' #/definitions/wordCharacterPattern'
147
+ accessToken :
148
+ title : Akamai access token
149
+ description : Akamai Edgegrid API access token
150
+ $ref : ' #/definitions/wordCharacterPattern'
151
+ x-secret : ' '
152
+ clientToken :
153
+ title : Akamai client token
154
+ description : Akamai Edgegrid API client token
155
+ $ref : ' #/definitions/wordCharacterPattern'
156
+ x-secret : ' '
157
+ clientSecret :
158
+ title : Akamai client secret
159
+ description : Akamai Edgegrid API client secret
160
+ $ref : ' #/definitions/wordCharacterPattern'
161
+ x-secret : ' '
162
+ required :
163
+ - host
164
+ - accessToken
165
+ - clientToken
166
+ - clientSecret
139
167
aws :
140
168
definitions :
141
169
accessKey :
@@ -2503,6 +2531,13 @@ properties:
2503
2531
provider :
2504
2532
description : The DNS provider managing the domains.
2505
2533
oneOf :
2534
+ - title : Akamai EdgeDNS
2535
+ additionalProperties : false
2536
+ properties :
2537
+ akamai :
2538
+ $ref : ' #/definitions/akamai/definitions/dns'
2539
+ required :
2540
+ - akamai
2506
2541
- title : AWS
2507
2542
description : Uses credentials when either a pair of id+key or a secret name is provided. Assumes node role otherwise.
2508
2543
additionalProperties : false
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ resources:
13
13
data:
14
14
{{- if hasKey $p "google" }}
15
15
secret: "{{ $p.google.serviceAccountKey | b64enc }}"
16
+ {{- else if hasKey $p "akamai" }}
17
+ access_token: {{ $p.akamai.accessToken | b64enc | quote }}
18
+ client_token: {{ $p.akamai.clientToken | b64enc | quote }}
19
+ client_secret: {{ $p.akamai.clientSecret | b64enc | quote }}
16
20
{{- else if hasKey $p "azure-private-dns" }}
17
21
secret: "{{ $p | get "azure-private-dns.aadClientSecret" | b64enc }}"
18
22
{{- else if hasKey $p "azure" }}
@@ -48,6 +52,19 @@ resources:
48
52
solvers:
49
53
- selector: {}
50
54
dns01:
55
+ {{- with $p | get "akamai" nil }}
56
+ akamai:
57
+ serviceConsumerDomain: {{ .host }}
58
+ accessTokenSecretRef:
59
+ name: external-dns
60
+ key: access_token
61
+ clientTokenSecretRef:
62
+ name: external-dns
63
+ key: client_token
64
+ clientSecretSecretRef:
65
+ name: external-dns
66
+ key: client_secret
67
+ {{- end }}
51
68
{{- with $p | get "aws" nil }}
52
69
route53:
53
70
{{- with . | get "credentials.accessKey" nil }}
You can’t perform that action at this time.
0 commit comments