]> git.proxmox.com Git - proxmox-acme.git/commitdiff
dns schema: move fields one level deeper
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 May 2020 17:18:58 +0000 (19:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 May 2020 17:18:58 +0000 (19:18 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/ACME/DNSChallenge.pm

index 2bef36963f0ac2cc5b69d46031d8947415c98bec..3bf8300ab116e2342c7cbbe53f281a57348b941c 100644 (file)
@@ -100,39 +100,45 @@ my $plugins = {
     'openprovider' => {},
     'opnsense' => {},
     'ovh' => {
-       'OVH_END_POINT' => {
-           description => "The OVH endpoint",
-           default => "ovh-eu",
-           optional => 1,
-           type => 'string',
-       },
-       'OVH_AK' => {
-           description => "The application key.",
-           type => 'string',
-       },
-       'OVH_AS' => {
-           description => "The application secret.",
-           type => 'string',
-       },
-       'OVH_CK' => {
-           description => "The consumer key.",
-           optional => 1,
-           type => 'string',
+       name => 'OVH',
+       fields => {
+           'OVH_END_POINT' => {
+               description => "The OVH endpoint",
+               default => "ovh-eu",
+               optional => 1,
+               type => 'string',
+           },
+           'OVH_AK' => {
+               description => "The application key.",
+               type => 'string',
+           },
+           'OVH_AS' => {
+               description => "The application secret.",
+               type => 'string',
+           },
+           'OVH_CK' => {
+               description => "The consumer key.",
+               optional => 1,
+               type => 'string',
+           },
        },
     },
     'pdns' => {
-       'PDNS_Url' => {
-           description => "The PowerDNS API endpoint.",
-           type => 'string',
-       },
-       'PDNS_ServerId'=> {
-           type => 'string',
-       },
-       'PDNS_Token'=> {
-           type => 'string',
-       },
-       'PDNS_Ttl'=> {
-           type => 'integer',
+       name => 'PowerDNS server',
+       fields => {
+           'PDNS_Url' => {
+               description => "The PowerDNS API endpoint.",
+               type => 'string',
+           },
+           'PDNS_ServerId'=> {
+               type => 'string',
+           },
+           'PDNS_Token'=> {
+               type => 'string',
+           },
+           'PDNS_Ttl'=> {
+               type => 'integer',
+           },
        },
     },
     'pleskxml' => {},