-
Notifications
You must be signed in to change notification settings - Fork 524
Description
I am using the latest operator (0.25.5) and when I enable the creation of Grafana dashboards, then I am getting the following error:
The ConfigMap "clickhouse-operator-dashboards" is invalid: metadata.annotations: Too long: may not be more than 262144 bytes
I am using the following values.yaml when applying the operator Helm chart:
nameOverride: clickhouse-operator
serviceMonitor:
enabled: true
additionalLabels:
release: kube-prometheus-stack
team: "platform"
dashboards:
enabled: true
additionalLabels:
grafana_dashboard: "1"
release: kube-prometheus-stack
grafana_folder: "clickhouse"Currently my workaround is to output the manifests to disk and then I break out the dashboard ConfigMap into its own yaml file so I can apply it using the --server-side flag:
kubectl apply --server-side -f dashboards.yaml
However, I noticed that even then the dashboards were not put into the specified "clickhouse" folder.
It seems that the setting grafana_folder: "clickhouse" doesn't do anything. I pulled the chart locally and did a search across the entire chart for grafana_folder and indeed this value is not being used in any of the templates of the chart at the moment.
Hope that helps! Let me know if there is any more information I can provide. Thank you for creating this operator and making it OSS!