Totally revamp cluster chart configs
This commit is contained in:
18
charts/minio/deploy.sh
Normal file
18
charts/minio/deploy.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
namespace=minio
|
||||
|
||||
charts=()
|
||||
|
||||
. ../config.sh
|
||||
|
||||
kubectl create ns $namespace
|
||||
kubectl_apply $namespace "${charts[@]}"
|
||||
|
||||
helm template \
|
||||
-n $namespace \
|
||||
-f values.yaml \
|
||||
minio minio/minio \
|
||||
| make_substitutions \
|
||||
| kubectl apply -n $namespace -f -
|
||||
|
||||
46
charts/minio/values.yaml
Normal file
46
charts/minio/values.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
# helm repo add minio https://helm.min.io/
|
||||
# helm install --version 6.0.5 -f minio.yaml -n minio minio minio/minio
|
||||
|
||||
|
||||
accessKey: Mkd324ijlnfll23883
|
||||
secretKey: KJQfefrnflol93jpj31mrkjs3i88sj2L
|
||||
|
||||
# environment:
|
||||
# MINIO_ACCESS_KEY_OLD: YOURACCESSKEY
|
||||
# MINIO_SECRET_KEY_OLD: YOURSECRETKEY
|
||||
|
||||
defaultBucket:
|
||||
enabled: true
|
||||
name: default
|
||||
policy: none
|
||||
purge: false
|
||||
|
||||
buckets:
|
||||
- name: serit
|
||||
policy: none
|
||||
purge: false
|
||||
- name: gitlab
|
||||
policy: none
|
||||
purge: false
|
||||
|
||||
clusterDomain: kube2.local
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
cert-manager.io/cluster-issuer: ca-issuer
|
||||
nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||
hosts:
|
||||
- minio.k2.local
|
||||
tls:
|
||||
- hosts:
|
||||
- minio.k2.local
|
||||
secretName: minio-tls
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 100Gi
|
||||
storageClass: managed-nfs-storage
|
||||
|
||||
Reference in New Issue
Block a user