Skip to content

Commit a4f5f65

Browse files
authored
feat(clamapi): update HorizontalPodAutoscaler (#155)
* feat(clamapi): update HorizontalPodAutoscaler Use apiVersion: autoscaling/v2 * feat(clamapi): update chart in 2.0.4 * feat(clamav): update in 2.6.0 * feat(clamav): update requirements.lock * feat(clamav): update requirement in 2.7.0 * feat(clamav): update requirements.lock in 2.7.0
1 parent a655e50 commit a4f5f65

4 files changed

Lines changed: 16 additions & 15 deletions

File tree

charts/clamapi/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ name: clamapi
55
home: https://github.com/cnieg/helm-charts/
66
sources:
77
- https://github.com/audig/clamapi
8-
version: 2.0.3
8+
version: 2.0.4
99
maintainers:
1010
- name: audig

charts/clamapi/requirements.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: clamav
33
repository: https://wiremind.github.io/wiremind-helm-charts
4-
version: 2.5.0
5-
digest: sha256:3e38690cf1c38cec1ae3582db46ab4db9a4e76323cfedc50a90c6388e7cd7c38
6-
generated: "2022-09-04T12:42:16.7904465+02:00"
4+
version: 2.7.0
5+
digest: sha256:9914070ab23e358183e5513b8f3e73d301a1255a59b3de2c7a8ed2cce438ec5c
6+
generated: "2023-02-27T15:53:09.2280606+01:00"

charts/clamapi/requirements.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Create new requirements.lock with "helm dependency build ."
22
dependencies:
33
- name: clamav
4-
version: 2.5.0
4+
version: 2.7.0
55
repository: https://wiremind.github.io/wiremind-helm-charts
66
condition: clamav.enabled
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- if .Values.hpa -}}
2-
apiVersion: autoscaling/v2beta1
2+
apiVersion: autoscaling/v2
33
kind: HorizontalPodAutoscaler
44
metadata:
55
name: {{ include "clamapi.fullname" . }}
@@ -12,13 +12,14 @@ spec:
1212
name: {{ include "clamapi.fullname" . }}
1313
minReplicas: {{ .Values.replicaCount }}
1414
maxReplicas: {{ .Values.hpa.maxReplicas }}
15-
metrics:
16-
- type: Resource
17-
resource:
18-
name: cpu
19-
targetAverageUtilization: {{ .Values.hpa.cpuMax }}
20-
- type: Resource
21-
resource:
22-
name: memory
23-
targetAverageUtilization: {{ .Values.hpa.memoryMax }}
15+
behavior:
16+
metrics:
17+
- type: Resource
18+
resource:
19+
name: cpu
20+
targetAverageUtilization: {{ .Values.hpa.cpuMax }}
21+
- type: Resource
22+
resource:
23+
name: memory
24+
targetAverageUtilization: {{ .Values.hpa.memoryMax }}
2425
{{- end }}

0 commit comments

Comments
 (0)