diff --git a/CHANGELOG.md b/CHANGELOG.md index d3bf6029..56c0cd58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Remove API check for `HorizontalPodautoscaler`. + ## [0.7.9] - 2024-05-03 ### Changed -- Switched API version from the `HorizontalPodAutoscaler` from `autoscaling/v2beta1` to `autoscaling/v1`. +- Switched API version from the `HorizontalPodAutoscaler` from `autoscaling/v2beta1` to `autoscaling/v1`. ## [0.7.8] - 2024-01-16 diff --git a/helm/starboard-exporter/templates/customMetricsHpa.yaml b/helm/starboard-exporter/templates/customMetricsHpa.yaml index 6ee41cb8..6aed5d83 100644 --- a/helm/starboard-exporter/templates/customMetricsHpa.yaml +++ b/helm/starboard-exporter/templates/customMetricsHpa.yaml @@ -1,4 +1,3 @@ -{{- if .Capabilities.APIVersions.Has "autoscaling/v2beta1" -}} {{- if .Values.customMetricsHPA.enabled -}} apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler @@ -20,4 +19,3 @@ spec: metricName: {{ .Values.customMetricsHPA.metricName }} targetAverageValue: {{ .Values.customMetricsHPA.targetAverageValueSeconds }} {{- end -}} -{{- end -}}