mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 17:36:12 +02:00
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:
co-authored by
Marcus Portmann
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 }}
|
||||
|
||||
Reference in New Issue
Block a user