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

RHPAM 7.7 template uses different parameters #5

Open
gnunn1 opened this issue May 13, 2020 · 0 comments
Open

RHPAM 7.7 template uses different parameters #5

gnunn1 opened this issue May 13, 2020 · 0 comments

Comments

@gnunn1
Copy link

gnunn1 commented May 13, 2020

The provision.sh script is configured for the 7.6 and earlier templates however as far as I can tell the 7.7 template is using different parameters which is causing the script to fail. The parameters being used are here:

https://github.com/jbossdemocentral/rhpam7-order-it-hw-demo/blob/pam77-upgrade/support/openshift/provision.sh#L331

However things like KIE_ADMIN_USER and KIE_ADMIN_PWD have been replaced with credentials. I've modified things as follows to deploy it:

  oc create secret generic rhpam-credentials --from-literal=KIE_ADMIN_USER=$KIE_ADMIN_USER --from-literal=KIE_ADMIN_PWD=$KIE_ADMIN_PWD

  oc new-app --template=rhpam$PAM7_VERSION-authoring \
  -p APPLICATION_NAME="$ARG_DEMO" \
  -p IMAGE_STREAM_NAMESPACE="$IMAGE_STREAM_NAMESPACE" \
  -p IMAGE_STREAM_TAG="$IMAGE_STREAM_TAG" \
  -p CREDENTIALS_SECRET="rhpam-credentials" \
  -p BUSINESS_CENTRAL_HTTPS_SECRET="businesscentral-app-secret" \
  -p KIE_SERVER_HTTPS_SECRET="kieserver-app-secret" \
  -p BUSINESS_CENTRAL_MEMORY_LIMIT="2Gi"

However I'm not sure about the BC Maven credentials to use in 7.7 since they are not in the template?

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