From 939b2442e8c26a9faeb39c2423815dddccdf8f7a Mon Sep 17 00:00:00 2001 From: GitBluub Date: Tue, 6 Jan 2026 19:56:04 +0100 Subject: [PATCH] yolo --- apps/hyperdx.yaml | 47 ++++++++++++++++++++++++++++++++++++++++++ apps/otel/hyperdx.yaml | 30 +++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 apps/hyperdx.yaml create mode 100644 apps/otel/hyperdx.yaml diff --git a/apps/hyperdx.yaml b/apps/hyperdx.yaml new file mode 100644 index 0000000..246ebe3 --- /dev/null +++ b/apps/hyperdx.yaml @@ -0,0 +1,47 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: hyperdx + namespace: argocd +spec: + project: default + destination: + server: https://kubernetes.default.svc + namespace: otel + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + - ServerSideApply=true + source: + repoURL: https://clickhouse.github.io/ClickStack-helm-charts + chart: clickstack + targetRevision: 1.1.0 + helm: + values: | + # hyperdx only + # https://clickhouse.com/docs/use-cases/observability/clickstack/deployment/helm-deployment-options#minimal-deployment + clickhouse: + enabled: false + otel: + enabled: false + hyperdx: + otelExporterEndpoint: "http://otel-collector.otel.svc:4317" + + defaultConnections: | + [ + { + "name": "External ClickHouse", + "host": "http://your-clickhouse-server:8123", + "port": 8123, + "username": "your-username", + "password": "your-password" + } + ] + + useExistingConfigSecret: true + existingConfigSecret: "hyperdx-config" + existingConfigConnectionsKey: "connections.json" + existingConfigSourcesKey: "sources.json" diff --git a/apps/otel/hyperdx.yaml b/apps/otel/hyperdx.yaml new file mode 100644 index 0000000..28f6b68 --- /dev/null +++ b/apps/otel/hyperdx.yaml @@ -0,0 +1,30 @@ +apiVersion: external-secrets.io/v1 +kind: ExternalSecret +metadata: + name: hypderx-config +spec: + refreshInterval: 24h + secretStoreRef: + name: bitwarden + kind: ClusterSecretStore + target: + template: + engineVersion: v2 + data: + connections.json: |- + [ + { + "name": "ClickHouse", + "host": "http://clickhouse-otel-cluster:8123", + "port": 8123, + "username": "hyperdx", + "password": "{{ .hyperdx }}" + } + ] + sources.json: | + {} + dataFrom: + - extract: + key: clickhouse-basicauth +--- +