Skip to content

Commit

Permalink
Merge pull request #994 from yeplaa/label
Browse files Browse the repository at this point in the history
[grafana] Add app.kubernetes.io/component label
  • Loading branch information
zanhsieh committed Jan 26, 2022
2 parents a675b1a + 974da75 commit d6792e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/grafana/Chart.yaml
@@ -1,6 +1,6 @@
apiVersion: v2
name: grafana
version: 6.21.0
version: 6.21.1
appVersion: 8.3.4
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
Expand Down
2 changes: 2 additions & 0 deletions charts/grafana/templates/_helpers.tpl
Expand Up @@ -82,6 +82,7 @@ Selector labels
{{- define "grafana.selectorLabels" -}}
app.kubernetes.io/name: {{ include "grafana.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: grafana
{{- end -}}

{{/*
Expand All @@ -102,6 +103,7 @@ Selector labels ImageRenderer
{{- define "grafana.imageRenderer.selectorLabels" -}}
app.kubernetes.io/name: {{ include "grafana.name" . }}-image-renderer
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: grafana
{{- end -}}

{{/*
Expand Down
1 change: 1 addition & 0 deletions charts/grafana/templates/hpa.yaml
Expand Up @@ -6,6 +6,7 @@ metadata:
labels:
app.kubernetes.io/name: {{ template "grafana.name" . }}
helm.sh/chart: {{ template "grafana.chart" . }}
app.kubernetes.io/component: grafana
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
Expand Down

0 comments on commit d6792e3

Please sign in to comment.