Skip to content
Snippets Groups Projects
Commit cb4aa8f3 authored by John McCabe's avatar John McCabe Committed by Alex Ellis
Browse files

Suppress stdout when creating secrets


- copies behaviour from bash installer

Signed-off-by: default avatarJohn McCabe <john@johnmccabe.net>
parent 785bd6d6
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment