chore(helm): heuristics mount persistence
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
26c8d769b7
commit
7dedafa7b7
2 changed files with 19 additions and 0 deletions
|
|
@ -60,8 +60,16 @@ spec:
|
||||||
containerPort: {{ $val }}
|
containerPort: {{ $val }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.persistence.mounts }}
|
||||||
|
volumeMounts:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
{{- with .Values.persistence.volumes }}
|
||||||
|
volumes:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
||||||
|
|
@ -97,3 +97,14 @@ nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
persistence: {}
|
||||||
|
# # Spec of spec.template.spec.containers[*].volumeMounts
|
||||||
|
# mounts:
|
||||||
|
# - name: kafka-ssl
|
||||||
|
# mountPath: /opt/kafka/ssl
|
||||||
|
# # Spec of spec.template.spec.volumes
|
||||||
|
# volumes:
|
||||||
|
# - name: kafka-ssl
|
||||||
|
# secret:
|
||||||
|
# secretName: kafka-ssl
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue