From 9ae98710d6c83a593eb5270334256b91e3a669bf Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Wed, 25 Sep 2024 07:18:12 -0400 Subject: [PATCH 1/3] Update score.yaml - Change MESSAGE --- score/score.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/score/score.yaml b/score/score.yaml index bbb98b3..b9b210c 100644 --- a/score/score.yaml +++ b/score/score.yaml @@ -12,7 +12,7 @@ containers: memory: "64Mi" cpu: "25m" variables: - MESSAGE: "Hello, World!" + MESSAGE: "Hello, Universe!" resources: dns: type: dns From bfa257614f3367f24f7b6e4d96c169be3f3db269 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Wed, 25 Sep 2024 12:22:19 +0000 Subject: [PATCH 2/3] Add Redis --- score/score.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/score/score.yaml b/score/score.yaml index b9b210c..40592c1 100644 --- a/score/score.yaml +++ b/score/score.yaml @@ -13,7 +13,10 @@ containers: cpu: "25m" variables: MESSAGE: "Hello, Universe!" + REDIS_ADDR: "${resources.redis-cart.host}:${resources.redis-cart.port},user=${resources.redis-cart.username},password=${resources.redis-cart.password}" resources: + redis: + type: redis dns: type: dns route: From 5e9e0d90cd728b2a951500e9ec62b5eb99330289 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Wed, 25 Sep 2024 12:23:35 +0000 Subject: [PATCH 3/3] Fix Redis --- score/score.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/score/score.yaml b/score/score.yaml index 40592c1..fef952e 100644 --- a/score/score.yaml +++ b/score/score.yaml @@ -13,9 +13,9 @@ containers: cpu: "25m" variables: MESSAGE: "Hello, Universe!" - REDIS_ADDR: "${resources.redis-cart.host}:${resources.redis-cart.port},user=${resources.redis-cart.username},password=${resources.redis-cart.password}" + REDIS_ADDR: "${resources.my-redis.host}:${resources.my-redis.port},user=${resources.my-redis.username},password=${resources.my-redis.password}" resources: - redis: + my-redis: type: redis dns: type: dns