mirror of
https://github.com/containers/podman-compose.git
synced 2025-03-14 23:19:16 +01:00
Update tests for type=env secret
Signed-off-by: Brett Calliss <brett@obligatory.email>
This commit is contained in:
parent
546cad5171
commit
f06975b346
@ -31,6 +31,9 @@ services:
|
||||
uid: '103'
|
||||
gid: '103'
|
||||
mode: 400
|
||||
- source: my_secret
|
||||
target: ENV_SECRET
|
||||
type: env
|
||||
|
||||
secrets:
|
||||
my_secret:
|
||||
@ -43,4 +46,3 @@ secrets:
|
||||
name: my_secret_3
|
||||
file_secret:
|
||||
file: ./my_secret
|
||||
|
||||
|
@ -4,3 +4,4 @@ ls -la /run/secrets/*
|
||||
ls -la /etc/custom_location
|
||||
cat /run/secrets/*
|
||||
cat /etc/custom_location
|
||||
env | grep SECRET
|
||||
|
Loading…
Reference in New Issue
Block a user