mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-11-26 19:30:47 +00:00
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:
1 parent
8fd9008f75
commit
2431cacb68
6 files changed
+27
-1
No files matched your search
+1
-1
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: probara
|
||||
description: Probara monitoring platform (api, scheduler, workers, alerter, status page, web UI)
|
||||
type: application
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.0"
|
||||
annotations:
|
||||
version-source: github-release:yassinebenameur/probara
|
||||
|
||||
@@ -7,6 +7,9 @@ releases.
|
||||
|
||||
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.
|
||||
- Image tags default to `Chart.AppVersion` (`image.tag` and `frontend.image.tag` are empty by default,
|
||||
upstream defaults to `latest`).
|
||||
|
||||
@@ -27,6 +27,14 @@ data:
|
||||
store_dir: /data
|
||||
}
|
||||
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 {
|
||||
auth_callout {
|
||||
issuer: {{ required "nats.auth.locationIssuerPublicKey is required when nats.auth.enabled" .Values.nats.auth.locationIssuerPublicKey | quote }}
|
||||
|
||||
@@ -13,6 +13,12 @@ spec:
|
||||
targetPort: client
|
||||
protocol: TCP
|
||||
name: client
|
||||
{{- if .Values.nats.websocket.enabled }}
|
||||
- port: 8080
|
||||
targetPort: websocket
|
||||
protocol: TCP
|
||||
name: websocket
|
||||
{{- end }}
|
||||
- port: 8222
|
||||
targetPort: monitor
|
||||
protocol: TCP
|
||||
|
||||
@@ -52,6 +52,11 @@ spec:
|
||||
- name: client
|
||||
containerPort: 4222
|
||||
protocol: TCP
|
||||
{{- if .Values.nats.websocket.enabled }}
|
||||
- name: websocket
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
- name: monitor
|
||||
containerPort: 8222
|
||||
protocol: TCP
|
||||
|
||||
@@ -90,6 +90,10 @@ nats:
|
||||
locationIssuerSeed: ""
|
||||
locationIssuerSeedExistingSecret: ""
|
||||
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:
|
||||
enabled: true
|
||||
size: 1Gi
|
||||
|
||||
Reference in new issue
Block a user