From 33d3e6a61a7552e007b6775b90ffd71b93a6dd26 Mon Sep 17 00:00:00 2001 From: momothereal Date: Sun, 27 Oct 2019 15:31:58 -0400 Subject: [PATCH] Fix --- defiant/chart/defiant/templates/rethinkdb-deployment.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/defiant/chart/defiant/templates/rethinkdb-deployment.yaml b/defiant/chart/defiant/templates/rethinkdb-deployment.yaml index 04e6643..cd5b25c 100644 --- a/defiant/chart/defiant/templates/rethinkdb-deployment.yaml +++ b/defiant/chart/defiant/templates/rethinkdb-deployment.yaml @@ -3,12 +3,18 @@ kind: Deployment metadata: name: rethinkdb-{{ .Release.Name }} labels: - app: rethinkdb + app: defiant chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: replicas: 1 + selector: + matchLabels: + app: rethinkdb + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} template: metadata: {{- if .Values.podAnnotations }}