probara 1.0.1: optional NATS WebSocket listener for wss:// behind a TLS proxy

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
shaandClaude Sonnet 5.5 committed 2026-10-18 14:59:25 +03:00
1 parent 8fd9008f75
commit 2431cacb68
6 files changed
+27 -1

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: probara name: probara
description: Probara monitoring platform (api, scheduler, workers, alerter, status page, web UI) description: Probara monitoring platform (api, scheduler, workers, alerter, status page, web UI)
type: application type: application
version: 1.0.0 version: 1.0.1
appVersion: "1.0.0" appVersion: "1.0.0"
annotations: annotations:
version-source: github-release:yassinebenameur/probara version-source: github-release:yassinebenameur/probara
+3
View File
@@ -7,6 +7,9 @@ releases.
Changes against upstream: Changes against upstream:
- `nats.websocket.enabled`: optional NATS WebSocket listener (`nats-configmap.yaml`, `nats-service.yaml`,
`nats-statefulset.yaml`). Upstream's NATS client does not support TLS-first, so a TLS-terminating proxy needs `wss://`.
- `Chart.yaml`: `version-source` / `version-pattern` annotations for the update script. - `Chart.yaml`: `version-source` / `version-pattern` annotations for the update script.
- Image tags default to `Chart.AppVersion` (`image.tag` and `frontend.image.tag` are empty by default, - Image tags default to `Chart.AppVersion` (`image.tag` and `frontend.image.tag` are empty by default,
upstream defaults to `latest`). upstream defaults to `latest`).
+8
View File
@@ -27,6 +27,14 @@ data:
store_dir: /data store_dir: /data
} }
http_port: 8222 http_port: 8222
{{- if .Values.nats.websocket.enabled }}
# WebSocket listener for remote location workers behind a TLS-terminating
# reverse proxy (clients use wss://). TLS is handled by the proxy.
websocket {
port: 8080
no_tls: true
}
{{- end }}
authorization { authorization {
auth_callout { auth_callout {
issuer: {{ required "nats.auth.locationIssuerPublicKey is required when nats.auth.enabled" .Values.nats.auth.locationIssuerPublicKey | quote }} issuer: {{ required "nats.auth.locationIssuerPublicKey is required when nats.auth.enabled" .Values.nats.auth.locationIssuerPublicKey | quote }}
+6
View File
@@ -13,6 +13,12 @@ spec:
targetPort: client targetPort: client
protocol: TCP protocol: TCP
name: client name: client
{{- if .Values.nats.websocket.enabled }}
- port: 8080
targetPort: websocket
protocol: TCP
name: websocket
{{- end }}
- port: 8222 - port: 8222
targetPort: monitor targetPort: monitor
protocol: TCP protocol: TCP
+5
View File
@@ -52,6 +52,11 @@ spec:
- name: client - name: client
containerPort: 4222 containerPort: 4222
protocol: TCP protocol: TCP
{{- if .Values.nats.websocket.enabled }}
- name: websocket
containerPort: 8080
protocol: TCP
{{- end }}
- name: monitor - name: monitor
containerPort: 8222 containerPort: 8222
protocol: TCP protocol: TCP
+4
View File
@@ -90,6 +90,10 @@ nats:
locationIssuerSeed: "" locationIssuerSeed: ""
locationIssuerSeedExistingSecret: "" locationIssuerSeedExistingSecret: ""
locationIssuerSeedExistingSecretKey: nats_location_auth_issuer_seed locationIssuerSeedExistingSecretKey: nats_location_auth_issuer_seed
# WebSocket listener (port 8080, no TLS) for remote location workers that
# connect with wss:// through a TLS-terminating proxy. Needs nats.auth.enabled.
websocket:
enabled: false
persistence: persistence:
enabled: true enabled: true
size: 1Gi size: 1Gi