Commit Graph
1732 Commits
Author SHA1 Message Date
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
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