Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect warning when upgrading from 1.10 to 2.0 #171

Open
dandersonsw opened this issue Apr 29, 2021 · 0 comments
Open

Incorrect warning when upgrading from 1.10 to 2.0 #171

dandersonsw opened this issue Apr 29, 2021 · 0 comments

Comments

@dandersonsw
Copy link
Contributor

dandersonsw commented Apr 29, 2021

This warning should say 'You must set params.external_db_username...'

  external_db_user=$(credhub get -n ${GENESIS_CREDHUB_ROOT}/external_db_user -j 2>/dev/null | jq -r '.value')
  if [[ ${external_db_user} != "" ]] ; then
    describe >&2 "#Y{{WARNING}} You must set params.external_db_user to '((external_db_user))' "\
      "in your #C{$GENESIS_ENVIRONMENT.yml} to use the username that was located in vault"
  fi

File with the warning: https://github.com/genesis-community/cf-genesis-kit/blob/main/hooks/migrate-to-2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant