Closed suberti-ads closed 1 year ago
Dear @suberti-ads,
The error comes from this file: /home/suberti/Documents/Git/rs-config/apps/dashboardoperation/json/1-cluster-overview.json
This file seems to have some double brackets in it and ansible will try to use this file as a template, like all the files in the folder.
Two solutions:
kubectl apply -n monitoring /home/suberti/Documents/Git/rs-config/apps/dashboardoperation/1-cluster-overview.yaml
)IVV_CCB_2022_w41 : Under Analysis
IVV_CCB_2022_w42 : Still under analysis
Following SPRINT 14 review, we were said that a solution has been found. We are wainting for @edepremare-cs feed-back.
IVV_CCB_2022_w43 : Still under analysis
In the latest release (1.3.0), the app deployment will only run its templating on the files located at the root of the app's directory. Therefore it will be possible to place any file in a subdirectory (json in this issue) and it will not throw any error.
IVV_CCB_2022_w44: Already corrected in SPRINT 14. Accepted CS (for traceability), priority minor
CS_CCB_2023_w05 : Icebox
RSRRv2_SystemCCB : obsolete. A solution for dashboard persistance on disk is under development.
Environment:
Current Behavior: Following procedure: https://github.com/COPRS/infrastructure/blob/main/docs/user_manuals/how-to/Grafana%20operator%20workflow.md json file has been exported: 1-cluster-overview.json.tar.gz
Following sample provided here: https://github.com/COPRS/infrastructure/blob/main/apps/autoscaling/grafana-dashboards.yaml
We should write grafanadashbord definition like this:
So we apply following configuration with exported fole
Hereafter kustomize configuration used
update failed:
Hereafter verbose error:
Expected Behavior: Ansible playbook successfully finish. GrafanaDashboard has been created in kubenetes.
Bug Generic Definition of Ready (DoR)
Bug Generic Definition of Done (DoD)