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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user