mirror of
https://github.com/containers/podman-compose.git
synced 2025-05-29 22:49:09 +02: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'
|
uid: '103'
|
||||||
gid: '103'
|
gid: '103'
|
||||||
mode: 400
|
mode: 400
|
||||||
|
- source: my_secret
|
||||||
|
target: ENV_SECRET
|
||||||
|
type: env
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
my_secret:
|
my_secret:
|
||||||
@ -43,4 +46,3 @@ secrets:
|
|||||||
name: my_secret_3
|
name: my_secret_3
|
||||||
file_secret:
|
file_secret:
|
||||||
file: ./my_secret
|
file: ./my_secret
|
||||||
|
|
||||||
|
@ -4,3 +4,4 @@ ls -la /run/secrets/*
|
|||||||
ls -la /etc/custom_location
|
ls -la /etc/custom_location
|
||||||
cat /run/secrets/*
|
cat /run/secrets/*
|
||||||
cat /etc/custom_location
|
cat /etc/custom_location
|
||||||
|
env | grep SECRET
|
||||||
|
Loading…
x
Reference in New Issue
Block a user