diff --git a/tools/goctl/kube/deployment.tpl b/tools/goctl/kube/deployment.tpl index 14145df2..1d7fbc54 100644 --- a/tools/goctl/kube/deployment.tpl +++ b/tools/goctl/kube/deployment.tpl @@ -70,7 +70,7 @@ spec: --- -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{.Name}}-hpa-c