Commit Graph
35 Commits
Author SHA1 Message Date
Shubhendu 8156961333 Enable --expire-all-object-versions (#4840) 2024-02-20 06:47:42 -08:00
Krishnan Parthasarathi 59eca9fea8 ILM rule type filter flags should work with --json (#4814) 2024-01-04 21:04:32 -08:00
Krishnan Parthasarathi 16709e4bbc ilm: Add support for size based filters (#4770) 2023-11-22 23:59:19 -08:00
Krishnan Parthasarathi 88896ae495 Incl. rules with NewerNoncurrentVersions > 0 (#4505) 2023-03-20 10:17:53 -07:00
Harshavardhana 252421354c update functional tests for admin_users with 'policy commands' (#4508) 2023-03-19 20:49:16 -07:00
Shubhendu 468fc49d0f Corrected the logic for calculating the expiration no of days (#4451)
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
2023-01-23 07:11:38 -08:00
Klaus Post 52a931bfa7 Add staticcheck to CI (#4386) 2022-12-05 08:32:04 -08:00
Krishnan Parthasarathi 2770f13a73 ilm-ls: report ExpiredObjectDeleteMarker correctly (#4373) 2022-11-17 13:20:39 -08:00
adfost fd7142e223 update license headers to 2022 (#4360) 2022-11-14 18:38:39 -08:00
Krishnan Parthasarathi 66e2075ebd Improve ilm-add flags and ilm-ls output (#4262) 2022-11-09 12:19:18 -08:00
adfost 8b1054cbdb Handling newerNoncurrentVersions Expiry and Transition in validation (#4348) 2022-11-04 11:31:27 -07:00
Krishnan Parthasarathi 1009a897d8 ilm-add: update flags related to tiering (#4250) 2022-09-14 13:53:00 -07:00
Anis Elleuch 3cb806d011 Add --disable, --enable and --prefix to ilm commands (#4209)
Passing the prefix in the aliased url is problematic for ilm edit
command when the user wants to modify something in the ILM rule: no
prefix in the url means the user wants to set an empty prefix or maybe
nothing. To fix this, add --prefix flag and make it a default choice in
the document.

Also, ilm edit will try to only apply passed flags. LifecycleOptions
fields are all pointers to apply only non nil fields to the ILM rule.
2022-08-17 17:07:42 -07:00
Taran Pelkey 537ad9468a Add support for NewerNoncurrentVersions (#4153) 2022-07-22 15:29:30 -07:00
Krishnan Parthasarathi b5a0640899 Prefix version suspension (#4064) 2022-05-08 18:15:17 -07:00
Daniel Valdivia 42bb4df233 Simplify mc ilm ls (#4042)
Signed-off-by: Daniel Valdivia <hola@danielvaldivia.com>
2022-04-05 12:56:01 -07:00
Harshavardhana dd01c71445 use actual UTF-8 characters instead of \u for readability 2022-01-16 16:57:51 -08:00
Harshavardhana a59f9e4d30 add gofumpt support, automated cleanup (#3911) 2022-01-06 10:55:40 -08:00
Krishnan Parthasarathi 054cfa0103 ilm-edit: Accept zero days for transition (#3824) 2021-10-06 13:34:41 -07:00
Krishnan Parthasarathi 924df70b33 Add support for immediate tiering (#3816) 2021-10-04 12:19:48 -07:00
Anis Elleuch 1aa0f47736 ilm: Correctly show tags in tabular info when this non AND tag (#3819)
Tag can be set directly under Filter tag and not always under
Filter.And in the lifecycle document. In that case, the tag won't be
properly showed in the tabular info of the ILM listing. This PR fixes
it.
2021-10-01 11:59:15 -07:00
Harshavardhana c319567430 do not print config values in base64 (#3757)
fixes #3696
2021-07-19 08:29:20 -07:00
Harshavardhana 1402987ccb change license to AGPLv3 2021-05-11 17:45:08 -07:00
Anis Elleuch e3b84c39df ilm: Fix edit ILM versioning parameters (#3626)
After the introduction of versioning parameter in mc ilm document, we
didn't test mc ilm edit. This PR fixes this behavior and add more
lifecycle validation for versioning parameters
2021-02-27 09:08:28 -08:00
Anis Elleuch e93ec078dc ilm: Fix adding ExpiredObjectDeleteMarker alone (#3596)
It is not possible to add rule with only ExpiredObjectDeleteMarker
activated. This commit fixes the issue.
2021-02-04 21:13:53 -08:00
Anis Elleuch 5fcb069e8a Add missing lifecycle versioning config parameters (#3565)
Add the following flags to mc ilm command:

  --expired-object-delete-marker
  --noncurrentversion-expiration-days
  --noncurrentversion-transition-days
  --noncurrentversion-transition-storage-class
2021-01-12 23:47:39 -08:00
Poorna Krishnamoorthy 138587816a Rename ilm set as ilm edit (#3420) 2020-11-23 13:46:44 -08:00
poornas d584adda01 Add ilm set command (#3384) 2020-08-28 11:57:54 -07:00
Anis Elleuch 65d564dd87 ilm: Add ignores bucket lifecycle not found error (#3315) 2020-07-23 11:31:13 -07:00
Harshavardhana ea8c0db96e update minio-go/v7 APIs again (#3305) 2020-07-16 18:03:17 -07:00
P R 51a3d287bb mc ilm list cell alignment for text (#3291) 2020-07-07 20:52:01 -07:00
Harshavardhana fa520cbd1a enable golang-lint CI run and -race tests (#3247) 2020-06-08 05:55:10 -07:00
P R 61b74e90bf mc ilm fix some functionality changes (#3221) 2020-05-18 19:57:08 -07:00
Harshavardhana 3b479cf92e refactor cleanup ilm command to make it more maintainable (#3220) 2020-05-15 16:54:34 -07:00
P R 72c8e92459 Add ilm command. (#3097) 2020-05-14 08:55:21 -07:00