mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-13 08:19:12 +00:00
Compare commits
28 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
74eea35e18 | ||
|
eafdc900b3 | ||
|
0ec3052ad8 | ||
|
c10b3888f0 | ||
|
8d2b9d84ce | ||
|
13a4de046d | ||
|
d030ce00cc | ||
|
a2ea852bd4 | ||
|
aeeb7473b9 | ||
|
a988358a84 | ||
|
76e75b2421 | ||
|
51bd508a5e | ||
|
4e042bb62f | ||
|
00fc4851bc | ||
|
fb0dae799d | ||
|
a68bdeeade | ||
|
c1dbd2139f | ||
|
fe88ff7d1c | ||
|
fecebfd7e1 | ||
|
0d171ddb5a | ||
|
a5736bba2b | ||
|
f1181e9383 | ||
|
6346e564f9 | ||
|
4843a8345a | ||
|
fd7c75da9f | ||
|
327ede57c3 | ||
|
179628163f | ||
|
dfcab10abe |
84
CHANGELOG
84
CHANGELOG
@@ -1067,3 +1067,87 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
|||||||
* Update minio to 2022-03-14T18-25-24Z
|
* Update minio to 2022-03-14T18-25-24Z
|
||||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.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
|
||||||
|
|
||||||
|
[2.4.14]
|
||||||
|
* Update minio to 2022-05-04T07-45-27Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-04T07-45-27Z)
|
||||||
|
* Add audit log for decommissioning
|
||||||
|
|
||||||
|
[2.5.0]
|
||||||
|
* Update minio to 2022-05-08T23-50-31Z
|
||||||
|
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-08T23-50-31Z)
|
||||||
|
* Fix missing annotations for PVCs by @Sea-you in #14793
|
||||||
|
* Add OPA doc and remove deprecation marking by @donatello in #14863
|
||||||
|
* avoid concurrent reads and writes to opts.UserDefined by @harshavardhana in #14862
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Distributed object storage",
|
"tagline": "Distributed object storage",
|
||||||
"version": "2.4.2",
|
"version": "2.5.0",
|
||||||
"upstreamVersion": "2022-03-14T18-25-24Z",
|
"upstreamVersion": "2022-05-08T23-50-31Z",
|
||||||
"healthCheckPath": "/minio/login",
|
"healthCheckPath": "/minio/login",
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
"httpPorts": {
|
"httpPorts": {
|
||||||
|
@@ -1,27 +1,29 @@
|
|||||||
|
## About
|
||||||
|
|
||||||
Minio is a distributed object storage server built for cloud applications and devops.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Go is an emerging language of choice for modern cloud infrastructure projects. Go language enables Minio to be highly concurrent and lightweight.
|
||||||
|
@@ -3,14 +3,14 @@ FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd1
|
|||||||
RUN mkdir -p /app/code
|
RUN mkdir -p /app/code
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
|
||||||
ARG VERSION=RELEASE.2022-03-14T18-25-24Z
|
ARG VERSION=RELEASE.2022-05-08T23-50-31Z
|
||||||
ARG MC_VERSION=RELEASE.2022-03-13T22-34-00Z
|
ARG MC_VERSION=RELEASE.2022-05-09T04-08-26Z
|
||||||
|
|
||||||
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
|
# 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
|
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/
|
# 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
|
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" ]
|
CMD [ "/app/code/start.sh" ]
|
||||||
|
@@ -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
14
test/package-lock.json
generated
@@ -9,7 +9,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^99.0.0",
|
"chromedriver": "^100.0.0",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^9.2.2",
|
"mocha": "^9.2.2",
|
||||||
"selenium-webdriver": "^4.1.1",
|
"selenium-webdriver": "^4.1.1",
|
||||||
@@ -283,9 +283,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/chromedriver": {
|
"node_modules/chromedriver": {
|
||||||
"version": "99.0.0",
|
"version": "100.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-99.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-100.0.0.tgz",
|
||||||
"integrity": "sha512-pyB+5LuyZdb7EBPL3i5D5yucZUD+SlkdiUtmpjaEnLd9zAXp+SvD/hP5xF4l/ZmWvUo/1ZLxAI1YBdhazGTpgA==",
|
"integrity": "sha512-oLfB0IgFEGY9qYpFQO/BNSXbPw7bgfJUN5VX8Okps9W2qNT4IqKh5hDwKWtpUIQNI6K3ToWe2/J5NdpurTY02g==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@testim/chrome-version": "^1.1.2",
|
"@testim/chrome-version": "^1.1.2",
|
||||||
@@ -2067,9 +2067,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"chromedriver": {
|
"chromedriver": {
|
||||||
"version": "99.0.0",
|
"version": "100.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-99.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-100.0.0.tgz",
|
||||||
"integrity": "sha512-pyB+5LuyZdb7EBPL3i5D5yucZUD+SlkdiUtmpjaEnLd9zAXp+SvD/hP5xF4l/ZmWvUo/1ZLxAI1YBdhazGTpgA==",
|
"integrity": "sha512-oLfB0IgFEGY9qYpFQO/BNSXbPw7bgfJUN5VX8Okps9W2qNT4IqKh5hDwKWtpUIQNI6K3ToWe2/J5NdpurTY02g==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@testim/chrome-version": "^1.1.2",
|
"@testim/chrome-version": "^1.1.2",
|
||||||
"axios": "^0.24.0",
|
"axios": "^0.24.0",
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^99.0.0",
|
"chromedriver": "^100.0.0",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^9.2.2",
|
"mocha": "^9.2.2",
|
||||||
"selenium-webdriver": "^4.1.1",
|
"selenium-webdriver": "^4.1.1",
|
||||||
|
@@ -54,12 +54,12 @@ describe('Application life cycle test', function () {
|
|||||||
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
|
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
|
||||||
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
|
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
|
||||||
await browser.findElement(By.xpath('//button[contains(text(), "Login")]')).click();
|
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() {
|
async function logout() {
|
||||||
await browser.get(`https://${app.fqdn}/`);
|
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 browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click();
|
||||||
await waitForElement(By.id('accessKey'));
|
await waitForElement(By.id('accessKey'));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user