helmfile.yaml 1.2 KB
bases:
  - ../common/environments.yaml

---

repositories:
  - name: minio
    url: https://charts.min.io/

releases:
  - name: minio
    chart: minio/minio
    condition: minio.enabled
    values:
      - replicas: {{ .Values.replicas }}
        resources: {{ .Values.resources | toYaml | nindent 10 }}
        rootUser: {{ .Values.rootUser }}
        rootPassword: {{ .Values.rootPassword }}
        existingSecret: {{ .Values.existingSecret }}
        persistence:
          storageClass: {{ .Values.persistence.storageClass }}
          size: {{ .Values.persistence.size }}
        metrics:
          serviceMonitor:
            enabled: {{ .Values.monitoring.enabled }}
            public: false
        {{- if .Values.policies }}
        policies:
          {{ .Values.policies | toYaml | nindent 12 }}
        {{- end }}
        {{- if .Values.buckets }}
        buckets:
          {{ .Values.buckets | toYaml | nindent 12 }}
        {{- end }}
        {{- if .Values.users }}
        users:
          {{ .Values.users | toYaml | nindent 12 }}
        {{- end }}
        consoleIngress:
          enabled: true
          #annotations:
          #  kubernetes.io/ingress.class: istio
          ingressClassName: "istio"