Commit Graph
237 Commits
Author SHA1 Message Date
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
Safwan f776e2dfd0 fixed errors 2026-02-13 17:05:29 +05:00
TheiLLeniumStudios 16ff7f6ac9 fix: Default reconcile metric result to error for panic safety 2026-01-09 15:27:19 +01:00
TheiLLeniumStudios 1be910749b chore: A lot of cleanup 2026-01-09 01:34:16 +01:00
TheiLLeniumStudios 1945a740d0 chore: Format files# 2026-01-09 01:22:24 +01:00
TheiLLeniumStudios b945e5e828 chore: Merge from master 2026-01-08 22:12:19 +01:00
TheiLLeniumStudios eb3bc2447e refactor(upgrade.go): simplify retryOnConflict to return matched status and error 2026-01-08 11:12:10 +01:00
faizanahmad055 157cf0f2e4 Remove SHA1 changes
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2026-01-07 12:13:04 +01:00
faizanahmad055 8b64c9b9cd Fix failing SHA test
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2026-01-06 22:53:24 +01:00
faizanahmad055 e1db875efe Fix failing tests
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2026-01-06 22:20:20 +01:00
TheiLLeniumStudios 9a3edf13d2 feat: Load tests 2026-01-06 11:03:26 +01:00
faizanahmad055 4b90335362 Readme update and fix tests
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2026-01-04 21:52:07 +01:00
faizanahmad055 7e9d571e1e Readme update and change SHA1 to SHA512
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2026-01-04 20:10:52 +01:00
faizanahmad055 0f1d02e975 Readme update and code refactor
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2026-01-04 02:40:42 +01:00
faizanahmad055 c9cab4f6e0 Update chart for CSI driver
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
2026-01-03 19:32:43 +01:00
Safwan 1725f17b0b fixed namespace behavior issue 2025-11-25 02:05:41 +05:00
Safwan 4f8b22e954 resolved comments 2025-11-25 01:48:54 +05:00
Safwan cdaed4a8af Merge branch 'master' into add-csi-support 2025-11-25 01:27:08 +05:00
Safwan 174b57cdad Fixed linting 2025-11-04 17:39:24 +05:00
Pradeep Lakshmi Narasimha a77c10a2c6 fix: Prevent permission errors for ignored workload types #996
Signed-off-by: Pradeep Lakshmi Narasimha <pradeep.vaishnav4@gmail.com>
2025-09-30 22:43:56 +05:30
Pradeep Lakshmi NarasimhaandFelix dd0807e951 fix: Controller not respecting ignore* flags 2025-08-29 12:24:02 +02:00
Felix Tonnvik aa481d9568 fixed broken test 2025-08-19 11:06:08 +02:00
Muhammad Safwan KarimandGitHub 177d2756a8 Moved some functions to common package (#988)
* separate methods

* basic refactoring

* moved common code to util package to use it in gateway

* common check for argo rollouts

* made code compilable with latest changes on master

* Moved options to separate package and created CommandLineOptions instance that will be in sync with options values.

* reverted extra changes

* initialize CommandLineOptions with default options in module init

* wait for paused at annotation before checking deployment paused

* moved things around to fix things

* reverted unnecessary changes

* reverted rolling_upgrade changes

* reverted extra change

* additional checks in reloader

* refactor: ShouldReloadInternal method. It will be called by Reloader
ShouldReload has some additional resource/namespace filter checks which are not needed for Reloader

* added test cases

* moved config to sharable packae

* moved resource selector and label selctor methods

* fixed pipeline

* removed map.yaml

* removed vague comment
2025-08-15 15:51:47 +05:00
Pradeep Lakshmi Narasimha 1e6a6ec2d9 fix: handle operator crash when using workloadRef 2025-08-14 07:55:56 +05:30
Muhammad Safwan KarimandGitHub 1e46d44c7c Added pprof flag (#980)
* added pprof flag

* updated chart

* fixed linting and spelling
2025-07-29 15:49:30 +05:00
Muhammad Safwan KarimandGitHub 49409dce54 Extracted some functions to public package to reuse them in gateway (#966)
* separate methods

* basic refactoring

* moved common code to util package to use it in gateway

* common check for argo rollouts

* made code compilable with latest changes on master

* Moved options to separate package and created CommandLineOptions instance that will be in sync with options values.

* reverted extra changes

* initialize CommandLineOptions with default options in module init

* wait for paused at annotation before checking deployment paused

* moved things around to fix things

* reverted unnecessary changes

* reverted rolling_upgrade changes

* reverted extra change
2025-07-29 11:50:02 +05:00
Safwan dcf4b0d0f6 merged deployment pause related changes 2025-07-21 15:14:30 +05:00
Safwan b8b7cdb610 Merge branch 'master' into sa-7499-expose-meta-info 2025-07-21 14:28:07 +05:00
Safwan 1e1f094516 resolved comments and stuff 2025-07-18 19:27:26 +05:00
Muhammad Safwan KarimandGitHub a9566fa672 Merge pull request #958 from s10/feature/pause
Add pausing deployments during upgrades
2025-07-18 15:38:33 +05:00
Safwan 3999edb7a3 Merge branch 'master' into sa-7499-expose-meta-info 2025-07-16 17:33:38 +05:00
Safwan f69773c588 refactoring 2025-07-15 20:08:23 +05:00
Safwan 8b257a3f0c publish configmap with meta info 2025-07-15 19:16:26 +05:00
Muhammad Safwan KarimandGitHub 93936d12c1 Merge pull request #933 from yo-ga/fix/specific-namespace
Ignore namespaceSelector when not watch globally
2025-07-11 17:14:19 +05:00
Christian Ciach 99c45b3ca3 Add test for CronJob owner references 2025-07-09 12:45:24 +02:00
Christian Ciach 81315adc9b Add conventional annotation to triggered jobs 2025-07-09 12:38:12 +02:00
Christian Ciach ad0407517d Add OwnerReference to generated Jobs 2025-07-09 12:38:12 +02:00
Vladislav Gusev cafa14f0e7 Add pausing deployments during upgrades 2025-07-08 16:59:42 +03:00
Yoga Yu e8cb97a6d1 Merge branch 'master' into fix/specific-namespace 2025-07-04 10:37:34 +08:00
Jamie be09beac29 feat: add ignore annotation support for skipping reloads 2025-07-03 14:06:44 +01:00
Alex MarstonandGitHub 144cc910af Merge branch 'stakater:master' into support-gchat 2025-07-03 09:59:49 +01:00
Vladimir Videlov f896e1462d Update 2025-07-02 12:20:42 +02:00
Vladimir Videlov 8b0311f799 Rename 2025-07-01 14:39:08 +02:00
Vladimir Videlov fafb5f45d6 Do not fetch resource on first attempt (already up-to-date from Items func) 2025-07-01 14:27:47 +02:00
Safwan 61ba818d4d removed code for deployment config 2025-06-18 17:35:12 +05:00
Alex Marston 5139d65f9c feat: support Google Chat as an Alert notification provider 2025-06-10 14:38:06 +01:00
Yoga Yu b6d538dca8 fix: ignore filter when in-ns 2025-06-07 01:40:47 +08:00
Vladimir VidelovandGitHub f9561a2167 Fix lint (#2) 2025-05-07 17:49:03 +02:00
Vladimir Videlov c2d6b95297 Support for resource patching with retries (#1)
* Initial

* State

* State

* Revert unintentional change

* Update

* Update

* Fix tests

* Support patching for both reload strategies

* rolling_upgrade tests

* Update

* More tests

* Remove unnecessary stuff
2025-05-07 16:24:07 +02:00
Zanis e7e095cb4b Fixed tests 2025-02-05 23:36:08 +00:00