Skip to content

Commit dd57484

Browse files
feat: add separate redis for cf-argocd-extras and app-proxy
1 parent b6fd321 commit dd57484

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

charts/gitops-runtime/tests/redis_test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tests:
1414
- containsDocument:
1515
kind: Deployment
1616
apiVersion: apps/v1
17-
name: redis
17+
name: runtime-redis
1818

1919
- it: Redis HA StatefulSet should be created when redis-ha.enabled is true
2020
template: charts/redis-ha/templates/redis-ha-statefulset.yaml
@@ -26,11 +26,11 @@ tests:
2626
- containsDocument:
2727
kind: StatefulSet
2828
apiVersion: apps/v1
29-
name: redis-ha-server
29+
name: runtime-redis-ha-server
3030
- containsDocument:
3131
kind: Deployment
3232
apiVersion: apps/v1
33-
name: redis
33+
name: runtime-redis
3434
not: true
3535

3636
- it: App-Proxy should have CACHE_ environment variables (standalone Redis)
@@ -40,7 +40,7 @@ tests:
4040
asserts:
4141
- equal:
4242
path: spec.template.spec.containers[0].env[?(@.name=="CACHE_HOST")].value
43-
value: redis
43+
value: runtime-redis
4444
- equal:
4545
path: spec.template.spec.containers[0].env[?(@.name=="CACHE_PORT")].value
4646
value: "6379"
@@ -60,7 +60,7 @@ tests:
6060
asserts:
6161
- equal:
6262
path: spec.template.spec.containers[0].env[?(@.name=="CACHE_HOST")].value
63-
value: redis-ha-haproxy
63+
value: runtime-redis-ha-haproxy
6464
- equal:
6565
path: spec.template.spec.containers[0].env[?(@.name=="CACHE_PORT")].value
6666
value: "6379"

0 commit comments

Comments
 (0)