Skip to content

Commit 96c48f5

Browse files
authored
fix: Chart should cast maxMemoryPercentOfLimit to int (#1587)
fix: Chart should cast redisCluster.maxMemoryPercentOfLimit to int Signed-off-by: drivebyer <[email protected]>
1 parent 6f81759 commit 96c48f5

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

charts/redis-cluster/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: redis-cluster
33
description: Provides easy redis setup definitions for Kubernetes services, and deployment.
4-
version: 0.17.2
5-
appVersion: "0.17.2"
4+
version: 0.17.3
5+
appVersion: "0.17.3"
66
home: https://github.com/ot-container-kit/redis-operator
77
sources:
88
- https://github.com/ot-container-kit/redis-operator

charts/redis-replication/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: redis-replication
33
description: Provides easy redis setup definitions for Kubernetes services, and deployment.
4-
version: 0.16.10
5-
appVersion: "0.16.10"
4+
version: 0.16.11
5+
appVersion: "0.16.11"
66
type: application
77
engine: gotpl
88
maintainers:

charts/redis-replication/templates/redis-replication.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
additionalRedisConfig: "{{ .Values.redisReplication.name | default .Release.Name }}-ext-config"
5151
{{- end }}
5252
{{- if .Values.redisReplication.maxMemoryPercentOfLimit }}
53-
{{- if gt .Values.redisReplication.maxMemoryPercentOfLimit 0 }}
53+
{{- if gt (int .Values.redisReplication.maxMemoryPercentOfLimit) 0 }}
5454
maxMemoryPercentOfLimit: {{ .Values.redisReplication.maxMemoryPercentOfLimit }}
5555
{{- end }}
5656
{{- end }}

charts/redis/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
apiVersion: v2
33
name: redis
44
description: Provides easy redis setup definitions for Kubernetes services, and deployment.
5-
version: 0.16.7
6-
appVersion: "0.16.7"
5+
version: 0.16.8
6+
appVersion: "0.16.8"
77
home: https://github.com/ot-container-kit/redis-operator
88
sources:
99
- https://github.com/ot-container-kit/redis-operator

charts/redis/templates/redis-standalone.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
additionalRedisConfig: "{{ .Values.redisStandalone.name | default .Release.Name }}-ext-config"
5050
{{- end }}
5151
{{- if .Values.redisStandalone.maxMemoryPercentOfLimit }}
52-
{{- if gt .Values.redisStandalone.maxMemoryPercentOfLimit 0 }}
52+
{{- if gt (int .Values.redisStandalone.maxMemoryPercentOfLimit) 0 }}
5353
maxMemoryPercentOfLimit: {{ .Values.redisStandalone.maxMemoryPercentOfLimit }}
5454
{{- end }}
5555
{{- end }}

0 commit comments

Comments
 (0)