Add namespace to hpa templates (#494)
This commit is contained in:
parent
bd8bc633df
commit
c4941b32d1
@ -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 }}
|
||||
|
||||
@ -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 }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user