Please use for recent updates:
https://docs.onap.org/projects/onap-oom/en/latest/oom_user_guide.html
With H-Release helm3 is mandatory for oom based deployment.
...
Code Block | ||
---|---|---|
| ||
curl https://raw.githubusercontent.com/helm/chartmuseum/main/scripts/get-chartmuseum | bash
mkdir ~/chartstorage
chartmuseum --debug --port=8080 \
--storage="local" \
--storage-local-rootdir="~/chartstorage" &
helm repo add local http://localhost:8080 |
Example docker-compose:TODO
Code Block |
---|
version: '3.1'
services:
chartmuseum:
image: docker.io/bitnami/chartmuseum:0-debian-10
ports:
- '8080:8080'
volumes:
- chartmuseum_data:/bitnami/data
volumes:
chartmuseum_data:
driver_opts:
type: none
device: /var/lib/docker/chartmuseum
o: bind |
Code Block |
---|
sudo mkdir /var/lib/docker/chartmuseum
sudo docker-compose up -d
helm repo add local http://localhost:8080
helm repo list
|
Install postgress
example for docker-compose:
...
Code Block | ||||
---|---|---|---|---|
| ||||
# database.env POSTGRES_USER=helm POSTGRES_PASSWORD=changeme POSTGRES_DB=helm |
Code Block | ||
---|---|---|
| ||
sudo mkdir /var/lib/docker/postgres sudo docker-compose up -d export HELM_DRIVER=sql export HELM_DRIVER_SQL_CONNECTION_STRING=postgresql://helm:changeme@localhost:5432/helm?sslmode=disable |
...