diff --git a/charts/service-deployment/Chart.yaml b/charts/service-deployment/Chart.yaml index bad9e38..54ce7f3 100644 --- a/charts/service-deployment/Chart.yaml +++ b/charts/service-deployment/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: service-deployment description: A Helm Chart to setup a generic deployment with optional service/hpa bindings -version: 0.19.0 +version: 0.19.1 icon: https://raw.githubusercontent.com/snowplow-devops/helm-charts/master/docs/logo/snowplow.png home: https://github.com/snowplow-devops/helm-charts sources: diff --git a/charts/service-deployment/templates/deployment.yaml b/charts/service-deployment/templates/deployment.yaml index c33d731..d3effe2 100644 --- a/charts/service-deployment/templates/deployment.yaml +++ b/charts/service-deployment/templates/deployment.yaml @@ -2,6 +2,8 @@ apiVersion: apps/v1 kind: {{ .Values.deployment.kind }} metadata: name: {{ include "app.fullname" . }} + labels: + {{ include "snowplow.labels" $ | nindent 4 }} spec: {{- if .Values.deployment.scaleToZero }} replicas: 0