diff --git a/test/gohelloworld/gohelloworld-chart/templates/deployment.yaml b/test/gohelloworld/gohelloworld-chart/templates/deployment.yaml index 3937c1d04c9..93f9afeb401 100644 --- a/test/gohelloworld/gohelloworld-chart/templates/deployment.yaml +++ b/test/gohelloworld/gohelloworld-chart/templates/deployment.yaml @@ -9,6 +9,10 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ template "gohelloworld-chart.name" . }} + release: {{ .Release.Name }} template: metadata: labels: