You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2025/05/13 23:35:48 UTC
(pulsar-helm-chart) branch master updated: annotations (#610)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new 8382906 annotations (#610)
8382906 is described below
commit 8382906775fd09f02768735ecbfb56c4e56cdd92
Author: Artem Nosulchyk <an...@users.noreply.github.com>
AuthorDate: Tue May 13 19:35:44 2025 -0400
annotations (#610)
---
charts/pulsar/templates/oxia-coordinator-deployment.yaml | 5 ++++-
charts/pulsar/templates/oxia-server-statefulset.yaml | 5 ++++-
charts/pulsar/values.yaml | 4 ++++
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/charts/pulsar/templates/oxia-coordinator-deployment.yaml b/charts/pulsar/templates/oxia-coordinator-deployment.yaml
index c73c4bf..b8c1594 100644
--- a/charts/pulsar/templates/oxia-coordinator-deployment.yaml
+++ b/charts/pulsar/templates/oxia-coordinator-deployment.yaml
@@ -45,6 +45,9 @@ spec:
prometheus.io/scrape: "true"
prometheus.io/port: "{{ .Values.oxia.coordinator.ports.metrics }}"
{{- end }}
+{{- with .Values.oxia.coordinator.annotations }}
+{{ toYaml . | indent 8 }}
+{{- end }}
spec:
{{- if .Values.oxia.server.nodeSelector }}
nodeSelector:
@@ -74,4 +77,4 @@ spec:
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
readinessProbe:
{{- include "oxia-cluster.probe" .Values.oxia.coordinator.ports.internal | nindent 12 }}
-{{- end }}
\ No newline at end of file
+{{- end }}
diff --git a/charts/pulsar/templates/oxia-server-statefulset.yaml b/charts/pulsar/templates/oxia-server-statefulset.yaml
index 8f8e3a4..0f4ac24 100644
--- a/charts/pulsar/templates/oxia-server-statefulset.yaml
+++ b/charts/pulsar/templates/oxia-server-statefulset.yaml
@@ -45,6 +45,9 @@ spec:
prometheus.io/scrape: "true"
prometheus.io/port: "{{ .Values.oxia.server.ports.metrics }}"
{{- end }}
+{{- with .Values.oxia.server.annotations }}
+{{ toYaml . | indent 8 }}
+{{- end }}
spec:
{{- if .Values.oxia.server.nodeSelector }}
nodeSelector:
@@ -147,4 +150,4 @@ spec:
resources:
requests:
storage: {{ .Values.oxia.server.storageSize }}
-{{- end}}
\ No newline at end of file
+{{- end}}
diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml
index ee9227d..c933330 100755
--- a/charts/pulsar/values.yaml
+++ b/charts/pulsar/values.yaml
@@ -503,6 +503,8 @@ oxia:
coordinator:
# annotations for the app (statefulset/deployment)
appAnnotations: {}
+ # pods annotations
+ annotations: {}
# This is how Victoria Metrics or Prometheus discovers this component
podMonitor:
enabled: true
@@ -527,6 +529,8 @@ oxia:
server:
# annotations for the app (statefulset/deployment)
appAnnotations: {}
+ # pods annotations
+ annotations: {}
# This is how Victoria Metrics or Prometheus discovers this component
podMonitor:
enabled: true