mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
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:
committed by
GitHub
parent
c53d709529
commit
bc1f05b22c
15
template/CHART_NAME/templates/configmap.yaml
Normal file
15
template/CHART_NAME/templates/configmap.yaml
Normal 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
|
||||
Reference in New Issue
Block a user