-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split minio into own pkg & cleanup/update postgres/minio examples (#667)
* split minio into own pkg & cleanup/update postgres/minio examples * remove faulty minio backup from postgres operator * rename zarf connect manifests
- Loading branch information
1 parent
113d3b1
commit 9ad8b6e
Showing
16 changed files
with
142 additions
and
180 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
operator: | ||
resources: | ||
requests: | ||
cpu: 200m | ||
memory: 256Mi | ||
ephemeral-storage: 500Mi | ||
env: | ||
# Disable TLS for this demo | ||
- name: MINIO_OPERATOR_TLS_ENABLE | ||
value: "off" |
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,26 @@ | ||
tenant: | ||
pools: | ||
## Servers specifies the number of MinIO Tenant Pods / Servers in this pool. | ||
## For standalone mode, supply 1. For distributed mode, supply 4 or more. | ||
## Note that the operator does not support upgrading from standalone to distributed mode. | ||
- servers: 1 | ||
## volumesPerServer specifies the number of volumes attached per MinIO Tenant Pod / Server. | ||
volumesPerServer: 4 | ||
## size specifies the capacity per volume | ||
size: 1Gi | ||
## storageClass specifies the storage class name to be used for this pool | ||
storageClassName: "###ZARF_STORAGE_CLASS###" | ||
## Configure resource requests and limits for MinIO containers | ||
resources: | ||
requests: | ||
cpu: "250m" | ||
memory: "1Gi" | ||
## LogSearch API setup for MinIO Tenant. | ||
log: | ||
## Postgres setup for LogSearch API | ||
db: | ||
volumeClaimTemplate: | ||
spec: | ||
storageClassName: "###ZARF_STORAGE_CLASS###" | ||
prometheus: | ||
storageClassName: "###ZARF_STORAGE_CLASS###" |
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,38 @@ | ||
kind: ZarfPackageConfig | ||
metadata: | ||
name: minio | ||
description: "Deploy minio" | ||
version: 4.3.7 | ||
url: https://operator.min.io/ | ||
image: https://raw.githubusercontent.com/minio/minio/master/.github/logo.svg?sanitize=true | ||
|
||
components: | ||
- name: minio | ||
required: true | ||
charts: | ||
- name: operator | ||
releaseName: minio-operator | ||
url: https://operator.min.io/ | ||
version: 4.4.28 | ||
namespace: minio-operator | ||
valuesFiles: | ||
- operator-values.yaml | ||
- name: tenant | ||
releaseName: minio-tenant | ||
url: https://operator.min.io/ | ||
version: 4.4.28 | ||
namespace: minio-operator | ||
valuesFiles: | ||
- tenant-values.yaml | ||
manifests: | ||
- name: zarf-connect | ||
files: | ||
- zarf-connect.yaml | ||
images: | ||
- minio/console:v0.19.4 | ||
- minio/operator:v4.4.28 | ||
- quay.io/minio/minio:RELEASE.2022-05-26T05-48-41Z | ||
- library/postgres:13 | ||
- busybox:1.33.1 | ||
- alpine | ||
- quay.io/prometheus/prometheus:latest |
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 was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
examples/postgres-operator/manifests/postgres-operator.yaml
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ resources: | |
cpu: "500m" | ||
memory: "512Mi" | ||
env: | ||
email: "[email protected]" | ||
password: "###ZARF_GIT_AUTH_PUSH###" | ||
email: "[email protected]" | ||
password: "###ZARF_VAR_PGADMIN_PASSWORD###" |
File renamed without changes.
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,24 @@ | ||
configPostgresPodResources: | ||
default_cpu_request: "100m" | ||
default_memory_request: "100Mi" | ||
default_cpu_limit: "500m" | ||
default_memory_limit: "500Mi" | ||
min_cpu_limit: "250m" | ||
min_memory_limit: "250Mi" | ||
configConnectionPooler: | ||
connection_pooler_default_cpu_request: "100m" | ||
connection_pooler_default_cpu_limit: "1000m" | ||
connection_pooler_default_memory_request: "100Mi" | ||
connection_pooler_default_memory_limit: "500Mi" | ||
resources: | ||
requests: | ||
cpu: "100m" | ||
memory: "250Mi" | ||
limits: | ||
cpu: "1000m" | ||
memory: "1Gi" | ||
securityContext: | ||
runAsUser: 1000 | ||
runAsNonRoot: true | ||
readOnlyRootFilesystem: true | ||
allowPrivilegeEscalation: false |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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