diff --git a/charts/redis-ha/Chart.yaml b/charts/redis-ha/Chart.yaml index f048836..518794d 100644 --- a/charts/redis-ha/Chart.yaml +++ b/charts/redis-ha/Chart.yaml @@ -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 diff --git a/charts/redis-ha/README.md b/charts/redis-ha/README.md index 0a216dd..5aa8351 100644 --- a/charts/redis-ha/README.md +++ b/charts/redis-ha/README.md @@ -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 @@ -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. \ No newline at end of file +In these cases, you'll need to delete the Deployment for the haproxy, or simple do a forceful upgrade. diff --git a/charts/redis-ha/README.md.gotmpl b/charts/redis-ha/README.md.gotmpl index 36e370b..dedbf28 100644 --- a/charts/redis-ha/README.md.gotmpl +++ b/charts/redis-ha/README.md.gotmpl @@ -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 diff --git a/charts/redis-ha/templates/redis-ha-announce-service.yaml b/charts/redis-ha/templates/redis-ha-announce-service.yaml index dc24249..bfc2449 100644 --- a/charts/redis-ha/templates/redis-ha-announce-service.yaml +++ b/charts/redis-ha/templates/redis-ha-announce-service.yaml @@ -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