Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example's fsGroup #609

Merged
merged 1 commit into from
Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/tenant-lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ spec:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
fsGroup: 1000

## Mount path where PV will be mounted inside container(s).
mountPath: /export
Expand Down Expand Up @@ -189,3 +190,4 @@ spec:
runAsUser: 1000
runAsGroup: 2000
runAsNonRoot: true
fsGroup: 2000
2 changes: 2 additions & 0 deletions examples/tenant-tiny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ spec:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
fsGroup: 1000

## Mount path where PV will be mounted inside container(s).
mountPath: /export
Expand Down Expand Up @@ -189,3 +190,4 @@ spec:
runAsUser: 1000
runAsGroup: 2000
runAsNonRoot: true
fsGroup: 2000
2 changes: 2 additions & 0 deletions examples/tenant-with-external-idp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ spec:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
fsGroup: 1000

## Mount path where PV will be mounted inside container(s).
mountPath: /export
Expand Down Expand Up @@ -194,6 +195,7 @@ spec:
runAsUser: 1000
runAsGroup: 2000
runAsNonRoot: true
fsGroup: 2000
env:
- name: CONSOLE_IDP_URL
value: "https://your-extenal-idp.com/" # Your external identity provide URL
Expand Down
20 changes: 18 additions & 2 deletions examples/tenant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,21 @@ spec:
## 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: 4

affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: v1.min.io/tenant
operator: In
values:
- minio
- key: v1.min.io/pool
operator: In
values:
- pool-0
topologyKey: kubernetes.io/hostname
name: pool-0
## volumesPerServer specifies the number of volumes attached per MinIO Tenant Pod / Server.
volumesPerServer: 4

Expand All @@ -75,7 +89,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 1Ti
storage: 10Gi

## Used to specify a toleration for a pod
# tolerations:
Expand Down Expand Up @@ -127,6 +141,7 @@ spec:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
fsGroup: 1000

## Mount path where PV will be mounted inside container(s).
mountPath: /export
Expand Down Expand Up @@ -207,3 +222,4 @@ spec:
runAsUser: 1000
runAsGroup: 2000
runAsNonRoot: true
fsGroup: 2000
1 change: 1 addition & 0 deletions helm/minio-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ operator:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
fsGroup: 1000
resources:
requests:
cpu: 200m
Expand Down