diff --git a/charts/podinfo/Chart.yaml b/charts/podinfo/Chart.yaml index 3f93ed96..36227eda 100644 --- a/charts/podinfo/Chart.yaml +++ b/charts/podinfo/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -version: 6.1.3 +version: 6.1.4 appVersion: 6.1.3 name: podinfo engine: gotpl diff --git a/charts/podinfo/templates/hpa.yaml b/charts/podinfo/templates/hpa.yaml index 224fb344..84ec6c08 100644 --- a/charts/podinfo/templates/hpa.yaml +++ b/charts/podinfo/templates/hpa.yaml @@ -20,12 +20,16 @@ spec: - type: Resource resource: name: cpu - targetAverageUtilization: {{ .Values.hpa.cpu }} + target: + type: Utilization + averageUtilization: {{ .Values.hpa.cpu }} {{- end }} {{- if .Values.hpa.memory }} - type: Resource resource: name: memory - targetAverageValue: {{ .Values.hpa.memory }} + target: + type: AverageValue + averageValue: {{ .Values.hpa.memory }} {{- end }} {{- end }}