feat(node): support for name replacement
Some checks failed
Build and Push Image / Build and push image (push) Failing after 13s

now when you include this project you can change then service and statefulset name from
the valkey-env configMap
This commit is contained in:
2025-05-28 10:57:50 +02:00
parent 36e6cd84f9
commit 3c550b3015
6 changed files with 59 additions and 166 deletions

View File

@ -6,15 +6,14 @@ resources:
- resources/statefulset.yaml
- resources/svc.yaml
replacements:
- path: ./replacements/replicas.yaml
configMapGenerator:
- name: valkey-env
literals:
- NAMESPACE="default"
- VALKEY_ENV="base"
- VALKEY_SERVICE="valkey-headless"
- VALKEY_NAME="valkey-node"
- VALKEY_SERVICE="valkey"
- VALKEY_HEADLESS_SERVICE="valkey-headless"
- VALKEY_REPLICAS="4"
- VALKEY_PORT="6379"
- VALKEY_SENTINEL_PORT="26379"
@ -38,3 +37,7 @@ configMapGenerator:
- files/scripts/ping-sentinel.sh
- files/scripts/liveness-local.sh
- files/scripts/readiness-local.sh
replacements:
- path: ./replacements/services.yaml
- path: ./replacements/statefulset.yaml