The chart supports extraVolumes and extraVolumeMounts, but if I need to mount a ConfigMap or Secret, I have to create it separately outside the chart.
It would be nice to have extraObjects in the chart values, similar to how many other Helm charts handle this (e.g. Bitnami charts), so I can define those resources in the same Helm release.
extraObjects:
- apiVersion: v1
kind: ConfigMap
metadata:
name: my-config
data:
app.conf: |
something here
extraVolumes:
- name: my-config
configMap:
name: my-config
extraVolumeMounts:
- name: my-config
mountPath: /etc/app.conf
subPath: app.conf
readOnly: true
Without this, I have to manage the ConfigMap outside of Helm, which is annoying and means it doesn't get cleaned up with helm uninstall.
The chart supports
extraVolumesandextraVolumeMounts, but if I need to mount aConfigMaporSecret, I have to create it separately outside the chart.It would be nice to have
extraObjectsin the chart values, similar to how many other Helm charts handle this (e.g. Bitnami charts), so I can define those resources in the same Helm release.Without this, I have to manage the ConfigMap outside of Helm, which is annoying and means it doesn't get cleaned up with helm uninstall.