Skip to content

Commit 526ebca

Browse files
committed
chore(redis): remove logger from redis conf
1 parent a071473 commit 526ebca

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

charts/redis/templates/redis-secret-creds.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ metadata:
88
annotations:
99
"helm.sh/hook": pre-install
1010
data:
11-
{{ if eq .Values.global.logger_redis_location "on-cluster"}}
11+
{{ if eq .Values.global.redis_location "on-cluster"}}
1212
password: {{ randAlphaNum 32 | b64enc }}
13-
{{ else if eq .Values.global.logger_redis_location "off-cluster"}}
13+
{{ else if eq .Values.global.redis_location "off-cluster"}}
1414
addrs: {{ .Values.addrs | b64enc }}
1515
password: {{ .Values.password | b64enc }}
1616
{{ end }}

charts/redis/templates/redis-statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if eq .Values.global.logger_redis_location "on-cluster" }}
1+
{{- if eq .Values.global.redis_location "on-cluster" }}
22
apiVersion: apps/v1
33
kind: StatefulSet
44
metadata:

charts/redis/templates/redis-svc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if eq .Values.global.logger_redis_location "on-cluster" }}
1+
{{- if eq .Values.global.redis_location "on-cluster" }}
22
apiVersion: v1
33
kind: Service
44
metadata:

charts/redis/values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ docker_registry: ""
66
# limits_memory: "50Mi"
77

88
global:
9-
# Set the location of Workflow's logger-specific Redis instance
9+
# Set the location of Workflow's redis instance
1010
#
1111
# Valid values are:
1212
# - on-cluster: Run Redis within the Kubernetes cluster
13-
# - off-cluster: Run Redis outside the Kubernetes cluster (configure in loggerRedis section)
14-
logger_redis_location: "on-cluster"
13+
# - off-cluster: Run Redis outside the Kubernetes cluster (configure in redis section)
14+
redis_location: "on-cluster"
1515

16-
# The following parameters are configured only when using an on-cluster Redis instance for logger
16+
# The following parameters are configured only when using an on-cluster Redis instance
1717
replicas: 1
1818
port: "6379"
1919

20-
# The following parameters are configured only when using an off-cluster Redis instance for logger
20+
# The following parameters are configured only when using an off-cluster Redis instance
2121
addrs: "" # A list of clusters: "127.0.0.1:7001/1,127.0.0.2:7002/1"
2222
password: "redis password" # "" == no password

0 commit comments

Comments
 (0)