Compare commits

...

65 Commits

Author SHA1 Message Date
Girish Ramakrishnan b624d6775c Version 3.13.20 2024-06-11 09:07:26 +02:00
Girish Ramakrishnan 330f186821 Update minio to 2024-06-11T03-13-30Z 2024-06-11 08:43:56 +02:00
Girish Ramakrishnan 72224538ea Version 3.13.19 2024-06-07 11:08:50 +02:00
Girish Ramakrishnan fb1f583f4c Update test packages 2024-06-07 11:08:03 +02:00
Girish Ramakrishnan 5699a05783 Update minio to 2024-06-06T09-36-42Z 2024-06-07 10:22:19 +02:00
Girish Ramakrishnan 64222e227e Version 3.13.18 2024-06-05 08:53:17 +02:00
Girish Ramakrishnan 8f7a046554 Update minio to 2024-06-04T19-20-08Z 2024-06-05 08:47:30 +02:00
Girish Ramakrishnan 3717901b12 Version 3.13.17 2024-05-29 09:48:21 +02:00
Girish Ramakrishnan 85f4a808be Update minio to 2024-05-28T17-19-04Z 2024-05-29 08:56:57 +02:00
Girish Ramakrishnan 9d1b7e1a9d Version 3.13.6 2024-05-28 09:06:25 +02:00
Girish Ramakrishnan 9bea0cc891 Update minio to 2024-05-27T19-17-46Z 2024-05-28 08:59:10 +02:00
Johannes Zellner 557a8acd3d Bump version 2024-05-10 13:52:21 +02:00
Johannes Zellner fb1db2809a Update test deps 2024-05-10 11:23:20 +02:00
Johannes Zellner 7fcfa2d793 Update to 2024-05-10T01-41-38Z 2024-05-10 11:23:12 +02:00
Johannes Zellner 2e71a424d6 Bump version 2024-05-08 13:08:05 +02:00
Johannes Zellner d5ed478302 Update to 2024-05-07T06-41-25Z 2024-05-08 12:14:43 +02:00
Johannes Zellner 63240d9ef7 Bump version 2024-05-01 11:15:41 +02:00
Johannes Zellner ea84113aa7 Update to 2024-05-01T01-11-10Z 2024-05-01 10:12:09 +02:00
Johannes Zellner d70ab90edf Bump version 2024-04-30 09:37:14 +02:00
Johannes Zellner 47ca8d4426 Update test deps 2024-04-30 08:50:27 +02:00
Johannes Zellner a6c683af4d Update to 2024-04-28T17-53-50Z 2024-04-30 08:50:17 +02:00
Girish Ramakrishnan b64d0c834b Version 3.13.11 2024-04-19 10:44:16 +02:00
Girish Ramakrishnan 8aab79757f Update test packages 2024-04-19 10:29:50 +02:00
Girish Ramakrishnan 4d0ed6744f Update minio to 2024-04-18T19-09-19Z 2024-04-19 10:19:46 +02:00
Girish Ramakrishnan 5f7d71f028 Version 3.13.10 2024-04-06 09:55:22 +02:00
Girish Ramakrishnan 26e95361b6 Update minio to 2024-04-06T05-26-02Z 2024-04-06 09:29:02 +02:00
Girish Ramakrishnan 5cee1588f3 Version 3.13.9 2024-04-01 11:59:58 +02:00
Girish Ramakrishnan d8c7fa0d47 Update test packages 2024-04-01 11:52:02 +02:00
Girish Ramakrishnan 2f8caf38d4 Update minio to 2024-03-30T09-41-56Z 2024-03-31 11:31:27 +02:00
Johannes Zellner 51850a87d8 Bump version 2024-03-27 10:28:05 +01:00
Johannes Zellner 9a9367d5f4 Update test deps 2024-03-27 10:08:51 +01:00
Johannes Zellner bedc600aa5 Update to 2024-03-26T22-10-45Z 2024-03-27 10:08:14 +01:00
Johannes Zellner 368da33581 Bump version 2024-03-25 11:18:57 +01:00
Johannes Zellner ca6eaad35d Update test deps 2024-03-25 10:47:04 +01:00
Johannes Zellner e47f31b8a8 Update to 2024-03-21T23-13-43Z 2024-03-25 10:46:05 +01:00
Johannes Zellner 05c08cdafe Update test deps 2024-03-15 08:40:58 +01:00
Johannes Zellner af2efcfd46 Bump version 2024-03-15 08:40:51 +01:00
Johannes Zellner 042e08f7ad Fixup version in changelog 2024-03-10 15:08:15 +01:00
Johannes Zellner 5f6b3ef9c3 Bump version 2024-03-10 13:56:46 +01:00
Johannes Zellner 0e6b93f732 Update to 2024-03-10T02-53-48Z 2024-03-10 13:55:36 +01:00
Girish Ramakrishnan 2b7aff15d3 Version 3.13.4 2024-03-07 09:49:08 +01:00
Girish Ramakrishnan febd561bfb Update minio to 2024-03-07T00-43-48Z 2024-03-07 09:19:29 +01:00
Girish Ramakrishnan abef481b63 Version 3.13.3 2024-03-05 10:42:40 +01:00
Girish Ramakrishnan 2b0dcc7d38 Update minio to 2024-03-05T04-48-44Z 2024-03-05 10:41:47 +01:00
Girish Ramakrishnan 0c32be8139 Update tests 2024-03-04 11:33:45 +01:00
Girish Ramakrishnan fd04e1b784 Version 3.13.2 2024-03-04 10:22:55 +01:00
Girish Ramakrishnan bd883b747c Update minio to 2024-03-03T17-50-39Z 2024-03-04 10:08:19 +01:00
Johannes Zellner 618c3c6736 Bump version 2024-02-26 15:28:12 +01:00
Johannes Zellner fba9a4ff32 Update test deps 2024-02-26 14:42:49 +01:00
Johannes Zellner 7878d690b9 Update to 2024-02-26T09-33-48Z 2024-02-26 14:42:36 +01:00
Girish Ramakrishnan 623b291e62 Fixup tests 2024-02-20 13:26:29 +01:00
Girish Ramakrishnan 74bc0cbbd2 Version 3.13.0 2024-02-20 12:25:21 +01:00
Girish Ramakrishnan 316047b1d3 minio does not show the password login by default when OIDC is setup
we generate a dynamic password because users might forget to change the admin password (with the oidc login being so click friendly)
2024-02-20 12:19:30 +01:00
Vladimir D 569e830514 optionalSso flag added, tests updated 2024-02-19 18:31:04 +04:00
Vladimir D 7417ce44e5 OIDC auth implemented, tests updated 2024-02-19 17:13:57 +04:00
Johannes Zellner 88918c602a Bump version 2024-02-17 16:21:16 +01:00
Johannes Zellner 7b26be880d Update test deps 2024-02-17 15:53:05 +01:00
Johannes Zellner e966943be5 Update to 2024-02-17T01-15-57Z 2024-02-17 15:52:35 +01:00
Johannes Zellner dd46a7f8e9 Bump version 2024-02-15 10:33:59 +01:00
Johannes Zellner 5295380629 Update to 2024-02-14T21-36-02Z 2024-02-15 10:10:09 +01:00
Johannes Zellner 22f00b1803 Bump version 2024-02-13 18:04:59 +01:00
Johannes Zellner 8315f77f5c Update to 2024-02-13T15-35-11Z 2024-02-13 17:51:59 +01:00
Johannes Zellner e1a29850c8 Bump version 2024-02-13 11:09:56 +01:00
Johannes Zellner c94a90e4ab Update to 2024-02-12T21-02-27Z 2024-02-13 10:44:20 +01:00
Girish Ramakrishnan d4ec80fab3 2GB min (RAM)
https://github.com/minio/minio/issues/18906
https://github.com/minio/docs/issues/1116
https://github.com/minio/minio/pull/18846
2024-02-12 06:44:34 +01:00
10 changed files with 1280 additions and 359 deletions

280
CHANGELOG
View File

@ -2312,3 +2312,283 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* Add extra disconnect safety by @klauspost in https://github.com/minio/minio/pull/19022
* introduce reader deadlines for net.Conn by @harshavardhana in https://github.com/minio/minio/pull/19023
[3.12.11]
* Update minio to 2024-02-12T21-02-27Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-02-12T21-02-27Z)
* avoid excessive logging for objects that do not exist by @harshavardhana in https://github.com/minio/minio/pull/19030
* Fix panic in tagging request proxying by @poornas in https://github.com/minio/minio/pull/19032
* do not have to use the same distributionAlgo as first pool by @harshavardhana in https://github.com/minio/minio/pull/19031
* fix: allow configuring excess versions alerting by @harshavardhana in https://github.com/minio/minio/pull/19028
* preserve conflicting objects when parent object is being deleted by @harshavardhana in https://github.com/minio/minio/pull/19034
* Convert service account add/update expiration to cond values by @vadmeste in https://github.com/minio/minio/pull/19024
* relax pre-emptive GetBucketInfo() for multi-object delete by @harshavardhana in https://github.com/minio/minio/pull/19035
* honor replaced disk properly by updating globalLocalDrives by @harshavardhana in https://github.com/minio/minio/pull/19038
* metrics: fix typo in namespace for proxy tagging metric by @poornas in https://github.com/minio/minio/pull/19039
[3.12.12]
* Update minio to 2024-02-13T15-35-11Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-02-13T15-35-11Z)
* FIx unexpected behavior when creating service account by @taran-p in https://github.com/minio/minio/pull/19036
* sts: Add test for DurationSeconds condition by @vadmeste in https://github.com/minio/minio/pull/19044
* add missing handler for reloading site replication config on peers by @harshavardhana in https://github.com/minio/minio/pull/19042
* fix: update batch replication stats for snowball uploads by @Praveenrajmani in https://github.com/minio/minio/pull/19045
* Send a bucket notification event on DeleteObject() for non-existing object by @Praveenrajmani in https://github.com/minio/minio/pull/19037
* fix incorrect disk io stats in k8s environment by @anjalshireesh in https://github.com/minio/minio/pull/19016
[3.12.13]
* Update minio to 2024-02-14T21-36-02Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-02-14T21-36-02Z)
[3.12.14]
* Update minio to 2024-02-17T01-15-57Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-02-17T01-15-57Z)
[3.13.0]
* Implement OIDC authentication
[3.13.1]
* Update minio to 2024-02-26T09-33-48Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-02-26T09-33-48Z)
* fix: crash in ResourceMetrics RPC handling concurrent writers by @harshavardhana in https://github.com/minio/minio/pull/19123
* fix: re-arrange console-sys to log properly in k8s/docker by @harshavardhana in https://github.com/minio/minio/pull/19129
[3.13.2]
* Update minio to 2024-03-03T17-50-39Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-03T17-50-39Z)
* Major performance improvement on total connection usage and de-duplicate ILM entries refer #18926
* Major performance improvement for Listing() to avoid readdir() under situations for directory lookups refer #19100
* Read drive IO stats from sysfs instead of procfs by @Praveenrajmani in #19131
* ilm: Select an object when all AND tags are satisfied by @vadmeste in #19134
* remove unnecessary 'recreate' code by @harshavardhana in #19136
* feat: add userCredentials for nats by @jiuker in #19139
[3.13.3]
* Update minio to 2024-03-05T04-48-44Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-05T04-48-44Z)
* fix: healthcheck to fail even if one erasure set doesn't have quorum by @Praveenrajmani in #19180
* Add common middleware to S3 API handlers by @donatello in #19171
* fix: nLink is unreliable on all filesystems by @harshavardhana in #19187
* Fix ilm config at startup by @krisis in #19189
* fix: skip local disks properly in cluster health maintenance check by @harshavardhana in #19184
[3.13.4]
* Update minio to 2024-03-07T00-43-48Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-07T00-43-48Z)
* fix: cluster read health check to return proper values by @Praveenrajmani in #19203
* fix: a regression in loading replication creds by @harshavardhana in #19204
* fix: go mod update v1.33.0 https://pkg.go.dev/vuln/GO-2024-2611 by @harshavardhana in #19208
* bucket import: avoid overwriting bucket creation date by @poornas in #19207
* Set expected expiry date for ExpiredObjectAllVersions by @krisis in #19210
[3.13.5]
* Update minio to 2024-03-10T02-53-48Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-10T02-53-48Z)
* make immediate purge non-blocking up to 100,000 entries per drive (#19231)
* make immediate purge non-blocking upto 100000 entries per drive
* Bonus: turn-off O_DIRECT verification when FSType is 'XFS'
[3.13.6]
* Update minio to 2024-03-15T01-07-19Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-15T01-07-19Z)
* allow dynamically changing max_object_versions per object (#19265)
[3.13.7]
* Update minio to 2024-03-21T23-13-43Z
* [Changelog](https://github.com/minio/minio/releases/tag/2024-03-21T23-13-43Z)
* write anything beyond 4k to be written in 4k pages by @harshavardhana in https://github.com/minio/minio/pull/19269
* fix wrong time.Parse params order by @alingse in https://github.com/minio/minio/pull/19279
* implement a flag to specify custom crossdomain.xml by @harshavardhana in https://github.com/minio/minio/pull/19262
* fix: add a default requests deadline when deadline is 0 by @harshavardhana in https://github.com/minio/minio/pull/19287
* add deprecated expiry_workers to be ignored by @harshavardhana in https://github.com/minio/minio/pull/19289
* add additional logs for the decom during metadata save by @harshavardhana in https://github.com/minio/minio/pull/19288
* feat: add user to NOTIFY_REDIS by @jiuker in https://github.com/minio/minio/pull/19285
* change the notification queue full message by @harshavardhana in https://github.com/minio/minio/pull/19293
* list: Fix IsTruncated and NextMarker when encountering expired objects by @vadmeste in https://github.com/minio/minio/pull/19290
* xl: Purge instead of moving to trash with near filled disks by @vadmeste in https://github.com/minio/minio/pull/19294
* crypto: generate OEK using HMAC-SHA256 instead of SHA256 by @aead in https://github.com/minio/minio/pull/19297
* decom: Fix failed status after a failed decommission by @vadmeste in https://github.com/minio/minio/pull/19300
* Handle zero versions qualified for expiration by @krisis in https://github.com/minio/minio/pull/19301
* avoid triggering heals on metacache files if any by @harshavardhana in https://github.com/minio/minio/pull/19299
* add IAM policyDB lookup fallbacks to drives by @harshavardhana in https://github.com/minio/minio/pull/19302
* replication: enforce precondition for multipart by @poornas in https://github.com/minio/minio/pull/19306
* fix: peer addr returned as empty string by @anjalshireesh in https://github.com/minio/minio/pull/19308
* fix: Fix crash when logging events and anonymous is enabled by @vadmeste in https://github.com/minio/minio/pull/19313
* use retry during policy reload from drives by @harshavardhana in https://github.com/minio/minio/pull/19307
* Encode dir obj names before expiration by @krisis in https://github.com/minio/minio/pull/19305
* fix batch snowball to close channel after listing finishes by @poornas in https://github.com/minio/minio/pull/19316
[3.13.8]
* Update minio to 2024-03-26T22-10-45Z
* [Changelog](https://github.com/minio/minio/releases/tag/2024-03-26T22-10-45Z)
* Webhook targets refactor and bug fixes by @zveinn in https://github.com/minio/minio/pull/19275
* fix: convert multiple callers to use toStorageErr(err) correctly by @harshavardhana in https://github.com/minio/minio/pull/19339
* fix: should return when error happend by @jiuker in https://github.com/minio/minio/pull/19342
* bring back minor DNS cache for k8s setups by @harshavardhana in https://github.com/minio/minio/pull/19341
* Adding dashboard for MinIO node metrics by @shtripat in https://github.com/minio/minio/pull/19329
* Fix races in IAM cache lazy loading by @klauspost in https://github.com/minio/minio/pull/19346
* allow configuring inline shard size value by @harshavardhana in https://github.com/minio/minio/pull/19336
* replication:fix precondition check for multipart by @poornas in https://github.com/minio/minio/pull/19349
[3.13.9]
* Update minio to 2024-03-30T09-41-56Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-03-30T09-41-56Z)
* Support for SSE-C encrypted objects with site and bucket replication.
* CPU issue addressed when you have 1000's of folder prefixes at bucket root.
* LDAP support normalization of DN names for consistent behavior.
[3.13.10]
* Update minio to 2024-04-06T05-26-02Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-04-06T05-26-02Z)
* Reduce big message RPC allocations by @klauspost in #19390
* Prioritize the bucket configs first during the decommissioning by @Praveenrajmani in #19393
* fix: missing metrics for healed objects by @harshavardhana in #19392
* Always return slice with cap by @klauspost in #19395
* Adding console targets back into systemtarget log slice by @zveinn in #19398
* feat: support EdDSA/Ed25519 for oss by @jiuker in #19397
* update to latest deps by @harshavardhana in #19399
* Avoid using a nil transport when the config is not initialized by @vadmeste in #19405
[3.13.11]
* Update minio to 2024-04-18T19-09-19Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-04-18T19-09-19Z)
* fix: add fallbackDisks for disk healing by @harshavardhana in #19425
* fix: increase the tiering part size to 128MiB by @harshavardhana in #19424
* heal: Add more per disk healing result in the audit by @vadmeste in #19427
* batch-repl: Do not allow both source/target to be remote by @vadmeste in #19434
* Allow setting readOnlyRootFilesystem in securityContext by @AlexanderThaller in #19437
* Add a warning when the total size of an object versions exceeds 1 TiB by @vadmeste in #19435
* make if-none-match PUT/POST RFC compliant by @harshavardhana in #19448
* fix: unknow contentType for ArchiveFileHandler by @jiuker in #19451
[3.13.12]
* Update minio to 2024-04-28T17-53-50Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-04-28T17-53-50Z)
* updating tests to use new mc --enc flags by @zveinn in #19508
* fix: get rid of large buffers by @harshavardhana in #19549
* cleanup: Simplify usage of MinIOSourceProxyRequest by @rluetzner in #19553
* optimize ftp/sftp upload() implementations to avoid CPU load by @harshavardhana in #19552
* add ILM + site-replication tests by @harshavardhana in #19554
* Store object EC in metadata header by @klauspost in #19534
* Reduce parallelReader allocs by @klauspost in #19558
* make LRU cache global for internode tokens by @harshavardhana in #19555
* fix: ignore signaturev2 for policy header check by @jiuker in #19551
* build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 in /docs/debugging/s3-verify by @dependabot in #19559
* Disable trailing header support for MinIO tiers by @krisis in #19561
* re-use transport and set stronger backwards compatible Ciphers by @harshavardhana in #19565
* do not panic on rebalance during server restarts by @harshavardhana in #19563
* Fix RenameData data race by @klauspost in #19579
* Remove leading zero strings in return value of (*xlMetaV2)getDataDirs() by @seiyab in #19567
* fix: can't get total disksize for decom status by @jiuker in #19585
* make renameData() more defensive during overwrites by @harshavardhana in #19548
* Add system CPU metrics to metrics-v3 by @anjalshireesh in #19560
* fix: avoid some IAM import errors if LDAP enabled by @donatello in #19591
* simplify listener implementation setup customizations in right place by @harshavardhana in #19589
* Add cluster notification metrics in metrics-v3 by @balamurugana in #19533
* Fix few wrongly defined metric types by @anjalshireesh in #19586
* fix: site-replication will reset group status when add user by @jiuker in #19594
* Validates PostgreSQL table name by @ramondeklein in #19602
* xl-meta: Allow combining multiple unversioned objects by @klauspost in #19604
* support preserving renameData() on inlined content during overwrites by @harshavardhana in #19609
* fix: IAM import for LDAP should replace mappings by @donatello in #19607
* fix: IAM LDAP access key import bug by @donatello in #19608
* Fixes an internal error while force-deleting a bucket by @ramondeklein in #19614
* Update Console UI to v1.3.0 by @cesnietor in #19617
* fix: LDAP init. issue when LDAP server is down by @donatello in #19619
* heal: Fix regression in healing a new fresh drive by @vadmeste in #19615
* add metrics ioerror counter for alerts on I/O errors by @harshavardhana in #19618
* Fix DeleteObject API for unversioned objects with insufficient read q… by @poornas in #19581
* deprecate usage of sha256-simd by @harshavardhana in #19621
* heal: Avoid marking a bucket as done when remote drives are offline by @vadmeste in #19587
* helm: fix port types in CiliumNetworkPolicy by @twelho in #19232
* Add process metrics in metrics-v3 by @anjalshireesh in #19612
* Handle failures in pool rebalancing by @Praveenrajmani in #19623
* heal/list: Fix rare incomplete listing with flaky internode connections by @vadmeste in #19625
* iam reload policy mapping of STS users properly by @poornas in #19626
* a bunch of fixes for error handling by @harshavardhana in #19627
[3.13.13]
* Update minio to 2024-05-01T01-11-10Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-05-01T01-11-10Z)
* Always unfreeze when connection dies by @klauspost in #19634
* avoid data race for testing by @jiuker in #19635
* Suppress metrics with zero values by @shtripat in #19638
* Allow custom SFTP algorithm selection by @klauspost in #19636
* fix: a crash in RemoveReplication target by @harshavardhana in #19640
* ilm: Handle DeleteAllVersions action differently for DEL markers by @krisis in #19481
[3.13.14]
* Update minio to 2024-05-07T06-41-25Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-05-07T06-41-25Z)
* Fix --stfp "mac-algos=..." overwrites cipher algorithms by @klauspost in #19643
* enhance ListSVCs() API to return more info to avoid InfoSvc() by @harshavardhana in #19642
* Wait one minute after startup to restart decommissioning by @klauspost in #19645
* add logrotate support for MinIO logs by @harshavardhana in #19641
* Return listing when exceeding min disk errors by @klauspost in #19644
* fix: Filter out cust. AssumeRole Token for audit by @donatello in #19646
* support compression after rotation of logs by @harshavardhana in #19647
* Add cluster IAM metrics in metrics-v3 by @balamurugana in #19595
* Use better gzip for log rotate by @klauspost in #19651
* Change endpoint format for per-bucket metrics by @anjalshireesh in #19655
* replication: Avoid proxying if requested object is a deletemarker by @poornas in #19656
* With retention, skip actions expiring all versions by @krisis in #19657
* extend server config.yaml to support per pool set drive count by @harshavardhana in #19663
* Fix Walk missing entries with opts.Marker set by @klauspost in #19661
* avoid using 10MiB EC buffers in maxAPI calculations by @harshavardhana in #19665
* turn-off coloring if we have std{err,out} dumb terminals by @harshavardhana in #19667
* add support for specific error response for InvalidRange by @harshavardhana in #19668
* support 'mc support perf object' with root login disabled by @harshavardhana in #19672
* fix: Ignore AWSAccessKeyId check for SignV2 policy condition by @jiuker in #19673
* Make WalkDir return errors by @klauspost in #19677
* support ETag value to be '*' by @harshavardhana in #19682
* Update Console version to v1.4.0 by @bexsoft in #19684
* Set Console Redirect URL env variable by @cesnietor in #19683
* fix: collect quorum errors for deletePrefix() by @harshavardhana in #19685
* Support user certificate based authentication on SFTP by @olljanat in #19650
[3.13.15]
* Update minio to 2024-05-10T01-41-38Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-05-10T01-41-38Z)
* fix: unexpected credentials missing while passing (05/09/24)
* remove references for MINIO_SERVER_URL (05/09/24)
* add log-prefix name for specifying custom log-name (#19712) (05/09/24)
* Revert "Fix incorrect merging of slash-suffixed objects (#19699)" (05/09/24)
* fix: truncate Expiration to second when Add ServiceAccount (#19674) (05/10/24)
* Fix incorrect merging of slash-suffixed objects (#19699) (05/09/24)
* deprecate unexpected healing failed counters (#19705) (05/09/24)
* pass around correct endpoint while registering remote storage (#19710) (05/09/24)
* ldap-import: Add additional logs (#19691) (05/09/24)
* results must be a single channel to avoid overwriting healing.bin (#19702) (05/09/24)
* chore: use errors.New to replace fmt.Errorf with no parameters (#19568) (05/09/24)
* upgrade to go1.22.x (05/09/24)
* allow caller context during reloads() to cancel (#19687) (05/08/24)
* grid: Fix a window of a disconnected node not marked as offline (#19703) (05/09/24)
* Accept multipart checksums with part count (#19680) (05/08/24)
* kms: add support for MinKMS and remove some unused/broken code (#19368) (05/08/24)
* return appropriate error upon reaching maxClients() (#19669) (05/07/24)
[3.13.16]
* Update minio to 2024-05-27T19-17-46Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-05-27T19-17-46Z)
* Major optimization in handling hung network disconnects, and related tests and hardening added #19719, #19605, #19741
* Fix a medium CVE for information disclosure - during GETs with conditional headers such as If-modified-since, if-unmodified-since #19810
[3.13.17]
* Update minio to 2024-05-28T17-19-04Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-05-28T17-19-04Z)
[3.13.18]
* Update minio to 2024-06-04T19-20-08Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-04T19-20-08Z)
[3.13.19]
* Update minio to 2024-06-06T09-36-42Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-06T09-36-42Z)
[3.13.20]
* Update minio to 2024-06-11T03-13-30Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-06-11T03-13-30Z)
* Disable caching of encrypted objects by @klauspost in #19890
* Calculate correct object size while replication by @shtripat in #19888
* Don't tier directory objects by @krisis in #19891
* Update docker build script to pull all changes by @donatello in #19892
* Two way streams fixes - take 2 by @klauspost in #19796

View File

@ -5,10 +5,10 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "3.12.10",
"upstreamVersion": "2024-02-09T21-25-16Z",
"version": "3.13.20",
"upstreamVersion": "2024-06-11T03-13-30Z",
"healthCheckPath": "/minio/login",
"memoryLimit": 805306368,
"memoryLimit": 2147483648,
"httpPort": 8000,
"httpPorts": {
"API_SERVER_DOMAIN": {
@ -19,8 +19,10 @@
}
},
"addons": {
"localstorage": {}
"localstorage": {},
"oidc": { "loginRedirectUri": "/oauth_callback" }
},
"optionalSso": true,
"manifestVersion": 2,
"website": "http://www.minio.io",
"minBoxVersion": "7.1.2",

View File

@ -3,7 +3,7 @@ FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=RELEASE.2024-02-09T21-25-16Z
ARG VERSION=RELEASE.2024-06-11T03-13-30Z
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
# RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
@ -11,6 +11,6 @@ RUN wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${VERS
# https://dl.min.io/client/mc/release/linux-amd64/
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /app/code/mc && chmod +x /app/code/mc
COPY env.sh start.sh /app/code/
COPY env.sh.template start.sh /app/code/
CMD [ "/app/code/start.sh" ]

View File

@ -1,7 +1,19 @@
<nosso>
Please use the following credentials to login:
**Username**: minioadmin<br/>
**Password**: minioadmin<br/>
Please change the credentials immediately by following this [guide](https://cloudron.io/documentation/apps/minio/#admin-credentials).
</nosso>
<sso>
Please use the following credentials to login via 'Other Authentication Methods' -> 'Use Credentials':
**Username**: minioadmin<br/>
**Password**: See `MINIO_ROOT_PASSWORD` in `/app/data/env.sh` <a href="/frontend/filemanager.html#/viewer/app/$CLOUDRON-APP-ID/env.sh">Open File Manager</a><br/>
Cloudron users have `readwrite` access policy. See the [docs](https://cloudron.io/documentation/apps/minio/#admin-credentials) on how to change it.
</nosso>

9
env.sh
View File

@ -1,9 +0,0 @@
# Add custom minio configuration to this file. Restart the app for changes to take effect.
export CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'
# See https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_ROOT_USER
# You can use pwgen -1s 64 to generate usernames and passwords
export MINIO_ROOT_USER=minioadmin
export MINIO_ROOT_PASSWORD=minioadmin

4
env.sh.template Normal file
View File

@ -0,0 +1,4 @@
# Add custom minio configuration to this file. Restart the app for changes to take effect.
export CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'

View File

@ -5,7 +5,18 @@ set -eu
mkdir -p /app/data/data /run/minio/config /run/minio/certs
# env vars take precedence over config.yaml (https://github.com/minio/minio/blob/master/docs/distributed/CONFIG.md#things-to-know)
[[ ! -f /app/data/env.sh ]] && cp /app/code/env.sh /app/data/env.sh
if [[ ! -f /app/data/env.sh ]]; then
echo "=> First run"
cp /app/code/env.sh.template /app/data/env.sh
# minio does not show the password login by default when OIDC is setup (https://github.com/minio/minio/discussions/16928)
# we generate a dynamic password because users might forget to change the admin password (with the oidc login being so click friendly)
if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
echo -e "export MINIO_ROOT_USER=minioadmin\nexport MINIO_ROOT_PASSWORD=$(pwgen -1s 20)\n\n" >> /app/data/env.sh
else
echo -e "export MINIO_ROOT_USER=minioadmin\nexport MINIO_ROOT_PASSWORD=minioadmin\n\n" >> /app/data/env.sh
fi
fi
source /app/data/env.sh
# https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL
@ -17,6 +28,19 @@ if [[ ! -d /app/data/mc_config ]]; then
/app/code/mc --config-dir /app/data/mc_config &> /dev/null || true
fi
if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
export MINIO_IDENTITY_OPENID_DISPLAY_NAME="Cloudron"
export MINIO_IDENTITY_OPENID_CONFIG_URL="${CLOUDRON_OIDC_DISCOVERY_URL}"
export MINIO_IDENTITY_OPENID_CLIENT_ID="${CLOUDRON_OIDC_CLIENT_ID}"
export MINIO_IDENTITY_OPENID_CLIENT_SECRET="${CLOUDRON_OIDC_CLIENT_SECRET}"
export MINIO_IDENTITY_OPENID_SCOPES="openid profile email"
if [[ -z "${MINIO_IDENTITY_OPENID_ROLE_POLICY:-}" ]]; then
export MINIO_IDENTITY_OPENID_ROLE_POLICY="readwrite"
fi
export MINIO_IDENTITY_OPENID_COMMENT="Cloudron OIDC"
fi
# minio is used for backups at times and has a large number of files. optimize by checking if files are actually in correct chown state
echo "==> Changing ownership"
[[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data

1126
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,10 +9,10 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^121.0.0",
"chromedriver": "^125.0.3",
"expect.js": "^0.3.1",
"mocha": "^10.3.0",
"selenium-webdriver": "^4.17.0",
"superagent": "^8.1.2"
"mocha": "^10.4.0",
"selenium-webdriver": "^4.21.0",
"superagent": "^9.0.2"
}
}

View File

@ -20,15 +20,23 @@ const execSync = require('child_process').execSync,
{ Builder, By, until } = require('selenium-webdriver'),
{ Options } = require('selenium-webdriver/chrome');
if (!process.env.USERNAME || !process.env.PASSWORD) {
console.log('USERNAME and PASSWORD env vars need to be set');
process.exit(1);
}
describe('Application life cycle test', function () {
this.timeout(0);
const LOCATION = 'test';
const TEST_TIMEOUT = 30000;
const TEST_TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 30000;
const BUCKET = 'cloudrontestbucket';
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
let browser, app;
let athenticated_by_oidc = false, rootPassword;
let username = process.env.USERNAME;
let password = process.env.PASSWORD;
before(function () {
browser = new Builder().forBrowser('chrome').setChromeOptions(new Options().windowSize({ width: 1280, height: 1024 })).build();
@ -49,23 +57,58 @@ describe('Application life cycle test', function () {
expect(app).to.be.an('object');
}
async function login(accessKey='minioadmin', secretKey='minioadmin') {
async function login(username, password, expandLoginForm=true) {
await browser.manage().deleteAllCookies();
await browser.get('about:blank');
await browser.sleep(2000);
await browser.get(`https://${app.fqdn}/login`);
await browser.sleep(2000);
if (expandLoginForm) {
await waitForElement(By.xpath('//div[@id="alternativeMethods-select"]/div[contains(., "Other Authentication Methods")]'));
await browser.findElement(By.xpath('//div[@id="alternativeMethods-select"]/div[contains(., "Other Authentication Methods")]')).click();
await browser.sleep(2000);
await browser.findElement(By.xpath('//li[contains(., "Use Credentials")] | //div[@label="Use Credentials"]')).click();
await browser.sleep(2000);
}
await waitForElement(By.id('accessKey'));
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
await browser.findElement(By.id('accessKey')).sendKeys(username);
await browser.findElement(By.id('secretKey')).sendKeys(password);
await browser.findElement(By.xpath('//button[@id="do-login"]')).click();
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
await timers.setTimeout(5000);
}
async function loginOIDC(username, password) {
browser.manage().deleteAllCookies();
await browser.get(`https://${app.fqdn}/login`);
await browser.sleep(10000);
await browser.findElement(By.xpath('//button[contains(., "Cloudron")]')).click();
await browser.sleep(10000);
if (!athenticated_by_oidc) {
await waitForElement(By.xpath('//input[@name="username"]'));
await browser.findElement(By.xpath('//input[@name="username"]')).sendKeys(username);
await browser.findElement(By.xpath('//input[@name="password"]')).sendKeys(password);
await browser.sleep(2000);
await browser.findElement(By.id('loginSubmitButton')).click();
await browser.sleep(2000);
athenticated_by_oidc = true;
}
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
}
async function logout() {
await browser.get(`https://${app.fqdn}/`);
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
const button = await browser.findElement(By.xpath('//button[@id="sign-out"]'));
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
await button.click();
await waitForElement(By.id('accessKey'));
await browser.sleep(10000); // needed!
await waitForElement(By.xpath('//*[@id="accessKey"] | //button[contains(., "Cloudron")]'));
}
async function addBucket() {
@ -96,38 +139,87 @@ describe('Application life cycle test', function () {
expect(response.body.toString('utf8')).to.contain('<Code>AccessDenied</Code>');
}
async function changeAdminCredentials() {
let data = fs.readFileSync(path.join(__dirname, '../env.sh.template'), 'utf8');
data += '\nexport MINIO_ROOT_USER=minioakey\nexport MINIO_ROOT_PASSWORD=minioskey\n';
fs.writeFileSync('/tmp/env.sh', data);
execSync(`cloudron push --app ${app.id} /tmp/env.sh /app/data/env.sh`, EXEC_ARGS);
execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS);
await timers.setTimeout(10000);
}
async function getAdminCredentials() {
execSync(`cloudron pull --app ${app.id} /app/data/env.sh /tmp/env.sh`, EXEC_ARGS);
const data = fs.readFileSync('/tmp/env.sh', 'utf8');
const m = data.match(/MINIO_ROOT_PASSWORD=(.*)/);
if (!m) throw new Error('Could not detect root password');
rootPassword = m[1].trim();
console.log(`root password is [${rootPassword}]`);
}
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
it('install app', async function () {
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
// // no SSO
it('install app (no SSO)', async function () {
execSync(`cloudron install --no-sso --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
await timers.setTimeout(10000);
});
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can admin login', login.bind(null, 'minioadmin', 'minioadmin', false));
it('can add bucket', addBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can change credentials', async function () {
let data = fs.readFileSync(path.join(__dirname, '../env.sh'), 'utf8');
data = data
.replace(/MINIO_ROOT_USER=.*/, 'MINIO_ROOT_USER=minioakey')
.replace(/MINIO_ROOT_PASSWORD=.*/, 'MINIO_ROOT_PASSWORD=minioskey');
fs.writeFileSync('/tmp/env.sh', data);
execSync(`cloudron push --app ${app.id} /tmp/env.sh /app/data/env.sh`, EXEC_ARGS);
it('can change admin credentials', changeAdminCredentials);
it('can restart app', async function () {
execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS);
await timers.setTimeout(10000);
});
it('can restart app', function () { execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS); });
it('can login', login.bind(null, 'minioakey', 'minioskey'));
it('can admin login', login.bind(null, 'minioakey', 'minioskey', false));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
// SSO
it('install app (SSO)', async function () {
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
await timers.setTimeout(10000);
});
it('can get app information', getAppInfo);
it('can get admin credentials', getAdminCredentials);
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('can add bucket', addBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('can change admin credentials', changeAdminCredentials);
it('can restart app', async function () {
execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS);
await timers.setTimeout(10000);
});
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('backup app', function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
it('restore app', async function () {
@ -139,9 +231,15 @@ describe('Application life cycle test', function () {
await timers.setTimeout(10000);
});
it('can login', login.bind(null, 'minioakey', 'minioskey'));
it('can get app information', getAppInfo);
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
@ -152,28 +250,44 @@ describe('Application life cycle test', function () {
});
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioakey', 'minioskey'));
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
// test update
it('can install app', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
it('can install app for update', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can get admin credentials', getAdminCredentials);
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('can add buckets', addBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('can update', function () { execSync(`cloudron update --app ${LOCATION}`, EXEC_ARGS); });
it('can configure', function () { execSync(`cloudron configure --app ${LOCATION} --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS); });
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);