Skip to content

Commit cd69e70

Browse files
Upgraded redis operator to v0.8.0
Signed-off-by: iamabhishek-dubey <[email protected]>
1 parent 5f5a1ed commit cd69e70

File tree

7 files changed

+44
-19
lines changed

7 files changed

+44
-19
lines changed

charts/redis-cluster/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ maintainers:
77
name: redis-cluster
88
sources:
99
- https://github.com/ot-container-kit/redis-operator
10-
version: 0.7.0
11-
appVersion: "0.7.0"
10+
version: 0.8.0
11+
appVersion: "0.8.0"
1212
home: https://github.com/ot-container-kit/redis-operator
1313
keywords:
1414
- operator

charts/redis-cluster/templates/redis-cluster.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,17 @@ metadata:
1313
spec:
1414
clusterSize: {{ .Values.redisCluster.clusterSize }}
1515
redisLeader:
16-
serviceType: "{{ .Values.redisCluster.leaderServiceType }}"
16+
serviceType: "{{ .Values.redisCluster.leader.serviceType }}"
17+
{{- if .Values.redisCluster.leader.affinity }}
18+
affinity:
19+
{{ toYaml .Values.redisCluster.leader.affinity | indent 6 }}
20+
{{- end }}
1721
redisFollower:
18-
serviceType: "{{ .Values.redisCluster.followerServiceType }}"
22+
serviceType: "{{ .Values.redisCluster.follower.serviceType }}"
23+
{{- if .Values.redisCluster.follower.affinity }}
24+
affinity:
25+
{{ toYaml .Values.redisCluster.follower.affinity | indent 6 }}
26+
{{- end }}
1927
redisExporter:
2028
enabled: {{ .Values.redisExporter.enabled }}
2129
image: "{{ .Values.redisExporter.image }}:{{ .Values.redisExporter.tag }}"
@@ -44,10 +52,6 @@ spec:
4452
nodeSelector:
4553
{{ toYaml .Values.nodeSelector | indent 4 }}
4654
{{- end }}
47-
{{- if .Values.affinity }}
48-
affinity:
49-
{{ toYaml .Values.affinity | indent 4 }}
50-
{{- end }}
5155
{{- if .Values.securityContext }}
5256
securityContext:
5357
{{ toYaml .Values.securityContext | indent 4 }}

charts/redis-cluster/values.yaml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,33 @@
22
redisCluster:
33
clusterSize: 3
44
image: quay.io/opstree/redis
5-
tag: v6.2
5+
tag: v6.2.5
66
imagePullPolicy: IfNotPresent
77
# redisSecret:
88
# secretName: redis-secret
99
# secretKey: password
10-
leaderServiceType: ClusterIP
11-
followerServiceType: ClusterIP
10+
leader:
11+
serviceType: ClusterIP
12+
affinity: {}
13+
# nodeAffinity:
14+
# requiredDuringSchedulingIgnoredDuringExecution:
15+
# nodeSelectorTerms:
16+
# - matchExpressions:
17+
# - key: disktype
18+
# operator: In
19+
# values:
20+
# - ssd
21+
follower:
22+
serviceType: ClusterIP
23+
affinity: {}
24+
# nodeAffinity:
25+
# requiredDuringSchedulingIgnoredDuringExecution:
26+
# nodeSelectorTerms:
27+
# - matchExpressions:
28+
# - key: disktype
29+
# operator: In
30+
# values:
31+
# - ssd
1232
resources: {}
1333
# requests:
1434
# cpu: 100m

charts/redis-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
apiVersion: v2
3-
appVersion: "0.7.0"
3+
appVersion: "0.8.0"
44
description: Provides easy redis setup definitions for Kubernetes services, and deployment.
55
engine: gotpl
66
maintainers:
@@ -9,7 +9,7 @@ maintainers:
99
name: redis-operator
1010
sources:
1111
- https://github.com/OT-CONTAINER-KIT/redis-operator
12-
version: 0.7.0
12+
version: 0.8.0
1313
home: https://github.com/OT-CONTAINER-KIT/redis-operator
1414
icon: https://github.com/OT-CONTAINER-KIT/redis-operator/raw/master/static/redis-operator-logo.svg
1515
keywords:

charts/redis-operator/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
redisOperator:
33
name: redis-operator
44
imageName: quay.io/opstree/redis-operator
5-
imageTag: v0.7.0
5+
imageTag: v0.8.0
66
imagePullPolicy: Always
77

88
resources:
99
limits:
1010
cpu: 200m
11-
memory: 400Mi
11+
memory: 500Mi
1212
requests:
1313
cpu: 200m
14-
memory: 400Mi
14+
memory: 500Mi
1515

1616
replicas: 1
1717

charts/redis/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ maintainers:
77
name: redis
88
sources:
99
- https://github.com/ot-container-kit/redis-operator
10-
version: 0.7.0
11-
appVersion: "0.7.0"
10+
version: 0.8.0
11+
appVersion: "0.8.0"
1212
home: https://github.com/ot-container-kit/redis-operator
1313
keywords:
1414
- operator

charts/redis/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
redisStandalone:
33
image: quay.io/opstree/redis
4-
tag: v6.2
4+
tag: v6.2.5
55
imagePullPolicy: IfNotPresent
66
# redisSecret:
77
# secretName: redis-secret
@@ -14,6 +14,7 @@ redisStandalone:
1414
# limits:
1515
# cpu: 100m
1616
# memory: 128Mi
17+
1718
externalService:
1819
enabled: false
1920
# annotations:

0 commit comments

Comments
 (0)