Commit Graph
1741 Commits
Author SHA1 Message Date
Muhammad Safwan KarimandGitHub 655a2b3814 Merge pull request #1205 from stakater/release-helm-chart-v2.2.16
Bump helm chart to 2.2.16 and appVersion to v1.4.21
merge-1205 chart-v2.2.16
2026-08-10 10:51:06 +05:00
SyedaFatimaKazmi 086eb09dd1 Bump helm chart to 2.2.16 and appVersion to v1.4.21 2026-08-10 10:46:56 +05:00
Muhammad Safwan KarimandGitHub 6d85856529 Merge pull request #1181 from somaz94/feat/deployment-runtimeclassname-schedulername
feat(chart): support runtimeClassName and schedulerName in Reloader deployment
2026-08-10 08:17:12 +05:00
Muhammad Safwan KarimandGitHub b6a6d8c6e2 Merge pull request #1193 from nikolauspschuetz/fix/reload-annotation-invalid-regex-panic
fix: prevent panic on invalid regex in reload annotation
2026-08-10 08:14:52 +05:00
Muhammad Safwan KarimandGitHub 2a5da5b8eb Merge pull request #1204 from locker95/fix/namespaceSelector-helper-comment
chart: fix reloader-namespaceSelector helper comment
2026-08-10 08:14:29 +05:00
somaz 984d619beb Merge remote-tracking branch 'upstream/master' into feat/deployment-runtimeclassname-schedulername 2026-08-10 11:20:25 +09:00
Dean Chen 05289934d2 chart: fix reloader-namespaceSelector helper comment
The helper only emits namespaceSelector when watchGlobally is true
(matches values.yaml and the chart README). The old comment said the
opposite and made the condition look inverted.

Fixes #1188

Signed-off-by: Dean Chen <862469039@qq.com>
2026-08-09 21:47:04 +05:00
Felix TonnvikandGitHub d455bbd47a Merge pull request #1202 from stakater/fix/bump-golang-x-text
Bump golang.org/x/text to v0.39.0 to fix CVE-2026-56852
merge-1202
2026-08-07 16:08:53 +02:00
SyedaFatimaKazmi 756910eb1e Bump golang.org/x/text to v0.39.0 to fix CVE-2026-56852
Upgrades the golang.org/x/* module family in lockstep. Fixes the HIGH
severity DoS vulnerability in golang.org/x/text v0.37.0 that fails the
Trivy security gate in the enterprise release pipeline.
2026-08-07 18:16:17 +05:00
Felix TonnvikandGitHub 54c4696ea3 Merge pull request #1201 from stakater/release-helm-chart-v2.2.15
Bump helm chart to 2.2.15 and appVersion to v1.4.20
merge-1201 chart-v2.2.15
2026-08-07 13:37:23 +02:00
SyedaFatimaKazmi a3683bf4a1 Bump helm chart to 2.2.15 and appVersion to v1.4.20 2026-08-07 15:23:15 +05:00
Nikolaus Schuetz 4471a45591 Surface invalid-regex errors to the call site with workload context
Per review: instead of logging the skipped pattern inside ShouldReload
(which lacks workload identity), collect the compile errors on
ReloadCheckResult.Errors and log them at the upgrade call site, where the
resource name, type, and namespace are known. Add a test for the
multi-value case where one comma-separated pattern is malformed and a
valid one still matches.
2026-08-01 21:21:02 -07: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
Nikolaus Schuetz 54e6b1c44f fix: prevent panic on invalid regex in reload annotation
ShouldReload compiled each comma-separated value of a named reload
annotation (e.g. secret.reloader.stakater.com/reload) with
regexp.MustCompile, which panics on an invalid pattern. The value comes
straight from a user-set annotation on a watched workload, and the queue
worker has no recover(), so a single malformed annotation (e.g.
"app-config[") on any workload in any watched namespace crashes Reloader
and stops reloads cluster-wide.

Use regexp.Compile and, on error, log and skip that pattern instead of
panicking.
2026-07-22 00:51:47 -07:00
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
somaz 241f10b9e8 feat(chart): support runtimeClassName and schedulerName in Reloader deployment 2026-07-08 11:34:59 +09: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