Files
charts/template
Orgad Shaneh 3397e5ebd5 [template] Use custom probes if given (#12573)
Without this change, in order to use a custom probe, the user has to
specify the probe parameters, and also must specify for the original
probe "enabled: false".

Issue: #12354
Signed-off-by: Orgad Shaneh <orgad.shaneh@audiocodes.com>

Signed-off-by: Orgad Shaneh <orgad.shaneh@audiocodes.com>
2022-09-19 23:18:38 +00:00
..
2020-12-14 09:17:49 +01:00

This directory contains a basic scaffolding to serve as the basis for creating a new chart.

Some of the items that need to be implemented are:

  • commonAnnotations
  • commonLabels
  • imagePullSecret
  • extraDeploy
  • resources.requests
  • resources.limits
  • livenessProbe
  • readinessProbe
  • customLivenessProbe
  • customReadinessProbe
  • podLabels
  • affinity
  • nodeSelector
  • tolerations (that would override the default one)
  • podAnnotations
  • priorityClassName
  • lifecycleHooks
  • sidecars
  • initContainers
  • extraEnvVars
  • extraEnvVarsCM
  • extraEnvVarsSecret
  • command (which would override the default one)
  • args (which would override the default one)
  • extraVolumes
  • extraVolumeMounts
  • updateStrategy
  • podSecurityContext
  • containerSecurityContext

Also it is necessary to use the bitnami/common chart to standarize some of the above items.

⚠️ Take into account this is just an example to follow, depending on the specific use case you will need to remove, add or modify those templates, beyond replacing the placeholders %%FOO%%