Skip to content

Commit

Permalink
fix termination
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
shubham-cmyk committed Sep 28, 2023
1 parent 7e8419d commit 827660c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/redis-cluster/templates/redis-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
securityContext: {{- toYaml .Values.redisCluster.leader.securityContext | nindent 2 }}
{{- end }}
{{- end }}
{{- if ne .Values.redisCluster.leader.terminationGracePeriodSeconds 0 }}
{{- if ne (int .Values.redisCluster.leader.terminationGracePeriodSeconds) 0 }}
terminationGracePeriodSeconds: {{ .Values.redisCluster.leader.terminationGracePeriodSeconds }}
{{- end }}
# Redis Follower Specs
Expand Down Expand Up @@ -137,7 +137,7 @@ spec:
securityContext: {{- toYaml .Values.redisCluster.follower.securityContext | nindent 2 }}
{{- end }}
{{- end }}
{{- if ne .Values.redisCluster.follower.terminationGracePeriodSeconds 0 }}
{{- if ne (int .Values.redisCluster.follower.terminationGracePeriodSeconds) 0 }}
terminationGracePeriodSeconds: {{ .Values.redisCluster.follower.terminationGracePeriodSeconds }}
{{- end }}
# Redis Exporter Specs
Expand Down

0 comments on commit 827660c

Please sign in to comment.