Skip to content

Commit fea3d88

Browse files
committed
exercise both env provider types in vault test
1 parent 226e0c0 commit fea3d88

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/general/configsources/testdata/vault_config.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
config_sources:
2+
env/with-name:
3+
defaults:
4+
INSERT_ACTION: to.be.overridden
25
vault:
36
endpoint: http://${env:VAULT_HOSTNAME}:8200
47
path: secret/data/kv
@@ -19,10 +22,10 @@ processors:
1922
attributes:
2023
- key: expands-vault-path-value
2124
value: ${vault:data.k0}
22-
action: $INSERT_ACTION
25+
action: ${env:INSERT_ACTION}
2326
- key: also-expands-vault-path-value
2427
value: ${vault:data.k1}
25-
action: ${env:INSERT_ACTION}
28+
action: ${env/with-name:INSERT_ACTION}
2629

2730
service:
2831
pipelines:

0 commit comments

Comments
 (0)