From faca0df84ac0f066b9cc5f5ce1e60d80de3f2a08 Mon Sep 17 00:00:00 2001 From: Jack Zampolin Date: Wed, 30 Nov 2016 15:05:27 -0800 Subject: [PATCH] Fix labels --- stable/kapacitor/templates/deployment.yaml | 1 + stable/kapacitor/templates/pvc.yaml | 8 +++++--- stable/kapacitor/templates/service.yaml | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/stable/kapacitor/templates/deployment.yaml b/stable/kapacitor/templates/deployment.yaml index f1d0ed4ec1..a160b69845 100644 --- a/stable/kapacitor/templates/deployment.yaml +++ b/stable/kapacitor/templates/deployment.yaml @@ -6,6 +6,7 @@ metadata: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" + app: {{ template "fullname" . }} spec: replicas: 1 template: diff --git a/stable/kapacitor/templates/pvc.yaml b/stable/kapacitor/templates/pvc.yaml index 7f2a2b6b98..a50862753d 100644 --- a/stable/kapacitor/templates/pvc.yaml +++ b/stable/kapacitor/templates/pvc.yaml @@ -3,9 +3,11 @@ kind: PersistentVolumeClaim apiVersion: v1 metadata: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - release: "{{ .Release.Name }}" - heritage: "{{ .Release.Service }}" - name: {{ template "fullname" . }} + labels: + release: "{{ .Release.Name }}" + heritage: "{{ .Release.Service }}" + app: {{ template "fullname" . }} + name: {{ template "fullname" . }} annotations: volume.alpha.kubernetes.io/storage-class: {{ .Values.persistence.storageClass | quote }} spec: diff --git a/stable/kapacitor/templates/service.yaml b/stable/kapacitor/templates/service.yaml index 29ec020851..d6c9250ffe 100644 --- a/stable/kapacitor/templates/service.yaml +++ b/stable/kapacitor/templates/service.yaml @@ -6,6 +6,7 @@ metadata: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" + app: {{ template "fullname" . }} spec: type: {{ .Values.service.type }} ports: