Skip to content

Commit

Permalink
Remove API check for HPA (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhielpos authored May 7, 2024
1 parent 28f70b8 commit 43bace7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions helm/starboard-exporter/templates/customMetricsHpa.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Capabilities.APIVersions.Has "autoscaling/v2beta1" -}}
{{- if .Values.customMetricsHPA.enabled -}}
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
Expand All @@ -20,4 +19,3 @@ spec:
metricName: {{ .Values.customMetricsHPA.metricName }}
targetAverageValue: {{ .Values.customMetricsHPA.targetAverageValueSeconds }}
{{- end -}}
{{- end -}}

0 comments on commit 43bace7

Please sign in to comment.