mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
containers-schema: allow to specify ui-secret and show in aio interface
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
bc358f32b1
commit
04ef45667f
12 changed files with 38 additions and 3 deletions
|
|
@ -244,6 +244,11 @@ readonly class ContainerDefinitionFetcher {
|
|||
$secrets = $entry['secrets'];
|
||||
}
|
||||
|
||||
$uiSecret = '';
|
||||
if (isset($entry['ui_secret'])) {
|
||||
$uiSecret = $entry['ui_secret'];
|
||||
}
|
||||
|
||||
$devices = [];
|
||||
if (isset($entry['devices'])) {
|
||||
$devices = $entry['devices'];
|
||||
|
|
@ -316,6 +321,7 @@ readonly class ContainerDefinitionFetcher {
|
|||
$variables,
|
||||
$dependsOn,
|
||||
$secrets,
|
||||
$uiSecret,
|
||||
$devices,
|
||||
$enableNvidiaGpu,
|
||||
$capAdd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue