Skip to content

Commit

Permalink
Merge pull request #1129 from equinor/master
Browse files Browse the repository at this point in the history
Release hotfix trigger name
  • Loading branch information
Richard87 authored Jun 5, 2024
2 parents acedd17 + 740d90e commit 2128a72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/radix-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: radix-operator
version: 1.35.2
appVersion: 1.55.2
version: 1.35.3
appVersion: 1.55.3
kubeVersion: ">=1.24.0"
description: Radix Operator
keywords:
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/radix/v1/radixhorizontalscalingtypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (c *RadixHorizontalScaling) NormalizeConfig() *RadixHorizontalScaling {
if c.RadixHorizontalScalingResources != nil && len(config.Triggers) == 0 {
if c.RadixHorizontalScalingResources.Cpu != nil && c.RadixHorizontalScalingResources.Cpu.AverageUtilization != nil {
config.Triggers = append(config.Triggers, RadixHorizontalScalingTrigger{
Name: "CPU",
Name: "cpu",
Cpu: &RadixHorizontalScalingCPUTrigger{
Value: int(*c.RadixHorizontalScalingResources.Cpu.AverageUtilization),
},
Expand All @@ -184,7 +184,7 @@ func (c *RadixHorizontalScaling) NormalizeConfig() *RadixHorizontalScaling {

if c.RadixHorizontalScalingResources.Memory != nil && c.RadixHorizontalScalingResources.Memory.AverageUtilization != nil {
config.Triggers = append(config.Triggers, RadixHorizontalScalingTrigger{
Name: "Memory",
Name: "memory",
Memory: &RadixHorizontalScalingMemoryTrigger{
Value: int(*c.RadixHorizontalScalingResources.Memory.AverageUtilization),
},
Expand Down

0 comments on commit 2128a72

Please sign in to comment.