refactor(remco): Update Vault key example, proper quoting

This commit is contained in:
hygienic-books 2023-04-26 02:20:23 +02:00
parent 91d7e727c0
commit 5e772a9eca

View File

@ -17,7 +17,7 @@ export VAULT_TOKEN='hvs.BerthaIsDeNigrAtinGtHEiMP'
export DOCKER_FQDN='containers-3.example.net' export DOCKER_FQDN='containers-3.example.net'
export DOCKER_GROUP_NAME='grafana' export DOCKER_GROUP_NAME='grafana'
export DOCKER_CTX='bi_shenyang' export DOCKER_CTX='bi_shenyang'
export VAULT_KEY='/kv/data/docker/${DOCKER_GROUP_NAME}/'"${DOCKER_CTX}" export VAULT_KEY='/kv/data/for_rbacgroup_remco/docker/'"${DOCKER_GROUP_NAME}"'/'"${DOCKER_CTX}"
``` ```
Treat `DOCKER_CTX` as a team name, purpose or scope. If the same Docker application can run multiple times and serve different tenants then `DOCKER_CTX` is what distinguishes one instance from the other. Here `bi_shenyang` indicates for example a Shenyang-based Business Intelligence team. Treat `DOCKER_CTX` as a team name, purpose or scope. If the same Docker application can run multiple times and serve different tenants then `DOCKER_CTX` is what distinguishes one instance from the other. Here `bi_shenyang` indicates for example a Shenyang-based Business Intelligence team.