fix helm labels being on deployments and not pods

This commit is contained in:
Jens Langhammer 2019-03-10 16:39:41 +01:00
parent eebbae0677
commit c4b429825d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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