Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
[COMMON] Add app label to common.labels
[oom.git]
/
kubernetes
/
common
/
common
/
templates
/
_labels.tpl
diff --git
a/kubernetes/common/common/templates/_labels.tpl
b/kubernetes/common/common/templates/_labels.tpl
index
993fb7d
..
f2bd1a1
100644
(file)
--- a/
kubernetes/common/common/templates/_labels.tpl
+++ b/
kubernetes/common/common/templates/_labels.tpl
@@
-26,6
+26,7
@@
The function takes several arguments (inside a dictionary):
{{- define "common.labels" -}}
{{- $dot := default . .dot -}}
app.kubernetes.io/name: {{ include "common.name" $dot }}
+app: {{ include "common.name" $dot }}
{{ if not .ignoreHelmChart }}
helm.sh/chart: {{ include "common.chart" $dot }}
{{- end }}