Closed dwinchell closed 2 years ago
Breaking this point out on its own - Vault has all values currently stored in GitHub Actions secrets
Created a script that looks like below and stored it within the Google Drive team folder. Every time vault is stood up, this script needs run. It can be ran and reran and not hurt anything.
#!/bin/bash
# Configure Vault Secrets
oc exec -n vault -it vault-0 -- vault kv put secret/github pat=**********
oc exec -n vault -it vault-0 -- vault kv put secret/registry0 host=registry.access.redhat.com user=********** \
password=**********
oc exec -n vault -it vault-0 -- vault kv put secret/registry1 host=quay.io user=********** \
password=**********
Note: the load-vault script was moved to our shared vault instead of the google team folder.
Acceptance Criteria:
Notes: