Files
lasuite-docs/src/helm/helmfile.yaml.gotmpl
T
Manuel Raynaud 5acd4c2902 🔧(tilt) run two valkey sentinel instances through valkey-operator
We need to use valkey instead of an old redis version. We decided to use
the operator https://github.com/chideat/valkey-operator/ and configure
it in both feature and dev environments.
2026-09-21 14:48:41 +02:00

63 lines
1.7 KiB
Go Template

environments:
dev:
values:
- version: 5.7.0
feature:
values:
- version: 5.7.0
feature: ci
domain: example.com
imageTag: demo
---
repositories:
- name: dev-backends
url: https://suitenumerique.github.io/helm-dev-backend
---
releases:
- name: dev-backend
namespace: {{ .Namespace }}
chart: dev-backends/dev-backend
version: 0.0.10
values:
- env.d/{{ .Environment.Name }}/values.dev-backend.yaml.gotmpl
# One Valkey instance for the backend (cache, sessions, celery) and
# one for yhub, each a primary, a replica and three Sentinels
- name: valkey-operator
namespace: {{ .Namespace }}
chart: git::https://github.com/chideat/valkey-operator.git@charts/valkey-operator?ref=v2.0.1
# webhooks off: no cert-manager needed, and a User is not refused for being
# created before the operator made the Failover of its instance. The chart
# alone cannot turn them off: the ytt overlay
# extra/valkey-operator/disable-webhooks.ytt.yaml does the rest in argocd,
# bin/Tiltfile in the local stack
values:
- webhook:
enabled: false
certManager:
enabled: false
- name: valkey-docs
namespace: {{ .Namespace }}
chart: ./extra/valkey
needs:
- valkey-operator
values:
- env.d/{{ .Environment.Name }}/values.valkey.yaml.gotmpl
- name: valkey-yhub
namespace: {{ .Namespace }}
chart: ./extra/valkey
needs:
- valkey-operator
values:
- env.d/{{ .Environment.Name }}/values.valkey.yaml.gotmpl
- name: impress
version: {{ .Values.version }}
namespace: {{ .Namespace }}
chart: ./impress
values:
- env.d/{{ .Environment.Name }}/values.impress.yaml.gotmpl