Skip to content

Commit 1b3b64a

Browse files
committed
settings for lab as default
Signed-off-by: entlein <einentlein@gmail.com>
1 parent 62f8472 commit 1b3b64a

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

k8s/vizier/bootstrap/adaptive_export_deployment.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,20 @@ spec:
6868
value: "6"
6969
# Optional overrides for the ClickHouse PxL scripts. When unset they are
7070
# parsed from CLICKHOUSE_DSN. Individual fields win over the parsed DSN.
71+
# Defaults below match soc/tree/clickhouse-lab (forensic-soc-db CHI,
72+
# ingest_writer user, forensic_db database).
7173
- name: KUBESCAPE_TABLE
7274
value: "kubescape_logs"
7375
# - name: CLICKHOUSE_HOST
7476
# value: "clickhouse-forensic-soc-db.clickhouse.svc.cluster.local"
7577
# - name: CLICKHOUSE_PORT
7678
# value: "9000"
7779
# - name: CLICKHOUSE_USER
78-
# value: "otelcollector"
80+
# value: "ingest_writer"
7981
# - name: CLICKHOUSE_PASSWORD
80-
# value: "changeme"
82+
# value: "changeme-ingest"
8183
# - name: CLICKHOUSE_DATABASE
82-
# value: "default"
84+
# value: "forensic_db"
8385
securityContext:
8486
allowPrivilegeEscalation: false
8587
capabilities:

k8s/vizier/bootstrap/adaptive_export_secrets.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ type: Opaque
77
stringData:
88
# Replace with your actual Pixie API key from https://work.withpixie.ai
99
pixie-api-key: "PIXIE_API_KEY_PLACEHOLDER"
10-
# Replace with your ClickHouse DSN: clickhouse://user:password@host:port/database
11-
clickhouse-dsn: "otelcollector:otelcollectorpass@hyperdx-hdx-oss-v2-clickhouse.click.svc.cluster.local:9000/default"
10+
# ClickHouse DSN matches soc/tree/clickhouse-lab (CHI "forensic-soc-db",
11+
# ingest_writer user with INSERT rights into the forensic_db database).
12+
# Format: user:password@host:port/database
13+
clickhouse-dsn: "ingest_writer:changeme-ingest@clickhouse-forensic-soc-db.clickhouse.svc.cluster.local:9000/forensic_db"

0 commit comments

Comments
 (0)