feat(node): support for name replacement
Some checks failed
Build and Push Image / Build and push image (push) Failing after 13s
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:
@ -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
|
||||
|
Reference in New Issue
Block a user