Add probara and probara-worker charts

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
shaandClaude Sonnet 5.5 committed 2026-10-18 11:37:02 +03:00
1 parent 125982eda0
commit 4d632dfd58
35 files changed
+3314

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
{{- /*
Server config for the embedded broker. It must stay free of secret material,
so the platform user is NOT declared here: the StatefulSet passes it as
--user/--pass, with the password substituted by Kubernetes from a Secret-backed
env var. nats-server merges those flags with this authorization block, leaving
auth_callout active for every other user (verified: the platform user connects
immediately, others still go through callout).
Do not move the password back into this file via nats-server's $VAR expansion.
It re-parses the expanded token as configuration, so passwords that are purely
numeric, look boolean, or contain a space, comma or brace abort startup — and
quoting the reference suppresses expansion entirely, silently making the
literal "$NATS_PLATFORM_PASSWORD" the password. The issuer public key below is
public by construction and safe to template.
*/}}
{{- if and .Values.nats.enabled .Values.nats.auth.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "monitoring-platform.fullname" . }}-nats-config
labels:
{{- include "monitoring-platform.labels" . | nindent 4 }}
app.kubernetes.io/component: nats
data:
nats.conf: |
jetstream {
store_dir: /data
}
http_port: 8222
authorization {
auth_callout {
issuer: {{ required "nats.auth.locationIssuerPublicKey is required when nats.auth.enabled" .Values.nats.auth.locationIssuerPublicKey | quote }}
auth_users: [{{ required "nats.auth.platformUser is required when nats.auth.enabled" .Values.nats.auth.platformUser | quote }}]
}
}
{{- end }}