Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Service should be headless. Critical fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiarchitect committed Mar 15, 2020
1 parent 844715d commit 063b03d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion keydb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions keydb/templates/svc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Headless service for proper name resolution
apiVersion: v1
kind: Service
metadata:
Expand All @@ -6,6 +7,7 @@ metadata:
{{ include "keydb.labels" . | indent 4 }}
spec:
type: ClusterIP
clusterIP: None
ports:
- name: server
port: {{ .Values.port | int }}
Expand Down

0 comments on commit 063b03d

Please sign in to comment.