From c4b429825dd95adb9ee2893a215ea90d52edbb8e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 10 Mar 2019 16:39:41 +0100 Subject: [PATCH] fix helm labels being on deployments and not pods --- helm/passbook/templates/passbook-web-deployment.yaml | 2 +- helm/passbook/templates/passbook-worker-deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/passbook/templates/passbook-web-deployment.yaml b/helm/passbook/templates/passbook-web-deployment.yaml index 868a06708..2308300ca 100644 --- a/helm/passbook/templates/passbook-web-deployment.yaml +++ b/helm/passbook/templates/passbook-web-deployment.yaml @@ -7,7 +7,6 @@ metadata: helm.sh/chart: {{ include "passbook.chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} - passbook.io/component: web spec: replicas: {{ .Values.replicaCount }} selector: @@ -19,6 +18,7 @@ spec: labels: app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + passbook.io/component: web spec: volumes: - name: config-volume diff --git a/helm/passbook/templates/passbook-worker-deployment.yaml b/helm/passbook/templates/passbook-worker-deployment.yaml index 625bbd188..79cd11002 100644 --- a/helm/passbook/templates/passbook-worker-deployment.yaml +++ b/helm/passbook/templates/passbook-worker-deployment.yaml @@ -7,7 +7,6 @@ metadata: helm.sh/chart: {{ include "passbook.chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} - passbook.io/component: worker spec: replicas: {{ .Values.replicaCount }} selector: @@ -19,6 +18,7 @@ spec: labels: app.kubernetes.io/name: {{ include "passbook.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + passbook.io/component: worker spec: volumes: - name: config-volume