Skip to content

Commit

Permalink
Merge pull request #20 from epoch8/feature/simple-app-hpa-upgrade
Browse files Browse the repository at this point in the history
Upgrade hpa apiVersion
  • Loading branch information
elephantum authored May 21, 2024
2 parents 9841e6b + 4deb574 commit 7e857bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/simple-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.11.6

* Update HPA `apiVersion`: `autoscaling/v2beta1` -> `autoscaling/v2`

# 0.11.5

* Add support for `monitoring.googleapis.com/v1` `PodMonitoring`
Expand Down
2 changes: 1 addition & 1 deletion charts/simple-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "0.11.5"
version: "0.11.6"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/simple-app/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "simple-app.fullname" . }}
Expand Down

0 comments on commit 7e857bb

Please sign in to comment.