Closed pieterv-icloud-com closed 3 months ago
All grafana dashboard configmaps cause the same issue
Thanks for posting this! @bacherfl will look into it and check what's going on.
Hi @pieterv-icloud-com ! Thanks for submitting the issue - Please try the kubectl apply
command with the URL to the raw file, i.e. like the following:
kubectl apply -f https://raw.githubusercontent.com/keptn/lifecycle-toolkit/main/dashboards/grafana/configmap/grafana-dashboard-keptn-workloads.yaml
Thanks for that, I got 2 working now except for this one:
kubectl apply -f https://raw.githubusercontent.com/keptn/lifecycle-toolkit/main/dashboards/grafana/configmap/grafana-dashboard-keptn-applications.yaml
error: error parsing https://raw.githubusercontent.com/keptn/lifecycle-toolkit/main/dashboards/grafana/configmap/grafana-dashboard-keptn-applications.yaml: error converting YAML to JSON: yaml: line 863: did not find expected key
Looks like that dashboard is missing some indentation on the dashboard JSON
Looks like that dashboard is missing some indentation on the dashboard JSON
You're right, the formatting was off in that file - I just created a PR that should fix that
@pieterv-icloud-com the fix PR is merged, please double check if it works for you now and post here if you have any more issues with this :)
Thx, just tested this and it works 100% now, thanks for the quick turnaround
awesome! happy to help!
Running:
returns the following error: