mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Allowing nodePort to be specified (#21066)
Signed-off-by: Yu Ichijo <jaramonjara@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user