summaryrefslogtreecommitdiff
path: root/interface-definitions/container.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-10 20:38:34 +0100
committerChristian Breunig <christian@breunig.cc>2023-03-10 21:16:44 +0100
commitfe82d86d3e87cb8d92ebc9d0652c08e3dd79a12c (patch)
tree47eb28b4afe3ad104e8542461cde985cec2d125d /interface-definitions/container.xml.in
parentb4af532dd531c23bc1ad84cca290916be55357bf (diff)
downloadvyos-1x-fe82d86d3e87cb8d92ebc9d0652c08e3dd79a12c.tar.gz
vyos-1x-fe82d86d3e87cb8d92ebc9d0652c08e3dd79a12c.zip
container: T4959: add registry authentication option
Container registry CLI node changed from leafNode to tagNode with the same defaults. In addition we can now configure an authentication option per registry.
Diffstat (limited to 'interface-definitions/container.xml.in')
-rw-r--r--interface-definitions/container.xml.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in
index a5940ae17..6947ed500 100644
--- a/interface-definitions/container.xml.in
+++ b/interface-definitions/container.xml.in
@@ -368,13 +368,16 @@
</leafNode>
</children>
</tagNode>
- <leafNode name="registry">
+ <tagNode name="registry">
<properties>
<help>Registry Name</help>
- <multi/>
</properties>
<defaultValue>docker.io quay.io</defaultValue>
- </leafNode>
+ <children>
+ #include <include/interface/authentication.xml.i>
+ #include <include/generic-disable-node.xml.i>
+ </children>
+ </tagNode>
</children>
</node>
</interfaceDefinition>