ansibleplaybookbundle / helm-bundle-base

Apache License 2.0
1 stars 5 forks source link

helm-bundle-base

This base image for a Service Bundle uses a provided helm chart to provision or deprovision a service.

Getting Started

helm2bundle

The easiest option is to use the helm2bundle tool, which utilizes this base image.

Direct Use

Create a new Dockerfile for your service bundle using the content below. Change the name of the chart archive as appropriate. Do not change the destination filename.

FROM ansibleplaybookbundle/helm-bundle-base

LABEL "com.redhat.apb.spec"=\

COPY redis-1.1.12.tgz /opt/chart.tgz

ENTRYPOINT ["entrypoint.sh"]

Copy apb.yml.example to $YOUR_BUNDLE_PATH/apb.yml and modify values as you see fit.

Build and and push the image like a normal service bundle.

Tiller

Tiller is optional. If tiller is deployed in the target namespace, it will be used to do the provision.

If tiller is not found, helm template will be used to create a manifest, which will be passed into kubectl create.