| commit | 636d1304af28c9b3ef67760bf8f15d5332aa9835 | [log] [tgz] |
|---|---|---|
| author | gio <gio@v1.dodo.cloud> | Thu Aug 01 09:17:28 2024 +0400 |
| committer | gio <gio@v1.dodo.cloud> | Thu Aug 01 11:09:40 2024 +0400 |
| tree | 5a7b20d437e38bfe944881c8ccbd7e1e6701dd31 | |
| parent | 785d8bb21e11d881e2f83d5f296791f688f19321 [diff] |
Network: Update help document to list DNS records to publish Change-Id: I0ba46191b0ad7fee9c1caf5e52cadbd44c73dbf2
diff --git a/core/installer/values-tmpl/certificate-issuer-custom.cue b/core/installer/values-tmpl/certificate-issuer-custom.cue index 961beb5..d2b1e28 100644 --- a/core/installer/values-tmpl/certificate-issuer-custom.cue +++ b/core/installer/values-tmpl/certificate-issuer-custom.cue
@@ -1,3 +1,7 @@ +import ( + "strings" +) + input: { name: string domain: string @@ -38,3 +42,13 @@ } } } + +help: [{ + title: "DNS" + _records: [for ip in global.nameserverIP { "* 10800 IN A \(ip)" }] + _allRecords: strings.Join(_records, "<br>") + contents: """ + Publish following DNS records using \(input.domain) Domain Name Registrar<br><br> + \(_allRecords) + """ +}]