ansible/roles/minio/defaults/main.yaml

62 lines
2.2 KiB
YAML
Raw Normal View History

2023-06-14 20:02:55 +00:00
minio_enabled: true
minio_publish: false
minio_console_publish: false
minio_chart_ref: "minio/minio"
minio_short_name: "minio"
minio_console_short_name: "console"
minio_default_values:
mode: distributed ## other supported values are "standalone"
resources:
requests:
memory: 512Mi
replicas: 4
rootUser: "admin"
rootPassword: "{{ minio_admin_password }}"
persistence:
enabled: true
storageClass: "{{ minio_storage | default('nfs-hdd') }}"
accessMode: "{{ minio_storage_mode | default('ReadWriteOnce') }}"
size: "{{ minio_size | default('100Gi') }}"
ingress:
enabled: true
ingressClassName: "{{ external_ingress_class if minio_publish else internal_ingress_class }}"
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# kubernetes.io/ingress.allow-http: "false"
# kubernetes.io/ingress.global-static-ip-name: ""
# nginx.ingress.kubernetes.io/secure-backends: "true"
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
# nginx.ingress.kubernetes.io/whitelist-source-range: 0.0.0.0/0
path: /
hosts:
- "{{ minio_short_name }}.{{ domain }}"
tls:
- secretName: "{{ minio_short_name }}.{{ domain }}-tls"
hosts:
- "{{ minio_short_name }}.{{ domain }}"
consoleIngress:
enabled: true
ingressClassName: "{{ external_ingress_class if minio_console_publish else internal_ingress_class }}"
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
path: /
hosts:
- "{{ minio_console_short_name }}.{{ minio_short_name }}.{{ domain }}"
tls:
- secretName: "{{ minio_console_short_name }}.{{ minio_short_name }}.{{ domain }}-tls"
hosts:
- "{{ minio_console_short_name }}.{{ minio_short_name }}.{{ domain }}"