Skip to content
Stéphane Brunner edited this page Jun 1, 2024 · 15 revisions

Welcome to the helm-custom-pod wiki!

This project will offer everything needed to host a simple application in Kubernetes, just by writing value files.

The advantage of value files is that's easy to chain them, for example, to have a big common part between integration and production.

This HELM chart is as near as possible to the original Kubernetes files, the major things he does are:

  • Transform some list into dict to be able to override them.
  • Specific env definition to be able to override them.
  • Specific image definition to be able to pin an image to a hash and have the tag in the metadata ConfigMap.
  • Add the following standard labels to all the components:
    • app.kubernetes.io/name
    • app.kubernetes.io/instance
    • app.kubernetes.io/component
    • helm.sh/chart
    • app.kubernetes.io/version
    • app.kubernetes.io/managed-by
  • Link the components using the standard following labels:
    • app.kubernetes.io/name
    • app.kubernetes.io/instance
    • app.kubernetes.io/component
  • Use the name self or self-metadata on Secret/ConfigMap selector (env and volumes) to select internal Secret/ConfigMap and respectively ConfigMap metadata.
  • Automatically used configured Docker registries Secret configuration.
  • Be able to create a metadata ConfigMap with:
    • CHART_NAME with the chert name
    • RELEASE_NAME with the release name
    • RELEASE_NAMESPACE with the namespace
    • WEB_HOST with the host of the first ingress
    • SERVICE_<SERCICE>_NAME with the service name
    • SERVICE_<SERVICE>_CONTAINER_<CONTAINER>_IMAGE_TAG with the tag of the service container image.

It can create:

Examples:

Reference Documentation.

Clone this wiki locally