Allowing nodePort to be specified (#21066)

Signed-off-by: Yu Ichijo <jaramonjara@gmail.com>
This commit is contained in:
jaramon
2020-02-26 14:11:32 -08:00
committed by GitHub
parent f8994062d2
commit ac47f27e23
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
description: The easy, open source way for everyone in your company to ask questions
and learn from data.
name: metabase
version: 0.10.4
version: 0.10.5
appVersion: v0.34.0
maintainers:
- name: pmint93
+1
View File
@@ -85,6 +85,7 @@ The following table lists the configurable parameters of the Metabase chart and
| service.loadBalancerSourceRanges | Array of Source Ranges | null |
| service.externalPort | Service external port | 80 |
| service.internalPort | Service internal port, should be the same as `listen.port` | 3000 |
| service.nodePort | Service node port | null |
| service.annotations | Service annotations | {} |
| ingress.enabled | Enable ingress controller resource | false |
| ingress.hosts | Ingress resource hostnames | null |
+3
View File
@@ -21,6 +21,9 @@ spec:
ports:
- port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}
{{- if .Values.service.nodePort }}
nodePort: {{ .Values.service.nodePort }}
{{- end}}
protocol: TCP
name: {{ .Values.service.name }}
selector:
+2
View File
@@ -78,6 +78,8 @@ service:
type: ClusterIP
externalPort: 80
internalPort: 3000
# Used to fix NodePort when service.type: NodePort.
nodePort:
annotations: {}
# Used to add custom annotations to the Service.
# service.beta.kubernetes.io/aws-load-balancer-internal: "0.0.0.0/0"