From a9d4b3ef738f268b235f33109248b95029e2d399 Mon Sep 17 00:00:00 2001 From: Hanfei Shen Date: Fri, 6 Mar 2020 21:09:14 +0800 Subject: [PATCH] fix apiVersion of HPA fixes #491 --- apm-server/templates/hpa.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apm-server/templates/hpa.yaml b/apm-server/templates/hpa.yaml index 49b5bb6eb..928f25789 100644 --- a/apm-server/templates/hpa.yaml +++ b/apm-server/templates/hpa.yaml @@ -1,5 +1,5 @@ {{- if .Values.autoscaling.enabled }} -apiVersion: {{ template "apm.ingress.apiVersion" . }} +apiVersion: {{ template "apm.autoscaling.apiVersion" . }} kind: HorizontalPodAutoscaler metadata: name: {{ template "apm.fullname" . }}