See https://gist.github.com/rhdh-bot/63cef5cb6285889527bd6a67c0e1c2a9
helm install -n <your-rhdh-project-or-namespace-here> --generate-name https://github.com/rhdh-bot/openshift-helm-charts/raw/developer-hub-1.0-163-CI/charts/redhat/redhat/developer-hub/1.0-163-CI/developer-hub-1.0-163-CI.tgz
cd /tmp; curl -sS -O https://raw.githubusercontent.com/rhdh-bot/openshift-helm-charts/developer-hub-1.0-163-CI/charts/redhat/redhat/developer-hub/1.0-163-CI/developer-hub-1.0-163-CI.tgz
helm repo index . --url https://raw.githubusercontent.com/rhdh-bot/openshift-helm-charts/developer-hub-1.0-163-CI/charts/redhat/redhat/developer-hub/1.0-163-CI/
gh gist edit a8483eb244f9c4286798e85accaa70af -a index.yaml
echo "apiVersion: helm.openshift.io/v1beta1
kind: HelmChartRepository
metadata:
name: rhdh-1.0-163-ci-repo
spec:
connectionConfig:
url: >-
https://gist.githubusercontent.com/nickboldt/a8483eb244f9c4286798e85accaa70af/raw/73672b27d2b0e224e2ed60c469973f473d6785a4/index.yaml
" > /tmp/HelmChartRepository.yml && oc apply -f /tmp/HelmChartRepository.yml; rm -f /tmp/HelmChartRepository.yml
You can also run this to create the above chart repo, with .metadata.name = rhdh-1.0-ci-repo
:
oc apply -f https://gist.githubusercontent.com/kadel/62a4ab324b32d8e81476ac38a8211430/raw/RHDH-CI.yaml
cd /tmp && mkdir -p chartverifier; podman run --rm -i -e KUBECONFIG=/.kube/config -v /home/nboldt/.kube:/.kube:z -v /tmp/chartverifier:/app/chartverifier:z quay.io/redhat-certification/chart-verifier verify --write-to-file https://github.com/rhdh-bot/openshift-helm-charts/raw/developer-hub-1.0-163-CI/charts/redhat/redhat/developer-hub/1.0-163-CI/developer-hub-1.0-163-CI.tgz
echo 'Report in /tmp/chartverifier/report.yaml'
If you need to push a pull secret to your cluster to allow pulling containers ref'd by the helm chart, see https://gist.github.com/nickboldt/84bea28da11ec5aab549c182818356e0