The IBM/charts
repository provides helm charts for IBM and Third Party middleware.
The repository is organized as follows:
- The
master
branch serves as a landing ground for newhelm
charts.
To access the kubernetes apiserver
, you will need an authorization token and the kubectl
as the access client. In IBM® Cloud private®, authorization tokens can be requested via the dashboard or the REST API.
-
Dashboard: Get authorization tokens via Dashboard
-
KnowledgeCenter: Accessing the APIs.
Once you have an authorization token, you can configure kubectl
:
export MASTER_IP=10.x.x.x
export CLUSTER_NAME=cloud-private
export AUTH_TOKEN=$(curl -k -u admin:admin https://$MASTER_IP:8443/acs/api/v1/auth/token)
kubectl config set-cluster $CLUSTER_NAME --server=https://$MASTER_IP:8001 --insecure-skip-tls-verify=true
kubectl config set-context $CLUSTER_NAME --cluster=$CLUSTER_NAME
kubectl config set-credentials user --token=$AUTH_TOKEN
kubectl config set-context $CLUSTER_NAME --user=user --namespace=default
kubectl config use-context $CLUSTER_NAME
Then configure your helm command line interface to work with helm
.
A Makefile
is included which allows you to package charts, generate the chart repository index, and package the entire repo into a docker image.
make charts
make charts-incubating
make repo
make repo-incubating
make image release
docker run -d --rm -p 9081:80 registry.ng.bluemix.net/mdelder/ibm-charts
curl -vvL localhost:9081/stable/index.yaml
curl -vvL localhost:9081/incubating/index.yaml
Copyright IBM Corporation 2017. All Rights Reserved.