Allow nodePort value for the postgres-operator-ui service (#928)
* Added support for specifying a nodePort value for the postgres-operator-ui service when the type is NodePort Co-authored-by: Marcus Portmann <marcusp@discovery.co.za>
This commit is contained in:
parent
1d009d9595
commit
0016ebf7df
|
|
@ -11,6 +11,9 @@ spec:
|
|||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: 8081
|
||||
{{- if and (eq .Values.service.type "NodePort") .Values.service.nodePort }}
|
||||
nodePort: {{ .Values.service.nodePort }}
|
||||
{{- end }}
|
||||
protocol: TCP
|
||||
selector:
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,9 @@ envs:
|
|||
service:
|
||||
type: "ClusterIP"
|
||||
port: "8080"
|
||||
# If the type of the service is NodePort a port can be specified using the nodePort field
|
||||
# If the nodePort field is not specified, or if it has no value, then a random port is used
|
||||
# notePort: 32521
|
||||
|
||||
# configure UI ingress. If needed: "enabled: true"
|
||||
ingress:
|
||||
|
|
|
|||
Loading…
Reference in New Issue