mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/nats] Add chart and release labels in pods (#6899)
This commit is contained in:
committed by
k8s-ci-robot
parent
c8422d79ae
commit
2dd0e0100c
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user