mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 06:58:50 +08:00
[bitnami/wordpress] Invert memory/cpu in hpa for Argo CD users (#14085)
* Change cpu/memory order for Argo CD Signed-off-by: Callixte de Vulpillières <callixtedev@hotmail.fr> * Update version Signed-off-by: Callixte de Vulpillières <callixtedev@hotmail.fr> * [bitnami/wordpress] Bump version Signed-off-by: Celia Garcia <61272496+CeliaGMqrz@users.noreply.github.com> Signed-off-by: Callixte de Vulpillières <callixtedev@hotmail.fr> Signed-off-by: Celia Garcia <61272496+CeliaGMqrz@users.noreply.github.com> Co-authored-by: Celia Garcia <61272496+CeliaGMqrz@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c02304be1e
commit
18b0d0a204
@@ -36,4 +36,4 @@ name: wordpress
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/wordpress
|
||||
- https://wordpress.org/
|
||||
version: 15.2.24
|
||||
version: 15.2.25
|
||||
|
||||
@@ -19,18 +19,6 @@ spec:
|
||||
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
||||
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
||||
metrics:
|
||||
{{- if .Values.autoscaling.targetCPU }}
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
|
||||
targetAverageUtilization: {{ .Values.autoscaling.targetCPU }}
|
||||
{{- else }}
|
||||
target:
|
||||
type: Utilization
|
||||
averageUtilization: {{ .Values.autoscaling.targetCPU }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.autoscaling.targetMemory }}
|
||||
- type: Resource
|
||||
resource:
|
||||
@@ -43,4 +31,16 @@ spec:
|
||||
averageUtilization: {{ .Values.autoscaling.targetMemory }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.autoscaling.targetCPU }}
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
|
||||
targetAverageUtilization: {{ .Values.autoscaling.targetCPU }}
|
||||
{{- else }}
|
||||
target:
|
||||
type: Utilization
|
||||
averageUtilization: {{ .Values.autoscaling.targetCPU }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user