- Make sure to bring the following
- Git Repo: https://github.com/insights-onprem/cost-onprem-chart
- helm binary
- jq and kubectl must be installed on host from which chart is deployed
- Not required
scripts/deploy_rhbk.shscripts/deploy-kafka.shUSE_LOCAL_CHART=true LOCAL_CHART_PATH=/path/to/helm/chart/in/git/repo \
S3_CLI_IMAGE=myregistry.com:8443/amazon/aws-cli:2.34.3 \
./scripts/install-helm-chart.sh- DO NOT try to use the S3 ENV Vars. They only support ODF. Must update the values.yaml file
- Must create S3 token and secrets before running the script like
oc new-project cost-onprem
oc create secret generic "cost-onprem-storage-credentials" \
-n "cost-onprem" \
--from-literal=access-key="$AWS_ACCESS_KEY_ID" \
--from-literal=secret-key="$AWS_SECRET_ACCESS_KEY"USE_LOCAL_CHART=true LOCAL_CHART_PATH=/path/to/helm/chart/in/git/repo \
S3_CLI_IMAGE=myregistry.com:8443/amazon/aws-cli:2.34.3 \
./scripts/install-helm-chart.sh