diff --git a/kiali-server/templates/service.yaml b/kiali-server/templates/service.yaml index 9c03447..111be7f 100644 --- a/kiali-server/templates/service.yaml +++ b/kiali-server/templates/service.yaml @@ -34,6 +34,9 @@ spec: {{- end }} protocol: TCP port: {{ .Values.server.port }} + {{- if and (not (empty .Values.server.node_port)) (eq .Values.deployment.service_type "NodePort") }} + nodePort: {{ .Values.server.node_port }} + {{- end }} {{- if .Values.server.observability.metrics.enabled }} - name: http-metrics appProtocol: http diff --git a/kiali-server/values.yaml b/kiali-server/values.yaml index daaa453..7341a9b 100644 --- a/kiali-server/values.yaml +++ b/kiali-server/values.yaml @@ -113,6 +113,7 @@ login_token: server: port: 20001 + #node_port: observability: metrics: enabled: true