[stable/nats] Add chart and release labels in pods (#6899)

This commit is contained in:
Javier J. Salmerón-García
2018-07-30 09:00:56 -07:00
committed by k8s-ci-robot
parent c8422d79ae
commit 2dd0e0100c
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: nats
version: 0.0.3
version: 0.0.4
appVersion: 1.1.0
description: An open-source, cloud-native messaging system
keywords:
+2
View File
@@ -18,11 +18,13 @@ spec:
selector:
matchLabels:
app: "{{ template "nats.name" . }}"
chart: "{{ template "nats.chart" . }}"
release: {{ .Release.Name | quote }}
template:
metadata:
labels:
app: "{{ template "nats.name" . }}"
chart: "{{ template "nats.chart" . }}"
release: {{ .Release.Name | quote }}
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 8 }}