@sgcg10 here is a proposal to achieve ephemeral storage. This code change leverages the .Values.persistence object instead of introducing it in the deployment object (Because it really does the same in reality). I simply added the ephemeral attribute to it which will dictate if:
The volume should be defined straight in the deployment object
The volume should be a classic PVC
The reason I build it this way is because the proposed version you made in https://github.com/Lowess/helm-charts/pull/51/files was still breaking the volumes: section that is populated by the help function {{- include "monochart.files.volumes" . | nindent 6 }}
@sgcg10 here is a proposal to achieve ephemeral storage. This code change leverages the
.Values.persistence
object instead of introducing it in the deployment object (Because it really does the same in reality). I simply added theephemeral
attribute to it which will dictate if:The reason I build it this way is because the proposed version you made in https://github.com/Lowess/helm-charts/pull/51/files was still breaking the
volumes:
section that is populated by the help function{{- include "monochart.files.volumes" . | nindent 6 }}