feat: Add ClickHouse ConfigMap template for configuration management

This commit is contained in:
Simon Larsen
2025-09-03 21:43:20 +01:00
parent 0792d8367a
commit 2ef0b3be27

View File

@@ -0,0 +1,17 @@
{{- if .Values.clickhouse.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-clickhouse-config
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: clickhouse
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: clickhouse
app.kubernetes.io/part-of: clickhouse
app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
config.xml: |
<?xml version="1.0"?>
{{ .Values.clickhouse.configuration | indent 4 }}
{{- end }}