1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-06 09:25:48 +00:00

Compare commits

...

28 Commits

Author SHA1 Message Date
Girish Ramakrishnan
13a4de046d Version 2.4.13 2022-05-03 15:42:40 -07:00
Girish Ramakrishnan
d030ce00cc Update minio to 2022-05-03T20-36-08Z 2022-05-03 15:32:54 -07:00
Girish Ramakrishnan
a2ea852bd4 can only change password with env vars now
https://docs.min.io/docs/minio-server-configuration-guide.html#credentials
2022-04-30 15:45:21 -07:00
Girish Ramakrishnan
aeeb7473b9 Version 2.4.12 2022-04-29 10:57:03 -07:00
Girish Ramakrishnan
a988358a84 Update minio to 2022-04-29T01-27-09Z 2022-04-29 10:49:15 -07:00
Girish Ramakrishnan
76e75b2421 Version 2.4.11 2022-04-25 22:46:17 -07:00
Girish Ramakrishnan
51bd508a5e Update minio to 2022-04-26T01-20-24Z 2022-04-25 22:31:06 -07:00
Girish Ramakrishnan
4e042bb62f Version 2.4.10 2022-04-17 11:35:02 -05:00
Girish Ramakrishnan
00fc4851bc Update minio to 2022-04-16T04-26-02Z 2022-04-17 11:23:56 -05:00
Girish Ramakrishnan
fb0dae799d Version 2.4.9 2022-04-13 09:18:58 -05:00
Girish Ramakrishnan
a68bdeeade Update minio to 2022-04-12T06-55-35Z 2022-04-13 09:08:05 -05:00
Girish Ramakrishnan
c1dbd2139f Version 2.4.8 2022-04-10 06:57:22 -07:00
Girish Ramakrishnan
fe88ff7d1c Update minio to 2022-04-09T15-09-52Z 2022-04-10 06:52:12 -07:00
Girish Ramakrishnan
fecebfd7e1 Version 2.4.7 2022-04-04 09:21:42 -07:00
Girish Ramakrishnan
0d171ddb5a Update minio to 2022-04-01T03-41-39Z 2022-04-04 09:06:44 -07:00
Girish Ramakrishnan
a5736bba2b Version 2.4.6 2022-03-29 11:27:46 -07:00
Girish Ramakrishnan
f1181e9383 Update minio to 2022-03-26T06-49-28Z 2022-03-29 11:19:33 -07:00
Girish Ramakrishnan
6346e564f9 Version 2.4.5 2022-03-24 09:29:36 -07:00
Girish Ramakrishnan
4843a8345a Update minio to 2022-03-24T00-43-44Z 2022-03-24 09:22:04 -07:00
Girish Ramakrishnan
fd7c75da9f Version 2.4.4 2022-03-22 09:21:29 -07:00
Girish Ramakrishnan
327ede57c3 Update minio to 2022-03-22T02-05-10Z 2022-03-22 09:06:33 -07:00
Girish Ramakrishnan
179628163f Version 2.4.3 2022-03-17 09:39:55 -07:00
Girish Ramakrishnan
dfcab10abe Update minio to 2022-03-17T06-34-49Z 2022-03-17 09:15:47 -07:00
Girish Ramakrishnan
642f1860d2 Version 2.4.2 2022-03-15 09:45:31 -07:00
Girish Ramakrishnan
bc6656111f Update client also 2022-03-15 09:37:51 -07:00
Girish Ramakrishnan
53371d5428 Update minio to 2022-03-14T18-25-24Z 2022-03-15 09:34:11 -07:00
Girish Ramakrishnan
444d1972e2 Version 2.4.1 2022-03-13 10:41:40 -07:00
Girish Ramakrishnan
1f51564fc7 Update minio to 2022-03-11T23-57-45Z 2022-03-13 10:35:38 -07:00
8 changed files with 105 additions and 63 deletions

View File

@@ -1057,4 +1057,85 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* Update minio to 2022-03-11T11-08-23Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-11T11-08-23Z)
[2.4.1]
* Update minio to 2022-03-11T23-57-45Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-11T23-57-45Z)
* add filesystem group change policy for large minio deployments by @dharapvj in #14528
* Fix regression from range GET proxying #14345 by @poornas in #14532
[2.4.2]
* Update minio to 2022-03-14T18-25-24Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-14T18-25-24Z)
[2.4.3]
* Update minio to 2022-03-17T06-34-49Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-17T06-34-49Z)
[2.4.4]
* Update minio to 2022-03-22T02-05-10Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-22T02-05-10Z)
[2.4.5]
* Update minio to 2022-03-24T00-43-44Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-24T00-43-44Z)
[2.4.6]
* Update minio to 2022-03-26T06-49-28Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-26T06-49-28Z)
[2.4.7]
* Update minio to 2022-04-01T03-41-39Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-01T03-41-39Z)
* Always get the actual object size in bulk SSE-S3 by @vadmeste in #14637
* listing: decrypt only SSE-S3 single-part ETags by @aead in #14638
* Load IAM with a single listing call by @donatello in #14640
* fix: multiple pool setup return incorrect DeleteMarker metadata by @harshavardhana in #14642
* Quick type for fix ttfb entry in table by @eco-minio in #14647
[2.4.8]
* Update minio to 2022-04-09T15-09-52Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-09T15-09-52Z)
* Add metrics for observing IAM sync operations by @donatello in #14680
* Write deployment id to health report at the start by @anjalshireesh in #14673
* etag: add Format and Decrypt functions by @aead in #14659
* Remove unnecessary log printing by @vadmeste in #14685
* listing: improve listing of encrypted objects by @aead in #14667
* Set inspect-input.txt modtime by @klauspost in #14688
[2.4.9]
* Update minio to 2022-04-12T06-55-35Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-12T06-55-35Z)
* Fix a privilege escalation security issue - https://github.com/minio/minio/security/advisories/GHSA-2j69-jjmg-534q
* Console v0.15.10 by @dvaldivia in #14723
* align atomic variables once more for 32bit by @harshavardhana in #14721
* make sure to pass Lifecycle if set for List filtering by @harshavardhana in #14722
* Set permissions for GitHub actions by @naveensrinivasan in #14693
* Add support for minio tier type by @krisis in #14468
[2.4.10]
* Update minio to 2022-04-16T04-26-02Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-16T04-26-02Z)
* Allow parallel decom migration threads to be more than erasure sets by @krishnasrinivas in #14733
* Include speedtest as part of healthinfo api by @anjalshireesh in #14696
* Support templating accessKey existingSecret and bucket name by @yisiqi in #14643
* enable go1.18.x builds by @harshavardhana in #14746
* [S3Select] Switch to new parquet library and reduce locking by @donatello in #14731
* Update Console v0.15.13 by @dvaldivia in #14751
[2.4.11]
* Update minio to 2022-04-26T01-20-24Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-26T01-20-24Z)
[2.4.12]
* Update minio to 2022-04-29T01-27-09Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-29T01-27-09Z)
[2.4.13]
* Update minio to 2022-05-03T20-36-08Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-03T20-36-08Z)
* fix: panic in browser redirect handler for unexpected r.Host by @harshavardhana in #14844
* fix: reject invalid r.Host headers by @harshavardhana in #14846
* fix: disallow newer policies, users & groups with space characters by @harshavardhana in #14845
* Check error status codes by @klauspost in #14850
* Log Range Header by @klauspost in #14851
* fix: remove embedded-policy as requested by the user by @harshavardhana in #14847

View File

@@ -5,8 +5,8 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "2.4.0",
"upstreamVersion": "2022-03-11T11-08-23Z",
"version": "2.4.13",
"upstreamVersion": "2022-05-03T20-36-08Z",
"healthCheckPath": "/minio/login",
"httpPort": 8000,
"httpPorts": {

View File

@@ -1,27 +1,29 @@
## About
Minio is a distributed object storage server built for cloud applications and devops.
### Features
## Features
#### Amazon S3 Compatible
### Amazon S3 Compatible
Minio implements Amazon S3 v4 APIs. Minio also includes client SDKs and a console utility.
#### Minimalist Design
### Minimalist Design
Minio is deeply influenced by minimalism. We believe that only simple things scale.
#### Apache License 2.0
### Apache License 2.0
Minio is free software, released under Apache license v2.0. Minio has an active developer and user community.
#### Lambda Functions
### Lambda Functions
Minio triggers Lambda functions through event notification service. In addition Minio also supports simple queueing service for AMQP, Elasticsearch, Redis, NATS and Postgres targets.
#### Erasure Code & Bitrot Protection
### Erasure Code & Bitrot Protection
Minio protects data against hardware failures and silent data corruption using erasure code and checksums. You may lose half the number of drives and still recover from it.
#### Written in Go
### Written in Go
Go is an emerging language of choice for modern cloud infrastructure projects. Go language enables Minio to be highly concurrent and lightweight.

View File

@@ -3,14 +3,14 @@ FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd1
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=RELEASE.2022-03-11T11-08-23Z
ARG MC_VERSION=RELEASE.2022-03-09T02-08-36Z
ARG VERSION=RELEASE.2022-05-03T20-36-08Z
ARG MC_VERSION=RELEASE.2022-04-26T18-00-22Z
# 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
# https://dl.min.io/client/mc/release/linux-amd64/
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -O /app/code/mc && chmod +x /app/code/mc
COPY env.sh minio-credentials start.sh /app/code/
COPY env.sh start.sh /app/code/
CMD [ "/app/code/start.sh" ]

View File

@@ -1,41 +0,0 @@
#!/usr/bin/env node
'use strict';
const fs = require('fs');
const MINIO_CONFIG = '/app/data/data/.minio.sys/config/config.json';
function usage() {
console.log('Usage:\n');
console.log('\tminio-credentials get');
console.log('\tminio-credentials set <access key> <secret key>');
console.log();
}
let config = JSON.parse(fs.readFileSync(MINIO_CONFIG, 'utf8'));
let adminCredentials = config['credentials']['_'];
let accessKey = adminCredentials.filter(kv => kv.key === 'access_key')[0];
let secretKey = adminCredentials.filter(kv => kv.key === 'secret_key')[0];
if (process.argv[2] === 'get') {
console.log('Access Key:', accessKey.value);
console.log('Secret Key:', secretKey.value);
} else if (process.argv[2] === 'set') {
if (process.argv.length !== 5) return usage();
// https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html
if (process.argv[4].length < 5) return console.log('secret key must be atleast 5 characters');
if (!/^[\w+=,.@-]+$/.test(process.argv[3])) return console.log('access key has invalid characters');
accessKey.value = process.argv[3];
if (process.argv[4].length < 8) return console.log('secret key must be atleast 8 characters');
secretKey.value = process.argv[4];
fs.writeFileSync(MINIO_CONFIG, JSON.stringify(config), 'utf8');
console.log('Credentials updated. Restart minio app for new credentials to take effect.\n');
} else {
usage();
}

14
test/package-lock.json generated
View File

@@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"chromedriver": "^99.0.0",
"chromedriver": "^100.0.0",
"expect.js": "^0.3.1",
"mocha": "^9.2.2",
"selenium-webdriver": "^4.1.1",
@@ -283,9 +283,9 @@
}
},
"node_modules/chromedriver": {
"version": "99.0.0",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-99.0.0.tgz",
"integrity": "sha512-pyB+5LuyZdb7EBPL3i5D5yucZUD+SlkdiUtmpjaEnLd9zAXp+SvD/hP5xF4l/ZmWvUo/1ZLxAI1YBdhazGTpgA==",
"version": "100.0.0",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-100.0.0.tgz",
"integrity": "sha512-oLfB0IgFEGY9qYpFQO/BNSXbPw7bgfJUN5VX8Okps9W2qNT4IqKh5hDwKWtpUIQNI6K3ToWe2/J5NdpurTY02g==",
"hasInstallScript": true,
"dependencies": {
"@testim/chrome-version": "^1.1.2",
@@ -2067,9 +2067,9 @@
}
},
"chromedriver": {
"version": "99.0.0",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-99.0.0.tgz",
"integrity": "sha512-pyB+5LuyZdb7EBPL3i5D5yucZUD+SlkdiUtmpjaEnLd9zAXp+SvD/hP5xF4l/ZmWvUo/1ZLxAI1YBdhazGTpgA==",
"version": "100.0.0",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-100.0.0.tgz",
"integrity": "sha512-oLfB0IgFEGY9qYpFQO/BNSXbPw7bgfJUN5VX8Okps9W2qNT4IqKh5hDwKWtpUIQNI6K3ToWe2/J5NdpurTY02g==",
"requires": {
"@testim/chrome-version": "^1.1.2",
"axios": "^0.24.0",

View File

@@ -9,7 +9,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^99.0.0",
"chromedriver": "^100.0.0",
"expect.js": "^0.3.1",
"mocha": "^9.2.2",
"selenium-webdriver": "^4.1.1",

View File

@@ -54,12 +54,12 @@ describe('Application life cycle test', function () {
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
await browser.findElement(By.xpath('//button[contains(text(), "Login")]')).click();
await waitForElement(By.xpath('//h4[contains(text(), "Buckets")]'));
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
}
async function logout() {
await browser.get(`https://${app.fqdn}/`);
await waitForElement(By.xpath('//h4[contains(text(), "Buckets")]'));
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
await browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click();
await waitForElement(By.id('accessKey'));
}