mirror of
https://github.com/openfaas/faas.git
synced 2025-06-14 19:26:48 +00:00
Suppress stdout when creating secrets
- copies behaviour from bash installer Signed-off-by: John McCabe <john@johnmccabe.net>
This commit is contained in:
parent
785bd6d69b
commit
cb4aa8f352
@ -36,7 +36,7 @@ if (Get-Command docker -errorAction SilentlyContinue)
|
||||
}
|
||||
else
|
||||
{
|
||||
$user | docker secret create $user_secret -
|
||||
$user | docker secret create $user_secret - | out-null
|
||||
}
|
||||
|
||||
$password_secret = "basic-auth-password"
|
||||
@ -47,7 +47,7 @@ if (Get-Command docker -errorAction SilentlyContinue)
|
||||
}
|
||||
else
|
||||
{
|
||||
$secret | docker secret create $password_secret -
|
||||
$secret | docker secret create $password_secret - | out-null
|
||||
Write-Host "[Credentials]"
|
||||
Write-Host " username: admin"
|
||||
Write-Host " password: $secret"
|
||||
|
Loading…
x
Reference in New Issue
Block a user