From 8356979e1f756baad5d13d290cbc4e249e0c4511 Mon Sep 17 00:00:00 2001 From: Donny Xia Date: Mon, 1 Jun 2020 16:52:13 -0700 Subject: [PATCH] Update StatefulSet ref name in HPA --- api/konfig/builtinpluginconsts/namereference.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/konfig/builtinpluginconsts/namereference.go b/api/konfig/builtinpluginconsts/namereference.go index 57d5fd12f..df40115b1 100644 --- a/api/konfig/builtinpluginconsts/namereference.go +++ b/api/konfig/builtinpluginconsts/namereference.go @@ -21,6 +21,11 @@ nameReference: - path: spec/scaleTargetRef/name kind: HorizontalPodAutoscaler +- kind: StatefulSet + fieldSpecs: + - path: spec/scaleTargetRef/name + kind: HorizontalPodAutoscaler + - kind: ConfigMap version: v1 fieldSpecs: