Skip to content

Commit

Permalink
@ teracyhq#17 | fix missing selector
Browse files Browse the repository at this point in the history
  • Loading branch information
datphan committed Apr 1, 2020
1 parent f89a681 commit 35b9e8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions incubator/mysqlha/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ metadata:
heritage: "{{ .Release.Service }}"
spec:
serviceName: {{ template "fullname" . }}
selector:
matchLabels:
app: {{ template "fullname" . }}
replicas: {{ .Values.mysqlha.replicaCount }}
{{- if .Values.updateStrategy }}
updateStrategy:
Expand Down

0 comments on commit 35b9e8d

Please sign in to comment.