Commit Graph
52 Commits
Author SHA1 Message Date
enix-renovate[bot] b6f58e69a0 fix: update dagger sdk + engine 2026-06-30 18:44:37 +02:00
enix-renovate[bot] 0347819cbb fix: update go modules (patch) 2026-06-30 18:44:08 +02:00
enix-renovate[bot] 766365e907 chore: update renovate docker tag to v43.249.2 2026-06-30 18:43:18 +02:00
enix-renovate[bot] bd9778e4ce chore: update trivy docker tag to v0.72.0 2026-06-30 18:42:12 +02:00
enix-renovate[bot] 9453000f47 chore: update alpine docker tag to v3.24.1 2026-06-30 18:41:17 +02:00
enix-renovate[bot] c650c98cfe chore: update helm docker tag to v4.2.2 2026-06-30 18:15:20 +02:00
enix-renovate[bot] c35c7c9005 chore: update trivy docker tag to v0.71.2 2026-06-30 18:14:59 +02:00
enix-renovate[bot] 64a0b33733 chore: update golang toolchain 2026-06-30 18:01:02 +02:00
Thibault VINCENT 1266ec8b74 ci(security): scan secrets via gitleaks CLI in Dagger, not gitleaks-action 2026-06-16 17:49:18 +02:00
Thibault VINCENT b0fb9cee31 bump(go): upgrade dependencies 2026-06-15 17:30:35 +02:00
Thibault VINCENT b0df976080 feat(container): bump Alpine base image to 3.24.0 2026-06-15 17:30:35 +02:00
Thibault VINCENT a6d321f188 ci: bump renovate version 2026-06-15 17:30:35 +02:00
enix-renovate[bot] 56d52a5088 fix: update go modules (patch) 2026-06-15 17:10:20 +02:00
enix-renovate[bot] 2f0311a354 chore: update trivy docker tag to v0.71.1 2026-06-15 17:02:14 +02:00
enix-renovate[bot] 5c16c3e611 security: update go toolchain to v1.26.4 [security] 2026-06-15 16:56:45 +02:00
enix-renovate[bot] f3e4b78e47 chore: update trivy docker tag to v0.71.0 2026-06-15 16:55:44 +02:00
enix-renovate[bot] e08da567af chore: update golang toolchain to v1.26.4 2026-06-15 16:55:20 +02:00
enix-renovate[bot] 0dc0d9d976 chore: update helm docker tag to v4.2.1 2026-06-15 16:54:59 +02:00
Thibault VINCENT d73f3c0c76 feat(chart): per-alert expr and for overrides + render ratchet
Two new value maps under `prometheusRules`:

- `alertExprOverrides` — alertName -> custom Prometheus expression
  that replaces the default `expr:`. Closes #253: multi-cluster setups
  can inject `max by (cluster, …)` aggregations or label filters
  without having to disableBuiltinAlertGroup and reconstruct everything.
- `alertForOverrides` — alertName -> `for:` duration that replaces
  the default. Schema-validated against Prometheus's duration syntax.

Both maps key on bare alert names (no `rulePrefix`). Overrides are
taken whole — no merge with the default. Single-line and multi-line
strings both render correctly: the template now emits each `expr:`
via `| quote` which wraps in a YAML double-quoted scalar (newlines
serialise to \n; Prometheus parses the resulting string identically
to the multi-line form).

Test ratchets added alongside:

- test/schema/valid/prometheusrules-alert-overrides.yaml — valid case
  covering both maps, with a multi-line expr to exercise the quoting
  path.
- test/schema/invalid/prometheusrules-alertforoverrides-bad-duration
  — paired with .expect.txt, ensures the duration regex rejects
  natural-language inputs ("30 minutes").
- test/render/prometheusrules-default-alerts.{yaml,expect-pass.txt} —
  new ratchet under the existing TestHelmRender machinery (extended
  to support "positive substring" checks via .expect-pass.txt). Locks
  in the exact 13 alert names the chart ships by default: any rename
  or accidental removal breaks the test at PR time.

Docs:

- chart/README.md.gotmpl alert table refreshed — was still on the v3
  layout (X509ExporterReadErrors + 3 cert alerts). Now lists all 13.
- values.yaml gets the two new map keys with descriptions and
  commented examples.
2026-05-25 19:18:58 +02:00
enix-renovate[bot] 50ee4ab72f security: update module golang.org/x/net to v0.55.0 [security] 2026-05-25 11:33:15 +02:00
enix-renovate[bot] d04b6fb4ad chore: update renovate docker tag to v43.195.4 2026-05-25 11:26:50 +02:00
enix-renovate[bot] 6eee8cc597 chore: update renovate docker tag to v43.182.2 2026-05-18 11:13:51 +02:00
Thibault VINCENT b4d9c109cb bump(dagger): upgrade go dep + renovate 2026-05-15 15:41:05 +02:00
Thibault VINCENT 33fa779161 chore: bump renovate version 2026-05-13 21:49:51 +02:00
Thibault VINCENT 89525d1773 chore: separate go language floor (1.26) from toolchain pin (go1.26.3) 2026-05-13 21:47:22 +02:00
Thibault VINCENT 09befa94aa chore: add toolchain go1.26.3 directive so Renovate can track patch bumps 2026-05-13 21:41:22 +02:00
Thibault VINCENT 12fd7883c0 chore: update dev loop dependencies 2026-05-13 10:40:55 +02:00
Thibault VINCENT 651723a3a3 bump(deps): update Go dependencies 2026-05-13 10:38:14 +02:00
enix-renovate[bot] 0f72280d71 chore: update renovate docker tag to v43.173.5 2026-05-12 17:49:43 +02:00
Thibault VINCENT 840e762311 test(chart): assert configmap↔daemonset mount alignment via helm template 2026-05-12 15:08:40 +02:00
Thibault VINCENT 66731df6e2 ci: upgrade dagger to v0.20.8 2026-05-11 17:27:46 +02:00
enix-renovate[bot] 74b87ce984 chore: update module github.com/golangci/golangci-lint/v2 to v2.12.2 2026-05-11 11:13:06 +02:00
enix-renovate[bot] 50ae7294b5 chore: update go toolchain to v1.26.3 2026-05-11 11:08:02 +02:00
Thibault VINCENT c4c84568c7 chore(task): remove lint:gocritic and lint:gonocritic split tasks 2026-05-06 03:01:17 +02:00
Thibault VINCENT abbb9b5fa8 feat(chart): values.schema.json with strict mode + helm-side regression tests 2026-05-06 01:21:22 +02:00
Thibault VINCENT 656f59a86a ci(lint): validate docs/examples values files against the chart 2026-05-05 23:44:50 +02:00
Thibault VINCENT cfb7f3cbbd bump(deps): update go dependencies 2026-05-05 20:37:13 +02:00
enix-renovate[bot] 135259a092 chore: update renovate docker tag to v43.162.0 2026-05-04 14:26:36 +02:00
Thibault VINCENT 7b78255fc0 chore(task): local binary build with goreleaser 2026-05-03 13:27:21 +02:00
enix-renovate[bot] 40d262cea1 chore: pin alpine docker tag to 5b10f43 2026-05-02 18:00:24 +02:00
enix-renovate[bot] c3cf8bb15b chore: pin dependencies 2026-05-02 17:56:21 +02:00
enix-renovate[bot] 59ee248eb7 chore: pin go toolchain to f853308 2026-05-02 17:55:05 +02:00
Thibault VINCENT 528e8ded69 bump(deps): update all go dependencies 2026-05-02 16:53:16 +02:00
Thibault VINCENT 9a852d2309 bump(deps): manual pin and update of versions with renovate 2026-05-02 16:02:52 +02:00
enix-renovate[bot] f49e0e00a2 chore: update helm docker tag to v4 2026-04-30 20:35:59 +02:00
enix-renovate[bot] dd6d96ef92 chore: update renovate docker tag to v43.159.3 2026-04-30 20:35:59 +02:00
enix-renovate[bot] 716431fd66 chore: update trivy docker tag to v0.70.0 2026-04-30 20:35:59 +02:00
enix-renovate[bot] 3e02602de4 chore: update renovate docker tag to v43.159.2 2026-04-30 20:35:58 +02:00
enix-renovate[bot] a652b5b544 chore: update go modules (minor) to v0.19.0 2026-04-30 20:35:57 +02:00
enix-renovate[bot] 1438bedad1 chore: update helm docker tag to v3.20.2 2026-04-30 20:35:57 +02:00