Files
charts/template/README.md
Carlos Rodríguez Hernández bc1f05b22c Add chart scaffolding to serve as a guide when creating new charts (#4074)
* Add chart scaffolding to serve as a guide when creating new charts

* Improve README

* Update template/CHART_NAME/templates/NOTES.txt

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>

* Update template/CHART_NAME/templates/deployment.yaml

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>

* Fix tolerations

* Add clusterDomain

* Replace foo: bar in secret

* Update template/CHART_NAME/templates/deployment.yaml

Co-authored-by: Jose Antonio Carmona <jcarmona@bitnami.com>

* Improve probes and extraEnvVars

* Add replicas to deployment and statefulset

* Improve securityContext

* Improve command

* Improve probes

* Add service type

* Update template/CHART_NAME/templates/deployment.yaml

Co-authored-by: Jose Antonio Carmona <jcarmona@bitnami.com>

* Add podAffinity, podAntiAffinity, and nodeAffinity

* Remove readOnly

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>
Co-authored-by: Jose Antonio Carmona <jcarmona@bitnami.com>
2020-10-23 16:05:11 +02:00

37 lines
1.0 KiB
Markdown

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.
:warning: Take into account this is just an example to follow, depending on the specifc use case you will need to remove, add or modify those templates, beyond replacing the placeholders `%%FOO%%`