From 063b03d20304aa89a7afad35857d7472482b8169 Mon Sep 17 00:00:00 2001 From: Andrey Voronkov Date: Mon, 16 Mar 2020 02:03:46 +0300 Subject: [PATCH] Service should be headless. Critical fix. --- keydb/Chart.yaml | 2 +- keydb/templates/svc.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/keydb/Chart.yaml b/keydb/Chart.yaml index 8407ced..0cc8006 100644 --- a/keydb/Chart.yaml +++ b/keydb/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: keydb description: A Helm chart for KeyDB multimaster setup type: application -version: 0.5.0 +version: 0.6.0 keywords: - keydb - redis diff --git a/keydb/templates/svc.yaml b/keydb/templates/svc.yaml index 2f4efe8..7571bc4 100644 --- a/keydb/templates/svc.yaml +++ b/keydb/templates/svc.yaml @@ -1,3 +1,4 @@ +# Headless service for proper name resolution apiVersion: v1 kind: Service metadata: @@ -6,6 +7,7 @@ metadata: {{ include "keydb.labels" . | indent 4 }} spec: type: ClusterIP + clusterIP: None ports: - name: server port: {{ .Values.port | int }}