Skip to content

Commit

Permalink
move_secrets_to_credhub moved to genesis
Browse files Browse the repository at this point in the history
No longer have to have the `move_secrets_to_credhub` function as it has
been made generally available via the bash helpers script
  • Loading branch information
dennisjbell committed Jun 16, 2020
1 parent 2f30a53 commit 89f772e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hooks/new
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ use_provided_cert=
declare -a features
features=()

move_secrets_to_credhub() {
local value src="$1" dst="$2"
value="$(safe get "${GENESIS_SECRETS_BASE}$src")"
credhub set -n "/$GENESIS_CREDHUB_ROOT/$dst" -t value -v "$value"
safe rm "${GENESIS_SECRETS_BASE}$src"
}

ask_for_loadbalancer() {
load_balancer= # Assigned below
prompt_for load_balancer "select" \
Expand Down

0 comments on commit 89f772e

Please sign in to comment.