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

Commit

Permalink
BUG: bookie statefulset helm template specifies incorrect service name (
Browse files Browse the repository at this point in the history
#3410)

* Update bookie template to use correct service name

* helm add bookie toleration for unready endpoints
  • Loading branch information
the-scott-hand authored and nwangtw committed Nov 28, 2019
1 parent d8db1c5 commit 4bca2e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion deploy/kubernetes/helm/templates/bookie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ metadata:
component: {{ .Release.Name }}-bookie
spec:
{{- if or (eq .Values.platform "gke") (eq .Values.platform "minikube") }}
serviceName: {{ .Release.Name }}-bookkeeper
serviceName: {{ .Release.Name }}-bookie
replicas: {{ $bookieReplicas }}
{{- end }}

Expand Down Expand Up @@ -200,6 +200,10 @@ spec:
apiVersion: v1
kind: Service
metadata:
{{- if or (eq .Values.platform "gke") (eq .Values.platform "minikube") }}
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
{{- end }}
name: {{ .Release.Name }}-bookie
labels:
app: {{ .Release.Name }}-bookkeeper
Expand Down

0 comments on commit 4bca2e5

Please sign in to comment.