1
0
mirror of https://github.com/minio/minio.git synced 2025-01-18 02:03:15 -05:00

17 Commits

Author SHA1 Message Date
Aditya Manthramurthy
5f78691fcf
ldap: Add user DN attributes list config param ()
This change uses the updated ldap library in minio/pkg (bumped
up to v3). A new config parameter is added for LDAP configuration to
specify extra user attributes to load from the LDAP server and to store
them as additional claims for the user.

A test is added in sts_handlers.go that shows how to access the LDAP
attributes as a claim.

This is in preparation for adding SSH pubkey authentication to MinIO's SFTP
integration.
2024-05-24 16:05:23 -07:00
Shubhendu
468a9fae83
Enable replication of SSE-C objects ()
If site replication enabled across sites, replicate the SSE-C
objects as well. These objects could be read from target sites
using the same client encryption keys.

Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
2024-03-28 10:44:56 -07:00
Klaus Post
51f62a8da3
Port ListBuckets to websockets layer & some cleanup () 2024-03-08 11:08:18 -08:00
Aditya Manthramurthy
1c99fb106c
Update to minio/pkg/v2 () 2023-09-04 12:57:37 -07:00
Poorna
d765b89a63
improve validation for replication resync API () 2022-10-28 23:21:33 -07:00
Harshavardhana
41b633f5ea
support tagging based policy conditions () 2022-09-28 11:25:46 -07:00
Poorna
6b9fd256e1
Persist in-memory replication stats to disk ()
to avoid relying on scanner-calculated replication metrics.
This will improve the accuracy of the replication stats reported.

This PR also adds on to  by handing replication
traffic that could not be queued by available workers to the 
MRF queue so that entries in `PENDING` status are healed faster.
2022-09-12 12:40:02 -07:00
Poorna
53cc561048
Default DeleteReplication rule status if unspecified. ()
Since this is a MinIO specific extension in the replication config,
default this to Disabled to allow other sdks to be used to configure
replication rules.

Co-authored-by: Poorna Krishnamoorthy <poorna@minio.io>
2022-07-14 16:27:09 -07:00
Harshavardhana
48e367ff7d
reject resync start on misconfigured replication rules ()
we expect resync to start on buckets with replication
rule ExistingObjects enabled, if not we reject such
calls.
2022-06-06 02:54:39 -07:00
Poorna
d8101573be
Disallow deletion of ARN when under active replication ()
fixes a regression from 
2022-05-24 19:40:45 -07:00
Harshavardhana
153a612253
fetch bucket retention config once for ILM evalAction ()
This is mainly an optimization, does not change any
existing functionality.
2022-04-11 13:25:32 -07:00
Poorna
295730408b
Disallow delete replication for tag based rules () 2022-01-24 15:22:20 -08:00
Harshavardhana
f527c708f2
run gofumpt cleanup across code-base () 2022-01-02 09:15:06 -08:00
Harshavardhana
661b263e77
add gocritic/ruleguard checks back again, cleanup code. ()
- remove some duplicated code
- reported a bug, separately fixed in 
- using strings.ReplaceAll() when needed
- using filepath.ToSlash() use when needed
- remove all non-Go style comments from the codebase

Co-authored-by: Aditya Manthramurthy <donatello@users.noreply.github.com>
2021-11-16 09:28:29 -08:00
Poorna Krishnamoorthy
c4373ef290
Add support for multi site replication () 2021-09-18 13:31:35 -07:00
Poorna Krishnamoorthy
dbea8d2ee0
Add support for existing object replication. ()
Also adding an API to allow resyncing replication when
existing object replication is enabled and the remote target
is entirely lost. With the `mc replicate reset` command, the
objects that are eligible for replication as per the replication
config will be resynced to target if existing object replication
is enabled on the rule.
2021-06-01 19:59:11 -07:00
Harshavardhana
1f262daf6f
rename all remaining packages to internal/ ()
This is to ensure that there are no projects
that try to import `minio/minio/pkg` into
their own repo. Any such common packages should
go to `https://github.com/minio/pkg`
2021-06-01 14:59:40 -07:00