charts

common-charts

Helm toolbox providing common chart templates

Installation

In your Chart.yaml, just add the following dependencies:

dependencies:
  ...
  - name: common
    repository: https://gildas.github.io/charts
    version: ~1.0.0

Then enjoy the template definitions in your own templates!

Usage

For example, adding the usual names, labels, and selectors to a Deployment:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: 
  labels:
spec:
  selector:
    matchLabels:
    template:
      metadata:
         ...
         labels:
      spec:
        ...
        serviceAccountName: 
        containers:
          - ...
            image: 
            ...
            env:
              - name:  MYVAR
                value: "myvalue"

Configuration

Many template macro will be configuration via the values.yaml file of your chart. When using umbrella charts, some macros will allow global overriding of their configuration. The global provided values will override the local values of each sub-chart.

Here is a list of these macros: