Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
bug(*): Fix memory targetAverageUtilization
Browse files Browse the repository at this point in the history
Update HPA yamls from averageValue to averageUtilization
and resolves #4451

Signed-off-by: Shalier Xia <[email protected]>
  • Loading branch information
shalier committed Jan 14, 2022
1 parent 95fb342 commit 4c265a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/osm/templates/osm-controller-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ spec:
name: memory
target:
type: Utilization
averageValue: {{.Values.osm.osmController.autoScale.memory.targetAverageUtilization}}
averageUtilization: {{.Values.osm.osmController.autoScale.memory.targetAverageUtilization}}
{{- end }}
2 changes: 1 addition & 1 deletion charts/osm/templates/osm-injector-hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ spec:
name: memory
target:
type: Utilization
averageValue: {{.Values.osm.injector.autoScale.memory.targetAverageUtilization}}
averageUtilization: {{.Values.osm.injector.autoScale.memory.targetAverageUtilization}}
{{- end }}

0 comments on commit 4c265a1

Please sign in to comment.