Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[incubator/cassandra] Fix selector
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Kostyrev <[email protected]>
  • Loading branch information
kostyrev committed Oct 9, 2018
1 parent 5de09b9 commit 6ba612c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion incubator/cassandra/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: cassandra
version: 0.6.2
version: 0.6.3
appVersion: 3.11.3
description: Apache Cassandra is a free and open-source distributed database management
system designed to handle large amounts of data across many commodity servers, providing
Expand Down
4 changes: 4 additions & 0 deletions incubator/cassandra/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
selector:
matchLabels:
app: {{ template "cassandra.name" . }}
release: "{{ .Release.Name }}"
serviceName: {{ template "cassandra.fullname" . }}
replicas: {{ .Values.config.cluster_size }}
podManagementPolicy: {{ .Values.podManagementPolicy }}
Expand Down

0 comments on commit 6ba612c

Please sign in to comment.