Skip to content

Commit

Permalink
rescoped bosh-exporter-password credhub secret
Browse files Browse the repository at this point in the history
  • Loading branch information
jackjoy-gds committed Sep 29, 2023
1 parent 4528758 commit f9d3b76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion concourse/pipelines/create-bosh-concourse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1891,6 +1891,7 @@ jobs:
BOSH_GW_USER: vcap
BOSH_GW_PRIVATE_KEY: ./ssh-private-key/id_rsa
TARGET_CONCOURSE: ((target_concourse))
DEPLOY_ENV: (( deploy_env ))
run:
path: bash
args:
Expand Down Expand Up @@ -1931,7 +1932,7 @@ jobs:
credhub set --name=/concourse/main/bosh-credhub-ca-cert --type value --value "${CREDHUB_CA_CERT}"
credhub set --name=/concourse/main/bosh-ca-cert --type value --value "${BOSH_CA_CERT}"
credhub set --name=/concourse/main/bosh-client-secret --type value --value "${BOSH_CLIENT_SECRET}"
credhub set --name=/concourse/main/bosh-exporter-password --type value --value "${BOSH_EXPORTER_PASSWORD}"
credhub set --name="/${DEPLOY_ENV}/prometheus/bosh-exporter-password" --type value --value "${BOSH_EXPORTER_PASSWORD}"
credhub set --name=/concourse/main/vcap-password --type value --value "${VCAP_PASSWORD}"
credhub find --path=/
Expand Down

0 comments on commit f9d3b76

Please sign in to comment.