Git Product home page Git Product logo

lib-chart's Introduction

Helm 3 - Library Chart

Setup a chart to use a library chart based on Helm 3 library charts

Overview

Following the guidance from Helm 3 library charts this repo represents a simple chart, mychart, that uses a library chart mylibchart which itself uses the common Helm helper chart as a dependency to acquire some common functions i.e. common.util.merge.

Add incubator chart repo to client

The list of repos added to the local client can be discovered by helm repo list. If it doesn't include incubator it will need to be added.

In order to use the external dependency of the common helper chart the incubator chart repository needs to be added to the repos accessible by the client. This is achieved via helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/

Update dependencies

As changes are made to the local library chart the consuming chart needs to be instructed to update to the latest version. This is achieved via helm dependency update (within the root of the chart directory i.e. mychart)

Test chart install

Test the chart installation - helm install libdemo mychart/ --debug --dry-run. The configmap should include the value added in mychart (which have overridden the default, empty values set in mylibchart).

The chart can be installed in to a cluster if so wished but it is not necessary to provide the concept of library charts is working.

lib-chart's People

Contributors

st3v3nhunt avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.