github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/helm/templates/addons/minio.yaml (about)

     1  apiVersion: extensions.kubeblocks.io/v1alpha1
     2  kind: Addon
     3  metadata:
     4    name: minio
     5    labels:
     6      {{- include "kubeblocks.labels" . | nindent 4 }}
     7      "kubeblocks.io/provider": community
     8    {{- if .Values.keepAddons }}
     9    annotations:
    10      helm.sh/resource-policy: keep
    11    {{- end }}
    12  spec:
    13    description: 'MinIO(R) is an object storage server, compatible with Amazon S3 cloud storage service, mainly used for storing unstructured data (such as photos, videos, log files, etc.).'
    14    type: Helm
    15  
    16    helm:
    17      {{- include "kubeblocks.addonChartLocationURL" ( dict "name" "minio" "version" "12.8.12" "values" .Values) | indent 4 }}
    18      {{- include "kubeblocks.addonChartsImage" . | indent 4 }}
    19  
    20      installOptions:
    21        {{- if hasPrefix "oci://" .Values.addonChartLocationBase }}
    22        version: 12.8.12
    23        {{- end }}
    24  
    25      installValues:
    26        setValues:
    27          - auth.rootUser=kubeblocks
    28          - auth.rootPassword=kubeblocks
    29          - extraEnvVars[0].name=MINIO_BROWSER_LOGIN_ANIMATION
    30          - extraEnvVars[0].value=off
    31    installable:
    32      autoInstall: false
    33  
    34    defaultInstallValues:
    35      - enabled: true
    36