feat(clickhouse): Add ClickHouse

This commit is contained in:
Masaki Yatsu
2025-09-10 00:47:03 +09:00
parent b71d9371d1
commit ab36360584
6 changed files with 730 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: clickhouse-credentials-external-secret
namespace: {{ .Env.CLICKHOUSE_NAMESPACE }}
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-secret-store
kind: ClusterSecretStore
target:
name: clickhouse-credentials
creationPolicy: Owner
template:
type: Opaque
data:
admin: "{{ `{{ .admin }}` }}"
data:
- secretKey: admin
remoteRef:
key: clickhouse/credentials
property: admin