16 Commits
Author SHA1 Message Date
jinapurapu b0f40b4db7 Reject add ILM rule with both day and date parameters (#5155) 2025-03-06 05:05:05 -08:00
Shubhendu 8156961333 Enable --expire-all-object-versions (#4840) 2024-02-20 06:47:42 -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
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
Krishnan Parthasarathi 924df70b33 Add support for immediate tiering (#3816) 2021-10-04 12:19:48 -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
Harshavardhana ea8c0db96e update minio-go/v7 APIs again (#3305) 2020-07-16 18:03:17 -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