From 4bf0629877a35fd9830e5dfd8e6854668744c0c2 Mon Sep 17 00:00:00 2001 From: skadefro Date: Sat, 6 Apr 2024 22:25:25 +0200 Subject: [PATCH] fix reddis resources --- charts/openflow/templates/redis.yaml | 2 +- charts/openflow/values.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/openflow/templates/redis.yaml b/charts/openflow/templates/redis.yaml index 8e3b547..bd74b4d 100644 --- a/charts/openflow/templates/redis.yaml +++ b/charts/openflow/templates/redis.yaml @@ -30,7 +30,7 @@ spec: image: {{ .Values.openflow.redisimage | quote }} imagePullPolicy: Always resources: - {{- toYaml .Values.openflow.resources | nindent 12 }} + {{- toYaml .Values.redis.resources | nindent 12 }} ports: - containerPort: 6379 args: [ "--requirepass", "{{ .Values.openflow.cache_store_redis_password }}" ] diff --git a/charts/openflow/values.yaml b/charts/openflow/values.yaml index d0164f2..81a59c6 100644 --- a/charts/openflow/values.yaml +++ b/charts/openflow/values.yaml @@ -15,6 +15,10 @@ port: # if the external port to access this is differente from 80/443, then set grpc: exposed: false internalport: 50051 +redis: + # enabled: true # set using openflow.cache_store_type "redis" + # image: redis # set using image: {{ .Values.openflow.redisimage | quote }} + resources: {} openflow: image: openiap/openflow # set image for api deployment prestop: