Minio volume is being deleted across uninstall/install

Summary

My GitLab instance encountered CI errors due to hitting the 10G limit on the minio instance.

Tried to expand PVC on the fly (using longhorn) but it requires detached volumes.

Did uninstall the helm release and found out that the minio PV is gone (while postgres/redis/gitaly are properly detached) so I guess there must be some config issue as it should not be dropped!

Finally tried to set a bigger size in the config but it looks like it is hardcoded to 10G...!

Configuration used

CHART_VERSION:="4.5.4"
APP_VERSION:="13.5.4"
global:
  edition: ce
  ingress:
    class: nginx
    configureCertmanager: false
    annotations:
      kubernetes.io/tls-acme: "true"
      cert-manager.io/cluster-issuer: letsencrypt
  minio:
    enabled: true

Current behavior

Deleted minio volume when performing helm uninstall $RELEASE

Expected behavior

Persistent volume (detached)

Versions

  • Chart: 4.5.4
  • Platform:
    • Self-hosted: kubeadm
  • Kubernetes: (kubectl version)
    • Client: v1.19.3
    • Server: v1.19.3
  • Helm: (helm version)
    • Client: v3.4.1

Relevant logs

▶ make uninstall
W1117 11:39:14.096263   17802 warnings.go:67] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W1117 11:39:14.099309   17802 warnings.go:67] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W1117 11:39:14.099312   17802 warnings.go:67] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W1117 11:39:14.416428   17802 warnings.go:67] rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding
W1117 11:39:14.428583   17802 warnings.go:67] rbac.authorization.k8s.io/v1beta1 ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRole
release "gitlab" uninstalled

▶ k get pvc --namespace gitlab
NAME                               STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
data-gitlab-postgresql-0           Bound    pvc-e4909705-2f24-4050-b015-e1cd41b43743   8Gi        RWO            longhorn       108d
redis-data-gitlab-redis-master-0   Bound    pvc-e583af9d-d390-4a93-bc9e-c614ae14ba13   8Gi        RWO            longhorn       108d
repo-data-gitlab-gitaly-0          Bound    pvc-a1845650-c6ca-4b31-a64e-559c89c16568   50Gi       RWO            longhorn       108d
Edited by Olivier Louvignes