Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.34.3
version: 4.34.4
appVersion: 8.2.1
description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management
icon: https://img.icons8.com/external-tal-revivo-shadow-tal-revivo/24/external-redis-an-in-memory-data-structure-project-implementing-a-distributed-logo-shadow-tal-revivo.png
Expand Down
3 changes: 2 additions & 1 deletion charts/redis-ha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This chart bootstraps a [Redis](https://redis.io) highly available master/slave

* Kubernetes 1.8+ with Beta APIs enabled
* PV provisioner support in the underlying infrastructure
* Helm v3+

## Upgrading the Chart

Expand Down Expand Up @@ -492,4 +493,4 @@ This version introduced changes to the selector labels for the Deployments. Depe
Error: UPGRADE FAILED: cannot patch "redis-redis-ha-haproxy" with kind Deployment: Deployment.apps "redis-redis-ha-haproxy" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"redis-ha-haproxy", "component":"haproxy", "release":"redis"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
```

In these cases, you'll need to delete the Deployment for the haproxy, or simple do a forceful upgrade.
In these cases, you'll need to delete the Deployment for the haproxy, or simple do a forceful upgrade.
1 change: 1 addition & 0 deletions charts/redis-ha/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This chart bootstraps a [Redis](https://redis.io) highly available master/slave

* Kubernetes 1.8+ with Beta APIs enabled
* PV provisioner support in the underlying infrastructure
* Helm v3+

## Upgrading the Chart

Expand Down
6 changes: 3 additions & 3 deletions charts/redis-ha/templates/redis-ha-announce-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ apiVersion: v1
kind: Service
metadata:
name: {{ $fullName }}-announce-{{ $i }}
namespace: {{ $namespace | quote}}
namespace: {{ $namespace | quote }}
labels:
{{ include "labels.standard" $root | indent 4 }}
{{- range $key, $value := $root.Values.extraLabels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
annotations:
{{- if (semverCompare "<=1.10-0" $.Capabilities.KubeVersion.GitVersion) }}
{{- if (semverCompare "<=1.10-0" $.Capabilities.KubeVersion.Version) }}
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
{{- end }}
{{- if $root.Values.serviceAnnotations }}
{{ toYaml $root.Values.serviceAnnotations | indent 4 }}
{{- end }}
spec:
{{- if (semverCompare ">=1.11-0" $.Capabilities.KubeVersion.GitVersion) }}
{{- if (semverCompare ">=1.11-0" $.Capabilities.KubeVersion.Version) }}
publishNotReadyAddresses: true
{{- end }}
type: ClusterIP
Expand Down
Loading