diff --git a/charts/krateo-sse-proxy/Chart.yaml b/charts/krateo-sse-proxy/Chart.yaml index b03471b..d797f76 100644 --- a/charts/krateo-sse-proxy/Chart.yaml +++ b/charts/krateo-sse-proxy/Chart.yaml @@ -4,7 +4,7 @@ description: >- Krateo SSE proxy. Polls ClickHouse and pushes new K8s events to connected browsers via Server-Sent Events. type: application -version: 0.1.7 +version: 0.1.8 appVersion: "1.1.2" home: https://krateo.io icon: https://github.com/krateoplatformops/krateo/blob/main/docs/media/logo.svg diff --git a/charts/krateo-sse-proxy/templates/service.yaml b/charts/krateo-sse-proxy/templates/service.yaml index c113917..a99717c 100644 --- a/charts/krateo-sse-proxy/templates/service.yaml +++ b/charts/krateo-sse-proxy/templates/service.yaml @@ -14,3 +14,6 @@ spec: port: {{ .Values.service.port }} targetPort: 8080 protocol: TCP + {{- if .Values.service.nodePort }} + nodePort: {{ .Values.service.nodePort }} + {{- end }} diff --git a/charts/krateo-sse-proxy/values.schema.json b/charts/krateo-sse-proxy/values.schema.json index 45ff3c6..060c65b 100644 --- a/charts/krateo-sse-proxy/values.schema.json +++ b/charts/krateo-sse-proxy/values.schema.json @@ -79,6 +79,12 @@ "type": "integer", "minimum": 1, "maximum": 65535 + }, + "nodePort": { + "type": "integer", + "minimum": 30000, + "maximum": 32767, + "description": "Explicit NodePort (only honored when service.type=NodePort). Set by the installer to pin a deterministic, host-mappable port." } } },