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 }}