File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : common
3
3
description : Function library for k8s-at-home charts
4
4
type : library
5
- version : 4.5.6
5
+ version : 4.5.7
6
6
kubeVersion : " >=1.16.0-0"
7
7
keywords :
8
8
- k8s-at-home
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ All notable changes to this library Helm chart will be documented in this file.
10
10
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
11
11
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
12
12
13
+ ### [4.5.7]
14
+
15
+ #### Changed
16
+ - Update HPA to support new k8s versions
17
+
13
18
### [4.5.6]
14
19
15
20
#### Changed
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ using the common library.
7
7
{ {- $hpaName := include " common.names.fullname" . -} }
8
8
{ {- $targetName := include " common.names.fullname" . } }
9
9
---
10
- apiVersion: autoscaling/v2beta1
10
+ apiVersion: autoscaling/v2
11
11
kind: HorizontalPodAutoscaler
12
12
metadata:
13
13
name: { { $hpaName } }
@@ -25,13 +25,13 @@ spec:
25
25
- type: Resource
26
26
resource:
27
27
name: cpu
28
- targetAverageUtilization : { { .Values.autoscaling.targetCPUUtilizationPercentage } }
28
+ averageUtilization : { { .Values.autoscaling.targetCPUUtilizationPercentage } }
29
29
{ {- end } }
30
30
{ {- if .Values.autoscaling.targetMemoryUtilizationPercentage } }
31
31
- type: Resource
32
32
resource:
33
33
name: memory
34
- targetAverageUtilization : { { .Values.autoscaling.targetMemoryUtilizationPercentage } }
34
+ averageUtilization : { { .Values.autoscaling.targetMemoryUtilizationPercentage } }
35
35
{ {- end } }
36
36
{ {- end -} }
37
37
{ {- end -} }
You can’t perform that action at this time.
0 commit comments