TrueChartsClone/charts/enterprise/traefik/templates
Jean-François Roy 6e2002d7fb
fix(traefik) Fix arguments to fix metrics (#7827)
**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.
-->
⚒️ Fixes  # <!--(issue)-->

The _args template did not handle the standard metrics question and thus
the `--metrics.prometheus.entrypoint=metrics` was not passed to traefik,
resulting in 404 errors in prometheus.

**⚙️ 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

**🧪 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
-->

Run `helm template --namespace=ix-traefik --set
metrics.main.enabled=true .` in the charts directory. Check that `args`
for the traefik pods contains

- "--entryPoints.metrics.address=:9180/tcp"
- "--metrics.prometheus=true"
- "--metrics.prometheus.entrypoint=metrics"

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ 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 corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 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

** App addition**

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

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ 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._

---------

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2023-03-25 10:27:00 +01:00
..
middlewares chore(traefik): Add blacklistMode on geoblock and fix label (#6416) 2023-01-16 11:06:03 +02:00
NOTES.txt BREAKING CHANGE refactor: port all enterprise apps to new common and add apps (#7738) 2023-03-04 13:42:14 +01:00
_args.tpl fix(traefik) Fix arguments to fix metrics (#7827) 2023-03-25 10:27:00 +01:00
_helpers.tpl BREAKING CHANGE refactor: port all enterprise apps to new common and add apps (#7738) 2023-03-04 13:42:14 +01:00
_ingressclass.tpl fix(traefik): actually fix labels (#7763) 2023-03-07 22:00:35 +02:00
_ingressroute.tpl BREAKING CHANGE refactor: port all enterprise apps to new common and add apps (#7738) 2023-03-04 13:42:14 +01:00
_portalhook.tpl feat: move Grafana, Prometheus and Traefik to Enterprise Train (#6372) 2023-01-14 15:09:50 +00:00
_tlsoptions.tpl feat: move Grafana, Prometheus and Traefik to Enterprise Train (#6372) 2023-01-14 15:09:50 +00:00
common.yaml fix(traefik): fix portal button (#7811) 2023-03-19 12:58:22 +02:00