Skip to content

Commit

Permalink
chore(ch-operator): include deployment annotations (#478)
Browse files Browse the repository at this point in the history
#### Chores

- include deployment annotations for clickhouse operator
- include default hook-weight of -5

---------

Signed-off-by: Prashant Shahi <[email protected]>
  • Loading branch information
prashant-shahi authored Aug 5, 2024
1 parent fcc14c8 commit f11b388
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/clickhouse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: clickhouse
description: A Helm chart for ClickHouse
type: application
version: 24.1.4
version: 24.1.5
appVersion: "24.1.2"
icon: https://github.com/ClickHouse/clickhouse-docs/raw/84f38d893eb7e561c7296279d7953b6a508ec413/static/img/clickhouse-logo.svg
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
namespace: {{ include "clickhouse.namespace" . }}
labels:
{{- include "clickhouseOperator.labels" . | nindent 4 }}
{{- if .Values.clickhouseOperator.annotations }}
annotations:
{{- toYaml .Values.clickhouseOperator.annotations | nindent 4 }}
{{- end }}
spec:
replicas: 1
selector:
Expand Down
4 changes: 4 additions & 0 deletions charts/clickhouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,10 @@ clickhouseOperator:
# If not set and create is true, a name is generated using the fullname template
name:

# -- Clickhouse Operator deployment annotations
annotations:
"helm.sh/hook-weight": "-5"

# -- Clickhouse Operator pod(s) annotation.
podAnnotations: {}
# signoz.io/port: '8888'
Expand Down

0 comments on commit f11b388

Please sign in to comment.