make nodePort configurable (#12826)

Signed-off-by: Jelto Wodstrcil <jelto@wodstrcil.de>
This commit is contained in:
Jelto
2019-04-15 05:34:03 -07:00
committed by Kubernetes Prow Robot
parent a4db31fe66
commit 287efbf194
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Sentry is a cross-platform crash reporting and aggregation platform.
name: sentry
version: 1.3.1
version: 1.3.2
appVersion: 9.0
keywords:
- debugging
+1
View File
@@ -100,6 +100,7 @@ The following table lists the configurable parameters of the Sentry chart and th
| `service.externalPort` | Kubernetes external service port | `9000` |
| `service.internalPort` | Kubernetes internal service port | `9000` |
| `service.annotations` | Service annotations | `{}` |
| `service.nodePort` | Kubernetes service NodePort port | Randomly chosen by Kubernetes |
| `ingress.enabled` | Enable ingress controller resource | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.hostname` | URL to address your Sentry installation | `sentry.local` |
+3
View File
@@ -22,6 +22,9 @@ spec:
targetPort: {{ .Values.service.internalPort }}
protocol: TCP
name: {{ .Values.service.name }}
{{- if and (.Values.service.nodePort) (eq .Values.service.type "NodePort") }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
{{- if .Values.service.externalIPs }}
externalIPs:
{{ toYaml .Values.service.externalIPs | indent 4 }}