Adding support for custom labels on grafana svc (#4172)

This commit is contained in:
Miguel Elias dos Santos
2018-04-25 17:09:01 -07:00
committed by k8s-ci-robot
parent 732d25b535
commit 8f6d6de5ca
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: grafana
version: 1.2.0
version: 1.2.1
appVersion: 5.0.4
description: The leading tool for querying and visualizing time series and metrics.
home: https://grafana.net
+1
View File
@@ -39,6 +39,7 @@ The command removes all the Kubernetes components associated with the chart and
| `service.type` | Kubernetes service type | `ClusterIP` |
| `service.port` | Kubernetes port where service is exposed| `9000` |
| `service.annotations` | Service annotations | `80` |
| `service.labels` | Custom labels | `{}`
| `ingress.enabled` | Enables Ingress | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.hosts` | Ingress accepted hostnames | `[]` |
+3
View File
@@ -7,6 +7,9 @@ metadata:
chart: {{ template "grafana.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 4 }}
{{- end }}
{{- with .Values.service.annotations }}
annotations:
{{ toYaml . | indent 4 }}
+1
View File
@@ -31,6 +31,7 @@ service:
type: ClusterIP
port: 80
annotations: {}
labels: {}
ingress:
enabled: false