Commit Graph
1729 Commits
Author SHA1 Message Date
SyedaFatimaKazmiandGitHub f70541f84b Merge pull request #1200 from stakater/update-version-tmtuqbb
Bump version to 1.4.20 on release-v1.4.20 branch
v1.4.20
2026-08-07 14:37:13 +05:00
SyedaFatimaKazmiandgithub-actions[bot] 0073ce7a9c Bump version to 1.4.20
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-07 09:32:56 +00:00
Muhammad Safwan KarimandGitHub b1733c54f9 Merge pull request #1190 from sachinavina/patch-1
expose ipFamilies and ipFamilyPolicy for Service via helm values
2026-07-28 12:40:28 +05:00
Sachin AvinaandGitHub 823326c22b Update values.yaml 2026-07-22 18:58:15 +05:30
Sachin AvinaandGitHub dfa264d6d0 Added helm tests for service resource 2026-07-22 18:53:19 +05:30
Sachin AvinaandGitHub 3e00e2a26c Updated values.schema.json 2026-07-22 18:32:44 +05:30
Sachin AvinaandGitHub 0ab56789d1 changed the trim character to fix the indentation issue 2026-07-22 18:31:37 +05:30
Sachin AvinaandGitHub 065caea78f rephrased the helper text for better understanding of supported values in values.yaml 2026-07-21 19:38:17 +05:30
Sachin AvinaandGitHub 91411a5e43 Update values.schema.json for ipFamilypolicy and ipFamilies 2026-07-21 19:03:51 +05:30
Sachin AvinaandGitHub 6705ddcae8 Update values.yaml 2026-07-21 18:48:59 +05:30
Sachin AvinaandGitHub 0e738be85c expose ipFamilies and ipFamilyPolicy for Service via helm values
1189
2026-07-21 18:40:26 +05:30
Muhammad Safwan KarimandGitHub 0d180429d8 Merge pull request #1162 from michal-marszalek-h2oai/951-namespace-scope-rbac
feat: scoped multi-namespace RBAC mode (Role per namespace, no ClusterRole)
2026-07-10 10:44:45 +05:00
Muhammad Safwan KarimandGitHub a9102420c6 Merge pull request #1182 from nikolauspschuetz/fix/alert-swallowed-send-errors-949
Log errors returned when sending webhook alerts
2026-07-10 10:33:22 +05:00
Nikolaus Schuetz 20220ed7ef Log errors returned when sending webhook alerts
The alert send functions (Slack/Teams/GChat/raw) return `[]error`, but
`SendWebhookAlert` discarded them, so a failing webhook — e.g. a Teams
alert returning a non-2xx status — produced no output at all, even at
trace level (#949).

Capture the returned errors and log each with `logrus.Errorf`, as
suggested by the maintainer on the issue. Adds a regression test that
drives a failing (500) webhook and asserts the error is logged.

Closes #949

Assisted-by: Claude Code (Anthropic, Opus 4.x)
2026-07-07 20:21:00 -07:00
Michał MarszałekandClaude Fable 5 0e45c6b24d test(e2e): fix TOCTOU race in CSI reload waits
The CSI e2e tests wait for the SPCPS version change before calling
WaitReloaded/WaitEnvVar, but Reloader reacts to that same SPCPS update.
When Reloader won the race, WaitReloaded captured the already-reloaded
annotation as its baseline and then timed out waiting for a further
change (seen in CI: "Init container with CSI volume should reload...").

Add WaitReloadedFrom/WaitEnvVarFrom adapter variants that take a
caller-supplied baseline, and have the CSI tests capture that baseline
before updating the Vault secret. Negative tests also benefit: an
erroneous reload that lands during the CSI sync wait is now detected
instead of silently absorbed into the baseline.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 14:10:38 +02:00
Muhammad Safwan KarimandGitHub 68cee09d98 Merge pull request #1170 from stakater/msafwankarim-patch-3
Add baseBranches configuration to renovate.json
2026-07-03 11:49:23 +05:00
Muhammad Safwan KarimandGitHub a16351dfdd Add baseBranches configuration to renovate.json 2026-07-03 11:32:58 +05:00
Michał Marszałek 53ae379242 Merge remote-tracking branch 'upstream/master' into 951-namespace-scope-rbac
# Conflicts:
#	internal/pkg/cmd/reloader.go
#	internal/pkg/cmd/reloader_test.go
2026-07-02 11:07:13 +02:00
Felix TonnvikandGitHub dd72380cf1 Merge pull request #1169 from stakater/release-helm-chart-v2.2.14
Bump Helm chart to 2.2.14 (appVersion v1.4.19)
chart-v2.2.14 merge-1169
2026-07-01 16:31:06 +02:00
Safwan cd1f9cecef Bump helm chart to 2.2.14 and appVersion to v1.4.19 2026-07-01 19:25:32 +05:00
Muhammad Safwan KarimandGitHub e8c9f32696 Merge pull request #1167 from stakater/chore/bump-go
fix release script and updated go.mod
merge-1167
2026-07-01 19:05:41 +05:00
Safwan a717f8ee9c fix release script and updated go.mod 2026-07-01 17:15:08 +05:00
SyedaFatimaKazmiandGitHub 2a3865bda8 Merge pull request #1166 from stakater/release-helm-chart-v2.2.13
Bump Helm chart to 2.2.13 (appVersion v1.4.18)
merge-1166 chart-v2.2.13
2026-07-01 16:05:56 +05:00
Safwan 32d91007ca Bump helm chart to 2.2.13 and appVersion to v1.4.18 2026-07-01 16:02:42 +05:00
Muhammad Safwan KarimandGitHub eedf231d04 Merge pull request #1163 from nikolauspschuetz/fix/1131-misleading-all-namespaces-log
fix: reflect --namespaces-to-ignore in startup namespace-scope log
2026-07-01 15:57:04 +05:00
Nikolaus Schuetz f8c41e4bc8 fix: reflect --namespaces-to-ignore in startup namespace-scope log
When KUBERNETES_NAMESPACE is unset, startReloader logged
"will detect changes in all namespaces." unconditionally, even when
--namespaces-to-ignore was set, which is misleading.

Extract the scope message into namespaceWatchScopeMessage(), move the log
after ignoredNamespacesList is resolved, and include the excluded
namespaces in the message when filtering is active.

Closes #1131

Assisted-by: Claude Code (Anthropic, Opus 4.x)
2026-06-29 12:19:03 -07:00
Michał MarszałekandClaude Opus 4.8 50153d05ea feat: scoped multi-namespace mode (Role per namespace, no ClusterRole)
Add a third RBAC posture between watch-globally (ClusterRole) and single
namespace: give Reloader an explicit list of namespaces to watch. The chart
creates a namespace-scoped Role + RoleBinding in each listed namespace (no
ClusterRole), and one install covers them all.

Go:
- new --namespaces flag / options.Namespaces
- resolveWatchNamespaces() picks list -> KUBERNETES_NAMESPACE -> all
- controller creation loops over the watched namespaces
- namespaces-to-ignore is now only honored in global mode (watchGlobally=true);
  in single-namespace and scoped modes the watched set is already explicit

Helm:
- new reloader.namespaces value (active when watchGlobally=false); accepts either
  a YAML list or a comma-separated string for consistency with the sibling
  namespace options
- reloader-watchNamespaces helper (release ns always auto-included, deduped)
- shared reloader-namespaced-rules template reused per namespace
- role.yaml/rolebinding.yaml range over the list; deployment passes --namespaces
- --namespaces-to-ignore only rendered when watchGlobally=true
- fail guard for watchGlobally=true + namespaces set

Tests: unit test for resolveWatchNamespaces; scoped-namespaces e2e case.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 15:48:38 +02:00
Muhammad Safwan KarimandGitHub 2cbb7715de Merge pull request #1141 from stakater/takeover-e2e-tests
Takeover e2e tests
merge-1141
2026-06-15 12:02:55 +05:00
Muhammad Safwan KarimandGitHub 000fda22fc Merge pull request #1145 from yvjessestephens/fix/configmaps-resources-to-ignore-mismatch
fix: align --resources-to-ignore=configMaps with renamed ResourceMap key
2026-06-15 10:53:06 +05:00
yvjessestephensandGitHub f12425e96f Merge branch 'stakater:master' into fix/configmaps-resources-to-ignore-mismatch 2026-06-12 08:30:59 -05:00
Jesse StephensandClaude Opus 4.8 8f94e3051e refactor: case-insensitive normalization for resources-to-ignore
Use strings.ToLower so any casing (configMaps, ConfigMaps, sEcrets)
normalizes to the canonical lowercase ResourceMap key, and simplify the
flag help text. Addresses PR review feedback.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-12 08:29:56 -05:00
faizanahmad055 6556d4dac5 Remove unused methods
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2026-06-12 12:43:43 +02:00
faizanahmad055 3847ce5927 Pull from upstream
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2026-06-12 12:39:42 +02:00
Muhammad Safwan KarimandGitHub b9718d5638 Merge pull request #1146 from riptide-01/feat/ignore-annotation-flag
feat: add --ignore-annotation flag to override reloader.stakater.com/ignore
2026-06-12 15:09:42 +05:00
Muhammad Safwan KarimandGitHub 69cfc510bd Merge pull request #1133 from t3mi/helm_user_ns
feat(helm): add support for enabling user namespace
2026-06-12 12:13:41 +05:00
Smyslov Maxim ddf0ee99d1 Merge branch 'master' into feat/ignore-annotation-flag 2026-06-10 22:49:50 +03:00
yvjessestephensandGitHub c46937c5b0 Merge branch 'stakater:master' into fix/configmaps-resources-to-ignore-mismatch 2026-06-10 07:50:44 -05:00
t3mi 500c2e57cb feat(helm): add support for enabling user namespace
Signed-off-by: t3mi <t3mi@users.noreply.github.com>
2026-06-10 10:36:43 +00:00
Muhammad Safwan KarimandGitHub ba9d19453f Merge pull request #1155 from stakater/release-helm-chart-v2.2.12
Bump helm chart to 2.2.12 and appVersion to v
chart-v2.2.12 merge-1155
2026-05-25 13:54:56 +05:00
Safwan c4df6404c3 add helm version in pr workflow 2026-05-25 13:39:52 +05:00
Safwan d633294d75 updated helm version 2026-05-25 13:35:01 +05:00
Muhammad Safwan KarimandGitHub aa7af914ad Merge pull request #1152 from stakater/renovate/registry.access.redhat.com-ubi9-ubi-9.x
Update registry.access.redhat.com/ubi9/ubi Docker tag to v9.8-1779374378
merge-1152
2026-05-25 12:25:42 +05:00
renovate[bot]andGitHub 7644e514f3 Update registry.access.redhat.com/ubi9/ubi Docker tag to v9.8-1779374378 2026-05-25 07:14:30 +00:00
Felix TonnvikandGitHub a28f246ddf Merge pull request #1151 from stakater/bump-go-net-dependency
bump vulnerable go dependency
merge-1151
2026-05-25 09:14:04 +02:00
Safwan 977b24b771 updated docker go version 2026-05-25 11:16:05 +05:00
Safwan af018af95c bump vulnerable go dependency 2026-05-25 10:04:35 +05:00
Muhammad Safwan KarimandGitHub a80277acf9 Merge pull request #1149 from stakater/update-workflows
Harden GitHub Actions workflows against cache poisoning
merge-1149
2026-05-23 02:58:27 +05:00
Rasheed Amir e009003ffa harden actions 2026-05-22 18:50:43 +02:00
Smyslov MaximandCursor b2b40da4cf feat: add --ignore-annotation flag to override reloader.stakater.com/ignore
Allow users to customise the annotation key used to mark ConfigMaps and
Secrets as ignored by Reloader, consistent with how every other annotation
key is already overridable via a dedicated CLI flag.

Changes:
- internal/pkg/util/util.go: register --ignore-annotation persistent flag
  backed by options.IgnoreResourceAnnotation
- deployments/kubernetes/chart/reloader/templates/deployment.yaml: pass
  --ignore-annotation when custom_annotations.ignore is set in Helm values
- deployments/kubernetes/chart/reloader/values.yaml: document the new
  custom_annotations.ignore key in the example comment
- README.md: add --ignore-annotation to the Annotation Key Overrides table
  and mention the flag alongside the Resource-Level Ignore Annotation section

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 11:13:31 +03:00
Jesse Stephens d527ae8d5a fix: align resources-to-ignore=configMaps with renamed ResourceMap key
PR #1061 renamed the configmap key in kube.ResourceMap from "configMaps"
(camelCase) to "configmaps" (lowercase) to fix controllers not being
able to mark themselves as initialized. However, two callers were not
updated to match the new canonical key:

1. The Helm chart's deployment template still emits
   `--resources-to-ignore=configMaps` (camelCase) when
   `reloader.ignoreConfigMaps: true` is set.
2. The validation in `GetIgnoredResourcesList` only accepts the legacy
   camelCase spelling.

Because `ignoredResourcesList.Contains(k)` uses case-sensitive string
equality, the lookup against the new lowercase ResourceMap key never
matches. The configmaps controller is created and starts watching
ConfigMaps cluster-wide, even though the chart's ClusterRole template
(also gated on `ignoreConfigMaps`) does not grant permission for it.

The resulting pod logs are full of:

  configmaps is forbidden: User "system:serviceaccount:reloader:reloader-reloader"
  cannot list resource "configmaps" in API group "" at the cluster scope

This change:

- Updates the chart deployment template to emit the canonical lowercase
  `configmaps` value.
- Normalizes the input in `GetIgnoredResourcesList`, accepting both
  `configMaps` (legacy, for backward compatibility with users who pass
  the flag directly) and `configmaps` (canonical), and emitting the
  canonical form to the caller.
- Updates the flag help text and adds tests covering both spellings.
2026-05-20 14:19:13 -05:00