Skip to content

Commit

Permalink
Enable conditional inclusion of Clickhouse StatefulSet in the Helm ch…
Browse files Browse the repository at this point in the history
…art based on the .Values.clickhouse.enabled flag
  • Loading branch information
engarpe committed Aug 22, 2024
1 parent f72342c commit 4283f59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/openlit/templates/clickhouse.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.clickhouse.enabled }}
apiVersion: apps/v1
kind: StatefulSet
metadata:
Expand Down Expand Up @@ -84,4 +85,5 @@ spec:
selector:
app: {{ .Release.Name }}-db
{{- include "openlit.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: database
app.kubernetes.io/component: database
{{- end }}

0 comments on commit 4283f59

Please sign in to comment.