[stable/grafana] Add support for extraExposePorts (#21547)

* Add support for extraExposePorts

Signed-off-by: Insein Jee <inseinjee@gmail.com>

* Bump the chart version(5.0.7 -> 5.0.8)

Signed-off-by: Insein Jee <inseinjee@gmail.com>
Signed-off-by: inseinjee <inseinjee@gmail.com>

* Remove trailing spaces

Signed-off-by: inseinjee <inseinjee@gmail.com>
This commit is contained in:
InseinJee
2020-03-20 08:56:37 -07:00
committed by GitHub
parent 881fd39a08
commit b729ce76f8
4 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: grafana
version: 5.0.7
version: 5.0.8
appVersion: 6.6.2
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
+1
View File
@@ -66,6 +66,7 @@ You have to add --force to your helm upgrade command as the labels of the chart
| `service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `nil` |
| `service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to lb (if supported) | `[]` |
| `serivce.externalIPs` | service external IP addresses | `[]` |
| `extraExposePorts` | Additional service ports for sidecar containers| `[]` |
| `ingress.enabled` | Enables Ingress | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.labels` | Custom labels | `{}` |
+4
View File
@@ -42,5 +42,9 @@ spec:
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{.Values.service.nodePort}}
{{ end }}
{{- if .Values.extraExposePorts }}
{{- tpl (toYaml .Values.extraExposePorts) . | indent 4 }}
{{- end }}
selector:
{{- include "grafana.selectorLabels" . | nindent 4 }}
+6
View File
@@ -119,6 +119,12 @@ service:
labels: {}
portName: service
extraExposePorts: []
# - name: keycloak
# port: 8080
# targetPort: 8080
# type: ClusterIP
ingress:
enabled: false
annotations: {}