mirror of
https://gh.con.sh/https://github.com/plexinc/pms-docker
synced 2024-09-20 06:45:31 +00:00
Helm chart: Add the ability to define the node port to use when service is NodePort. Default is 32400.
This commit is contained in:
parent
0cd70b54e0
commit
c8fa8afcbd
|
@ -13,6 +13,9 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.service.port }}
|
- port: {{ .Values.service.port }}
|
||||||
targetPort: 32400
|
targetPort: 32400
|
||||||
|
{{- if eq .Values.service.type "NodePort" }}
|
||||||
|
nodePort: {{ default "32400" .Values.service.nodePort }}
|
||||||
|
{{- end }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: pms
|
name: pms
|
||||||
selector:
|
selector:
|
||||||
|
|
|
@ -144,6 +144,9 @@ service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 32400
|
port: 32400
|
||||||
|
|
||||||
|
# Port to use when type of service is "NodePort" (32400 by default)
|
||||||
|
#nodePort: 32400
|
||||||
|
|
||||||
# optional extra annotations to add to the service resource
|
# optional extra annotations to add to the service resource
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user