Skip to content

OpenBankProject/obp-bootstrap

Repository files navigation

obp-bootstrap

OBP deployment automation script.

Running host/image needs chrome installed and the chromedriver executable available in the PATH.

Authenticating to K8s

If run locally, the script will use your local kubeconfig file to authenticate to the Kubernetes cluster.

Running in the cluster, it will look for "/var/run/secrets/kubernetes.io/serviceaccount/token".

Creating OBP User

The script will assume that the OBP user is already created. If you want to create a new OBP user, set BOOTSTRAP_OBP_USER_EXISTS to false If you have not turned e-mail validation off (setting OBP_AUTHUSER_SKIPEMAILVALIDATION to true) on api side script will fail.

Creating Consumer Keys

Done via Selenium webdriver. Running host/image needs chrome installed and the chromedriver executable available in the PATH. The script will read the existing consumer key pair from the k8s secret objects of the running api explorer and api manager deployments.

It will only create consumer keys if 'VITE_OBP_CONSUMER_KEY' (api explorer) or 'OAUTH_CONSUMER_KEY' api manager) are:

  • either not set
  • set to 'None' or 'some_value' in the k8s secret objects of the running deployments.

The created consumer keys will be patched into the k8s secret objects of the running api explorer and api manager deployments.

About

OBP deployment automation script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •