gitlab: Move object storage to Garage and Redis to Valkey.
The bundled MinIO and Redis charts are removed in GitLab chart 10.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Change-Id: I351c599ec803970c86d7b8a7c033144a00028edc
diff --git a/gitlab-system/valkey-values.yaml b/gitlab-system/valkey-values.yaml
new file mode 100644
index 0000000..9d2810a
--- /dev/null
+++ b/gitlab-system/valkey-values.yaml
@@ -0,0 +1,26 @@
+# Helm values for the Valkey instance used by GitLab (replaces the
+# bundled Redis that was removed in GitLab chart 10).
+#
+# helm repo add valkey https://valkey.io/valkey-helm/
+# helm -n gitlab-system upgrade --install valkey valkey/valkey --version 0.12.0 -f valkey-values.yaml
+#
+# The password lives in the valkey-auth secret (key default-password),
+# which must exist before installing.
+#
+# local-path volumes are created owned by root, but Valkey runs as UID
+# 1000, so after the first install the PVC has to be chowned once:
+#
+# kubectl -n gitlab-system run valkey-chown --rm -i --restart=Never --image=busybox:1.36 \
+# --overrides='{"spec":{"containers":[{"name":"c","image":"busybox:1.36","command":["chown","-R","1000:1000","/data"],"volumeMounts":[{"name":"d","mountPath":"/data"}]}],"volumes":[{"name":"d","persistentVolumeClaim":{"claimName":"valkey"}}]}}'
+auth:
+ enabled: true
+ usersExistingSecret: valkey-auth
+ aclUsers:
+ default:
+ permissions: "~* &* +@all"
+ passwordKey: default-password
+dataStorage:
+ enabled: true
+ requestedSize: 2Gi
+ className: local-path
+ keepPvc: true