From fb85bde0b56cbe5c84d2b1a04eec266489714da9 Mon Sep 17 00:00:00 2001 From: Joe Lombrozo Date: Thu, 8 Dec 2022 14:15:40 -0500 Subject: [PATCH] add selector labels to the service --- charts/prom-aggregation-gateway/Chart.yaml | 2 +- charts/prom-aggregation-gateway/templates/service.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/prom-aggregation-gateway/Chart.yaml b/charts/prom-aggregation-gateway/Chart.yaml index fb7cec6..84d3654 100644 --- a/charts/prom-aggregation-gateway/Chart.yaml +++ b/charts/prom-aggregation-gateway/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: prom-aggregation-gateway -version: 0.4.2 +version: 0.4.3 home: https://github.com/zapier/prom-aggregation-gateway maintainers: - name: djeebus diff --git a/charts/prom-aggregation-gateway/templates/service.yaml b/charts/prom-aggregation-gateway/templates/service.yaml index 904597a..0bee634 100644 --- a/charts/prom-aggregation-gateway/templates/service.yaml +++ b/charts/prom-aggregation-gateway/templates/service.yaml @@ -3,6 +3,8 @@ apiVersion: v1 kind: Service metadata: name: {{ .Release.Name }} + labels: + {{- include "prom-aggregation-gateway.selectorLabels" . | nindent 4 }} {{- with .Values.service.annotations }} annotations: {{ . | toYaml | nindent 4 }} {{- end }}