From 5bc2cd9be4f7465a6f5909af872b6809b7b48fc0 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Wed, 1 Jun 2022 09:06:09 +0400 Subject: [PATCH] dns_selectel --- backend/internal/dnsproviders/common.go | 1 + backend/internal/dnsproviders/dns_selectel.go | 18 ++++++++++++++++++ frontend/src/locale/src/en.json | 3 +++ 3 files changed, 22 insertions(+) create mode 100644 backend/internal/dnsproviders/dns_selectel.go diff --git a/backend/internal/dnsproviders/common.go b/backend/internal/dnsproviders/common.go index a0bf9633..fdbd0ee4 100644 --- a/backend/internal/dnsproviders/common.go +++ b/backend/internal/dnsproviders/common.go @@ -63,6 +63,7 @@ func List() []Provider { getDNSMe(), getDNSNamecom(), getDNSNamesilo(), + getDNSSelectel(), getDNSServercow(), getDNSOne(), getDNSPDNS(), diff --git a/backend/internal/dnsproviders/dns_selectel.go b/backend/internal/dnsproviders/dns_selectel.go new file mode 100644 index 00000000..de0328c7 --- /dev/null +++ b/backend/internal/dnsproviders/dns_selectel.go @@ -0,0 +1,18 @@ +package dnsproviders + +func getDNSSelectel() Provider { + return Provider{ + AcmeshName: "dns_selectel", + Schema: commonKeySchema, + Fields: []providerField{ + { + Name: "API Key", + Type: "password", + MetaKey: "api_key", + EnvKey: "SL_Key", + IsRequired: true, + IsSecret: true, + }, + }, + } +} diff --git a/frontend/src/locale/src/en.json b/frontend/src/locale/src/en.json index 2eb1c9af..38660e35 100644 --- a/frontend/src/locale/src/en.json +++ b/frontend/src/locale/src/en.json @@ -89,6 +89,9 @@ "acmesh.dns_pdns": { "defaultMessage": "PowerDNS" }, + "acmesh.dns_selectel": { + "defaultMessage": "Selectel" + }, "acmesh.dns_servercow": { "defaultMessage": "Servercow" },