diff --git a/kube.libsonnet b/kube.libsonnet index 418a76a..cfe42c1 100644 --- a/kube.libsonnet +++ b/kube.libsonnet @@ -461,7 +461,7 @@ name: target.metadata.name, }, - HorizontalPodAutoscaler(name): $._Object("autoscaling/v1", "HorizontalPodAutoscaler", name) { + HorizontalPodAutoscaler(name): $._Object("autoscaling/v2", "HorizontalPodAutoscaler", name) { local hpa = self, target:: error "target required",