Closed gecube closed 2 weeks ago
Thanks for reporting this. This is definitely something we're interested in merging, but currently not our highest priority. If you have the time, we'd appreciate a PR. Otherwise, this will have to wait until one of us has some downtime
Revisiting this issue, I've checked against my installation where descriptions are present. How did you install the operator to test this?
We had issues with missing descriptions before, so I'd like to make sure they are still present in all installation methods (see #1567 for context)
@theSuess thanks. I will check and report back to you.
@theSuess So I found the reason.
I used https://github.com/aenix-io/cozystack where the grafana-operator
of old version (~ half a year ago) was used. Unfortunately, helm upgrade for some reason DOES NOT updates CRDs.
https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#some-caveats-and-explanations
There is no support at this time for upgrading or deleting CRDs using Helm. This was an explicit decision after much community discussion due to the danger for unintentional data loss. Furthermore, there is currently no community consensus around how to handle CRDs and their lifecycle. As this evolves, Helm will add support for those use cases.
The tools like FluxCD and ArgoCD solves this issue with their own features. Like https://fluxcd.io/flux/components/helm/helmreleases/#controlling-the-lifecycle-of-custom-resource-definitions
I think the issue could be closed as there is no good solution for upgrading CRDs with current tools.
Yeah, it really sucks that helm doesn't do CRD updates. We have the full instructions for manual upgrades in our documenation: https://grafana.github.io/grafana-operator/docs/installation/helm/#upgrading
Thanks for taking a closer look at what caused this in your case!
Like a DevOps I expect that
kubectl explain GrafanaDashboard.spec.datasources
would give me some meaningful output. Right not it returnsIt is very basic information. I'd like to see the documentation like for the embedded k8s api resources:
or good and mature operators like FluxCD: