Skip to content

Incorrect warning when upgrading from 1.10 to 2.0 #171

@dandersonsw

Description

@dandersonsw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions