diff --git a/stable/grafana/Chart.yaml b/stable/grafana/Chart.yaml index 12cfaa69a9..6f631a243d 100644 --- a/stable/grafana/Chart.yaml +++ b/stable/grafana/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: grafana -version: 5.0.14 -appVersion: 6.7.1 +version: 5.0.15 +appVersion: 6.7.3 kubeVersion: "^1.8.0-0" description: The leading tool for querying and visualizing time series and metrics. home: https://grafana.net diff --git a/stable/grafana/README.md b/stable/grafana/README.md index fae1786062..865c426ec8 100644 --- a/stable/grafana/README.md +++ b/stable/grafana/README.md @@ -52,7 +52,7 @@ You have to add --force to your helm upgrade command as the labels of the chart | `securityContext` | Deployment securityContext | `{"runAsUser": 472, "fsGroup": 472}` | | `priorityClassName` | Name of Priority Class to assign pods | `nil` | | `image.repository` | Image repository | `grafana/grafana` | -| `image.tag` | Image tag (`Must be >= 5.0.0`) | `6.7.1` | +| `image.tag` | Image tag (`Must be >= 5.0.0`) | `6.7.3` | | `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.pullSecrets` | Image pull secrets | `{}` | | `service.type` | Kubernetes service type | `ClusterIP` | @@ -68,7 +68,7 @@ You have to add --force to your helm upgrade command as the labels of the chart | `serivce.externalIPs` | service external IP addresses | `[]` | | `extraExposePorts` | Additional service ports for sidecar containers| `[]` | | `ingress.enabled` | Enables Ingress | `false` | -| `ingress.annotations` | Ingress annotations | `{}` | +| `ingress.annotations` | Ingress annotations (values are templated) | `{}` | | `ingress.labels` | Custom labels | `{}` | | `ingress.path` | Ingress accepted path | `/` | | `ingress.hosts` | Ingress accepted hostnames | `[]` | diff --git a/stable/grafana/templates/ingress.yaml b/stable/grafana/templates/ingress.yaml index 202efb3619..13a6b0ac2d 100644 --- a/stable/grafana/templates/ingress.yaml +++ b/stable/grafana/templates/ingress.yaml @@ -17,10 +17,12 @@ metadata: {{- if .Values.ingress.labels }} {{ toYaml .Values.ingress.labels | indent 4 }} {{- end }} -{{- with .Values.ingress.annotations }} + {{- if .Values.ingress.annotations }} annotations: -{{ toYaml . | indent 4 }} -{{- end }} + {{- range $key, $value := .Values.ingress.annotations }} + {{ $key }}: {{ tpl $value $ | quote }} + {{- end }} + {{- end }} spec: {{- if .Values.ingress.tls }} tls: diff --git a/stable/grafana/values.yaml b/stable/grafana/values.yaml index c7d431bf22..7dd7857922 100644 --- a/stable/grafana/values.yaml +++ b/stable/grafana/values.yaml @@ -50,7 +50,7 @@ livenessProbe: image: repository: grafana/grafana - tag: 6.7.1 + tag: 6.7.3 pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets. @@ -129,6 +129,7 @@ extraExposePorts: [] ingress: enabled: false + # Values can be templated annotations: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true"