summaryrefslogtreecommitdiff
path: root/interface-definitions/container.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-09 07:30:59 +0100
committerGitHub <noreply@github.com>2023-02-09 07:30:59 +0100
commit10ab68a018dd137ee9a6350c131f65ec6e12e446 (patch)
treef8949f3e65c3772599eabe4bf219d60d22d6709c /interface-definitions/container.xml.in
parent707688894c1a02953b62eadb318b0ee398c799dd (diff)
parentb17251334c57c2f6875c19ad4e6c6127aa9e1811 (diff)
downloadvyos-1x-10ab68a018dd137ee9a6350c131f65ec6e12e446.tar.gz
vyos-1x-10ab68a018dd137ee9a6350c131f65ec6e12e446.zip
Merge pull request #1790 from Zen3515/current-add-container-login
container: T4959: Add container registry authentication config for containers
Diffstat (limited to 'interface-definitions/container.xml.in')
-rw-r--r--interface-definitions/container.xml.in20
1 files changed, 19 insertions, 1 deletions
diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in
index b61664125..0d1986a72 100644
--- a/interface-definitions/container.xml.in
+++ b/interface-definitions/container.xml.in
@@ -332,9 +332,27 @@
</leafNode>
</children>
</tagNode>
- <leafNode name="registry">
+ <tagNode name="registry">
<properties>
<help>Registry Name</help>
+ </properties>
+ <children>
+ #include <include/generic-disable-node.xml.i>
+ <leafNode name="username">
+ <properties>
+ <help>User name for authentication</help>
+ </properties>
+ </leafNode>
+ <leafNode name="password">
+ <properties>
+ <help>Password for authentication</help>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
+ <leafNode name="default-registry">
+ <properties>
+ <help>Default registry to use alongside registry configuration</help>
<multi/>
</properties>
<defaultValue>docker.io quay.io</defaultValue>