Skip to content

Commit

Permalink
Merge branch 'master' into a-hat-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
DandyDeveloper authored Aug 26, 2024
2 parents 69ef427 + 56940ae commit 66cc833
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/redis-ha/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- redis
- keyvalue
- database
version: 4.28.0
version: 4.27.5
appVersion: 7.2.4
description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management
icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png
Expand Down
9 changes: 5 additions & 4 deletions charts/redis-ha/templates/_configs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -643,11 +643,12 @@
{{- end}}
ping
)
if [ "$response" != "PONG" ] && [ "${response:0:7}" != "LOADING" ] ; then
echo "$response"
exit 1
fi
echo "response=$response"
case $response in
PONG|LOADING*) ;;
*) exit 1 ;;
esac
exit 0
{{- end }}

{{- define "redis_readiness.sh" }}
Expand Down
2 changes: 1 addition & 1 deletion charts/redis-ha/templates/redis-ha-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ spec:
{{- toYaml .Values.extraContainers | nindent 6 }}
{{- end -}}
{{- with .Values.priorityClassName | default .Values.global.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
volumes:
- name: config
Expand Down

0 comments on commit 66cc833

Please sign in to comment.