summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorZen3515 <7106408+Zen3515@users.noreply.github.com>2023-01-30 15:58:11 +0700
committerZen3515 <7106408+Zen3515@users.noreply.github.com>2023-01-30 16:03:15 +0700
commitb17251334c57c2f6875c19ad4e6c6127aa9e1811 (patch)
tree2937cf711f3641da2d0c174bda72a83ab9b102a1 /interface-definitions
parent3c750f9b12b54d872848f6571deb02245ba8e28a (diff)
downloadvyos-1x-b17251334c57c2f6875c19ad4e6c6127aa9e1811.tar.gz
vyos-1x-b17251334c57c2f6875c19ad4e6c6127aa9e1811.zip
container: T4959: Add container registry authentication config for containers
Diffstat (limited to 'interface-definitions')
-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>