-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
statefulset: added support for template PersistentVolumeClaims.
- Loading branch information
1 parent
bab4fde
commit 437d47e
Showing
8 changed files
with
166 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
server: { | ||
name: "minio-server" | ||
|
||
image: "minio/minio@sha256:de46799fc1ced82b784554ba4602b677a71966148b77f5028132fc50adf37b1f" | ||
|
||
// MinIO acts as an object store which requires a stateful deployment (more conservative update strategy). | ||
class: "stateful" | ||
|
||
env: { | ||
// Disable update checking as self-update will never be used. | ||
MINIO_UPDATE: "off" | ||
|
||
MINIO_ROOT_USER: fromSecret: ":user" | ||
MINIO_ROOT_PASSWORD: fromSecret: ":password" | ||
} | ||
|
||
args: [ | ||
"server", | ||
"/minio", | ||
"--address=:9000", | ||
"--console-address=:9001", | ||
] | ||
|
||
mounts: { | ||
"/minio": persistent: { | ||
// Unique volume identifier | ||
id: "minio-server-data" | ||
size: "10GiB" | ||
template: true | ||
} | ||
} | ||
} | ||
|
||
secrets: { | ||
"user": { | ||
description: "Minio root user" | ||
generate: { | ||
uniqueId: "minio-user" | ||
randomByteCount: 32 | ||
format: "FORMAT_BASE32" | ||
} | ||
} | ||
"password": { | ||
description: "Minio root password" | ||
generate: { | ||
uniqueId: "minio-password" | ||
randomByteCount: 32 | ||
format: "FORMAT_BASE32" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"api_version": 86, | ||
"api_version": 87, | ||
"minimum_api_version": 40, | ||
"cache_version": 1 | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters