abra/pkg/secret/testdir/compose.yaml
test 99e3ed416f
All checks were successful
continuous-integration/drone/push Build is passing
fix: secret name generation when secretId is not part of the secret name
2023-12-04 21:52:09 +00:00

22 lines
524 B
YAML

---
version: "3.8"
services:
app:
image: nginx:1.21.0
secrets:
- test_pass_one
- test_pass_two
- test_pass_three
secrets:
test_pass_one:
external: true
name: ${STACK_NAME}_test_pass_one_${SECRET_TEST_PASS_ONE_VERSION} # should be removed
test_pass_two:
external: true
name: ${STACK_NAME}_test_pass_two_${SECRET_TEST_PASS_TWO_VERSION}
test_pass_three:
external: true
name: ${STACK_NAME}_pass_three_${SECRET_TEST_PASS_THREE_VERSION} # secretId and name don't match