Commit 18b0d0a 1 parent c02304b commit 18b0d0a Copy full SHA for 18b0d0a
File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ name: wordpress
36
36
sources :
37
37
- https://github.com/bitnami/containers/tree/main/bitnami/wordpress
38
38
- https://wordpress.org/
39
- version : 15.2.24
39
+ version : 15.2.25
Original file line number Diff line number Diff line change @@ -19,28 +19,28 @@ spec:
19
19
minReplicas : {{ .Values.autoscaling.minReplicas }}
20
20
maxReplicas : {{ .Values.autoscaling.maxReplicas }}
21
21
metrics :
22
- {{- if .Values.autoscaling.targetCPU }}
22
+ {{- if .Values.autoscaling.targetMemory }}
23
23
- type : Resource
24
24
resource :
25
- name : cpu
25
+ name : memory
26
26
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
27
- targetAverageUtilization : {{ .Values.autoscaling.targetCPU }}
27
+ targetAverageUtilization : {{ .Values.autoscaling.targetMemory }}
28
28
{{- else }}
29
29
target :
30
30
type : Utilization
31
- averageUtilization : {{ .Values.autoscaling.targetCPU }}
31
+ averageUtilization : {{ .Values.autoscaling.targetMemory }}
32
32
{{- end }}
33
33
{{- end }}
34
- {{- if .Values.autoscaling.targetMemory }}
34
+ {{- if .Values.autoscaling.targetCPU }}
35
35
- type : Resource
36
36
resource :
37
- name : memory
37
+ name : cpu
38
38
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
39
- targetAverageUtilization : {{ .Values.autoscaling.targetMemory }}
39
+ targetAverageUtilization : {{ .Values.autoscaling.targetCPU }}
40
40
{{- else }}
41
41
target :
42
42
type : Utilization
43
- averageUtilization : {{ .Values.autoscaling.targetMemory }}
43
+ averageUtilization : {{ .Values.autoscaling.targetCPU }}
44
44
{{- end }}
45
45
{{- end }}
46
46
{{- end }}
You can’t perform that action at this time.
0 commit comments