From df58e083979a40df8c1a1391b82b2e4d856225dd Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 1 Apr 2023 15:43:11 +0200 Subject: 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. (cherry picked from commit fe82d86d3e87cb8d92ebc9d0652c08e3dd79a12c) --- interface-definitions/container.xml.in | 11 +++++++---- interface-definitions/include/generic-password.xml.i | 15 +++++++++++++++ interface-definitions/include/generic-username.xml.i | 15 +++++++++++++++ 3 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 interface-definitions/include/generic-password.xml.i create mode 100644 interface-definitions/include/generic-username.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index 91fb4dba0..f092ad9bb 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -368,13 +368,16 @@ - + - Registry Name (default: docker.io, quay.io) - + Registry Name docker.io quay.io - + + #include + #include + + diff --git a/interface-definitions/include/generic-password.xml.i b/interface-definitions/include/generic-password.xml.i new file mode 100644 index 000000000..76d5f12d8 --- /dev/null +++ b/interface-definitions/include/generic-password.xml.i @@ -0,0 +1,15 @@ + + + + Password used for authentication + + txt + Password + + + [[:ascii:]]{1,128} + + Password is limited to ASCII characters only, with a total length of 128 + + + diff --git a/interface-definitions/include/generic-username.xml.i b/interface-definitions/include/generic-username.xml.i new file mode 100644 index 000000000..678f30ddf --- /dev/null +++ b/interface-definitions/include/generic-username.xml.i @@ -0,0 +1,15 @@ + + + + Username used for authentication + + txt + Username + + + [[:ascii:]]{1,128} + + Username is limited to ASCII characters only, with a total length of 128 + + + -- cgit v1.2.3