mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
allow the grafana service annotations to be customised (#1488)
* allow the service annotations to be customised In a similar way to the prometheus chart, allow the service annotations to be specified. This lets us use an internal aws load balancer, for example, by specifying: service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 * allow the service annotations to be customised In a similar way to the prometheus chart, allow the service annotations to be specified. This lets us use an internal aws load balancer, for example, by specifying: service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0 * Bump chart version
This commit is contained in:
committed by
Michael Goodness
parent
758156b294
commit
688e60a084
@@ -1,5 +1,5 @@
|
||||
name: grafana
|
||||
version: 0.3.7
|
||||
version: 0.4.0
|
||||
description: The leading tool for querying and visualizing time series and metrics.
|
||||
home: https://grafana.net
|
||||
icon: https://raw.githubusercontent.com/grafana/grafana/master/public/img/logo_transparent_400x.png
|
||||
|
||||
@@ -43,3 +43,4 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `server.resources` | Server resource requests and limits | requests: {cpu: 100m, memory: 100Mi} |
|
||||
| `server.serviceType` | ClusterIP, NodePort, or LoadBalancer| ClusterIP |
|
||||
| `server.setDatasource.enabled` | Creates grafana datasource with job | false |
|
||||
| `server.service.annotations` | Service annotations | null |
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
{{- if .Values.server.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.server.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app: {{ template "grafana.fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
|
||||
@@ -111,6 +111,11 @@ server:
|
||||
##
|
||||
serviceType: ClusterIP
|
||||
|
||||
## Grafana service annotations
|
||||
##
|
||||
service:
|
||||
annotations: {}
|
||||
|
||||
## Load balancer IP address
|
||||
## Is not required, but allows for static address with
|
||||
## serviceType LoadBalancer.
|
||||
|
||||
Reference in New Issue
Block a user