Skip to content

bosch-io/business-partner-agent-chart

 
 

Repository files navigation

Business Partner Agent

Artifact HUB

The Business Partner Agent allows organizations to verify, hold, and issue verifiable credentials.

This chart will install a business partner agent (bpa-core & bpa-acapy) and Postgres.

Open in Gitpod

TL;DR

helm repo add bpa https://labs.hyperledger.org/business-partner-agent-chart/
helm repo update
helm upgrade \
	--set global.ingressSuffix=.example.com \
   	mybpa bpa/bpa -i -n mynamespace

The Chart

Find the chart source and further documentation in subfolder ./charts/bpa.

Chart development

See Issues labled with helm and Publishing docu in our main repository.

Generate chart docu

The tool helm-docs parses metadata from charts and generates a number of sub-templates that can be referenced in a template file README.md.gotmpl.

If you work in a gitpod workspace, helm-docs runs automatically if the templates have changed via pre-commit-hook. On your local machine run

docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest

Linting

In the gitpod workspace or on your local machine run

docker run -it --rm --name ct --volume $(pwd):/data quay.io/helmpack/chart-testing sh -c "cd /data; ct lint --config ct.yaml"

Testing

Prerequisites:

  • k8s cluster, you can used kind or minikube so to install a local cluster
  • Add the bitnami-full-index repository to helm: helm repo add bitnami-full-index https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami

Install ct locally (in the gitpod workspace it is installed already). Configure kubectl to work with a cluster (in the gitpod workspace add a context to the kubeconfig or use an existing one). The following call will create an ephemeral namespace, install the chart with default values and run the helm tests.

ct install --config ct.yaml --all

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Smarty 95.4%
  • Shell 4.6%