Files
truecharts/charts/system
Boemeltrein d671927e73 fix(volsync): metrics and dashboard (#33789)
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
Fix Dashboard, so Prometheus is configured as datasource
Fix values so metrics will be scraped, changes read from .
-
https://github.com/backube/volsync/blob/main/helm/volsync/templates/servicemonitor-volsync.yaml
-
https://volsync.readthedocs.io/en/stable/usage/metrics/index.html#metrics-monitoring
-
https://github.com/backube/volsync/blob/5272a5f2e9d3c41066c2d5888412b6ba8cdad072/helm/volsync/templates/deployment-controller.yaml#L64
- Decided to disableAuth for Metrics as I don't know how to make a
ClusterRole via the helm template.

⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->
All tested via my own cluster. 
In the webinterface of prometeus/targets all changes are needed. Added
those step by step.

**📃 Notes:**
<!-- Please enter any other relevant information here -->
All changes will at least dashboard working and metrics are scraped. I
don't see timing of Volsync Replication Duration.
But as I understood sofar you need to set schedules. Which I don't have.
Will check, test and try further when this PR is OK.


**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2025-03-31 23:10:15 +02:00
..