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>
This commit is contained in:
Carlos Rodríguez Hernández
2020-10-23 16:05:11 +02:00
committed by GitHub
parent c53d709529
commit bc1f05b22c
17 changed files with 1003 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: ConfigMap
metadata:
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: %%COMPONENT_NAME%%
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
name: {{ template "common.names.fullname" . }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
data:
%%CONFIG_FILE_NAME%%: |
# Config file