My route forward is to create the PV and PVC before the helm release and then use a feature of this chart which allows me to specify an existing PVC for use for grafana's persistence. I can then set
retainOnDelete
on it and it should be safe.
polite-napkin-90098
11/16/2022, 7:39 PM
However this doesn't resolve the bigger issue with CRDs not being updated by helm and major version upgrades of helm charts which use them requiring special attention to run CRD updates which seem hard to automate, and destined to break your deployed monitoring stack if you're not careful.