diff --git a/charts/service/Chart.yaml b/charts/service/Chart.yaml index ed31024..85c04b2 100644 --- a/charts/service/Chart.yaml +++ b/charts/service/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: service description: A generic k8s service chart type: application -version: 1.0.21 +version: 1.0.22 maintainers: - email: devops@codecademy.com name: devops diff --git a/charts/service/ci/custom-values.yaml b/charts/service/ci/custom-values.yaml index fab0237..07191c7 100644 --- a/charts/service/ci/custom-values.yaml +++ b/charts/service/ci/custom-values.yaml @@ -44,3 +44,6 @@ readinessProbe: httpGet: path: / port: http + +podLabels: + foo: bar diff --git a/charts/service/templates/deployment.yaml b/charts/service/templates/deployment.yaml index bc6bf78..41cd742 100644 --- a/charts/service/templates/deployment.yaml +++ b/charts/service/templates/deployment.yaml @@ -22,6 +22,9 @@ spec: {{- end }} labels: {{- include "service.selectorLabels" . | nindent 8 }} + {{- with .Values.podLabels }} +{{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.datadog }} tags.datadoghq.com/env: {{ .env }} tags.datadoghq.com/service: {{ .service }}