This is an automated email from the ASF dual-hosted git repository. lhotari 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 c4941b3 Add namespace to hpa templates (#494) c4941b3 is described below commit c4941b32d19148b5741a087e5e2c250e2a37b793 Author: MonicaMagoniCom <79588876+monicamagoni...@users.noreply.github.com> AuthorDate: Fri May 3 20:48:02 2024 +0200 Add namespace to hpa templates (#494) --- charts/pulsar/templates/broker-hpa.yaml | 1 + charts/pulsar/templates/proxy-hpa.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/pulsar/templates/broker-hpa.yaml b/charts/pulsar/templates/broker-hpa.yaml index f52850a..83a24aa 100644 --- a/charts/pulsar/templates/broker-hpa.yaml +++ b/charts/pulsar/templates/broker-hpa.yaml @@ -26,6 +26,7 @@ apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: "{{ template "pulsar.fullname" . }}-{{ .Values.broker.component }}" + namespace: {{ template "pulsar.namespace" . }} spec: maxReplicas: {{ .Values.broker.autoscaling.maxReplicas }} {{- with .Values.broker.autoscaling.metrics }} diff --git a/charts/pulsar/templates/proxy-hpa.yaml b/charts/pulsar/templates/proxy-hpa.yaml index 587382f..291c072 100644 --- a/charts/pulsar/templates/proxy-hpa.yaml +++ b/charts/pulsar/templates/proxy-hpa.yaml @@ -26,6 +26,7 @@ apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: "{{ template "pulsar.fullname" . }}-{{ .Values.proxy.component }}" + namespace: {{ template "pulsar.namespace" . }} spec: maxReplicas: {{ .Values.proxy.autoscaling.maxReplicas }} {{- with .Values.proxy.autoscaling.metrics }}