Cannot override persistence field
Summary
I'm trying to install Gitlab using the provided MinIO and Gitaly. The problem is that when I override everything related to persistence, nothing is overridden in the template or when I deploy. So it's impossible to change the storageClass and the size...
Steps to reproduce
Deploy Gitlab with the following values.yaml
Configuration used
global:
gitaly:
enabled: true
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 49Gi
storageClass: nfs
minio:
enabled: true
persistence:
enabled: true
storageClass: nfs
size: 9Gi
Current behavior
Anything in persistence is not override.
Expected behavior
The storageclass should be changed as well as the size.
Versions
- Chart: 17.1
- Platform:
- Self-hosted: k3s
- Kubernetes:
- Client: v1.29.2
- Server: v1.29.3+k3s1
- Helm:
- Client: v3.14.1+ge8858f8
- Server: none
Relevant logs
This is what I see in the files generated by the template :
gitlab/charts/gitlab/charts/gitaly/templates/statefulset.yaml
volumeClaimTemplates:
- metadata:
name: repo-data
labels:
app: gitaly
release: gitlab
annotations:
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "50Gi"
selector:
gitlab/charts/minio/templates/minio_pvc.yaml
---
# Source: gitlab/charts/minio/templates/minio_pvc.yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: gitlab-minio
namespace: default
labels:
app: minio
chart: minio-0.4.3
release: gitlab
heritage: Helm
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: "10Gi"
selector: