|
| 1 | +apiVersion: helm.cattle.io/v1 |
| 2 | +kind: HelmChart |
| 3 | +metadata: |
| 4 | + name: minio-instance |
| 5 | + namespace: minio-operator |
| 6 | +spec: |
| 7 | + chart: https://%{KUBERNETES_API}%/static/charts/minio-instance-4.2.3-bb.1.tgz |
| 8 | + targetNamespace: minio-operator |
| 9 | + # https://repo1.dso.mil/platform-one/big-bang/apps/application-utilities/minio/-/blob/4.2.3-bb.1/chart/values.yaml |
| 10 | + valuesContent: |- |
| 11 | + hostname: minio.localhost |
| 12 | + tenants: |
| 13 | + pools: |
| 14 | + ## Servers specifies the number of MinIO Tenant Pods / Servers in this pool. |
| 15 | + ## For standalone mode, supply 1. For distributed mode, supply 4 or more. |
| 16 | + ## Note that the operator does not support upgrading from standalone to distributed mode. |
| 17 | + - servers: 1 |
| 18 | + ## volumesPerServer specifies the number of volumes attached per MinIO Tenant Pod / Server. |
| 19 | + volumesPerServer: 4 |
| 20 | + ## size specifies the capacity per volume |
| 21 | + size: 1Gi |
| 22 | + ## storageClass specifies the storage class name to be used for this pool |
| 23 | + storageClassName: local-path |
| 24 | + ## Used to specify a toleration for a pod |
| 25 | + tolerations: {} |
| 26 | + ## nodeSelector parameters for MinIO Pods. It specifies a map of key-value pairs. For the pod to be |
| 27 | + ## eligible to run on a node, the node must have each of the |
| 28 | + ## indicated key-value pairs as labels. |
| 29 | + ## Read more here: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ |
| 30 | + nodeSelector: {} |
| 31 | + ## Affinity settings for MinIO pods. Read more about affinity |
| 32 | + ## here: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity. |
| 33 | + affinity: {} |
| 34 | + ## Configure resource requests and limits for MinIO containers |
| 35 | + resources: |
| 36 | + requests: |
| 37 | + cpu: "250m" |
| 38 | + memory: "1Gi" |
| 39 | + limits: |
| 40 | + cpu: "500m" |
| 41 | + memory: "1Gi" |
| 42 | + ## Configure security context |
| 43 | + ## BB Note: Defaults for Ironbank image are 1001 for user, group, and fsGroup |
| 44 | + securityContext: |
| 45 | + runAsUser: 1001 |
| 46 | + runAsGroup: 1001 |
| 47 | + fsGroup: 1001 |
| 48 | + console: |
| 49 | + enabled: true |
| 50 | +--- |
| 51 | +apiVersion: traefik.containo.us/v1alpha1 |
| 52 | +kind: IngressRoute |
| 53 | +metadata: |
| 54 | + name: minio-console-ingressroute |
| 55 | + namespace: minio-operator |
| 56 | +spec: |
| 57 | + entryPoints: |
| 58 | + - websecure |
| 59 | + routes: |
| 60 | + - match: Host(`minio-console.localhost`) |
| 61 | + kind: Rule |
| 62 | + services: |
| 63 | + - name: minio-instance-console |
| 64 | + port: 9090 |
0 commit comments