Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 3.22 KB

DESIGN_DECISIONS.md

File metadata and controls

40 lines (22 loc) · 3.22 KB

Bitnami Helm charts design decisions

The following document is meant to log all reasoning and design decisions with respect to the Bitnami Helm charts.

Use the following format for contributing to this document:

  ## YYYY-MM-DD: <Title for the design decision>

  **TL;DR:** <brief summary> 

  <Reasoning and explanation, putting any related issues and PRs (if any)>

2021-02-25: Replace bitnami/minideb by bitnami/bitnami-shell

TL;DR: bitnami/minideb is not used on auxiliar containers (such as init containers or sidecar containers) anymore. bitnami/bitnami-shell will be used from now on, instead.

The bitnami/minideb image started being a good fit for auxiliar containers (see why use minideb section). However, several of these containers required non trivial packages to be present (e.g. sysctl). We can argue that many of these requirements would be a good-to-have. Nevertheless, we aim to keep bitnami/minideb very light-weight and, more important, with a very small vulnerability surface.

Hence, instead of adding this good-to-have delta to bitnami/minideb, we have developed bitnami/bitnami-shell. This allows us to keep minideb small and focused, which is a good quality to build other images on top, while our charts can use an enriched container with useful system packages or useful shell scripts.

2021-01-20: Removal of values-production.yaml files

TL;DR: The values-production.yaml files are not supported anymore in favor of providing flexibility and documentation to customize the default values.yaml

Some of the Bitnami Helm Charts (40 of 80) contain a values-production.yaml file apart from the values.yaml. The content of both values files is practically the same but the production ones have different default values in some parameters, being the most common metrics enabled, number of replicas, forced to specify a password, forced a URL, TLS enabled, and more.

There are no clear guidelines as to what is considered "production", as this concept of "production" varies according to the use case or need of each user. This is the principal reason why the Bitnami team is planning to remove the values-production.yaml file in favor of providing flexibility and documentation so each user can customize the default values.yaml to their particular needs.

Apart from that, there are other reasons behind this decision such as the lack of proper tests covering custom values files like the values_production.yaml, difficulty to maintain in sync values.yaml and values-production.yaml, need to place the values file in the host or specify it via URL, among others.

Issue: bitnami/charts#5095

2021-01-20: Creation of the design decisions document

TL;DR: In order to improve the transparency as well as making the onboarding easier for contributors, we decided to create this document.

PR: https://github.com/bitnami/charts-docs/pull/2