/charts-1

The IBM/charts repository provides helm charts for IBM and Third Party middleware.

Primary LanguageSmartyOtherNOASSERTION

IBM Cloud Charts Helm Repository

Overview

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 new helm charts.

Development

Configure the kubernetes command line interface for IBM® Cloud private®

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.

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.

Building the Chart Repository and associated image

A Makefile is included which allows you to package charts, generate the chart repository index, and package the entire repo into a docker image.

Build stable charts

make charts

Build charts under incubation

make charts-incubating

Build the stable repository

make repo

Build the incubation repository

make repo-incubating

Build docker image with the contents of the repository

make image release

Run the chart repository server

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.