From 1ba2e83bc70af8f378b45984339ffa7e83e634ee Mon Sep 17 00:00:00 2001 From: Richard87 Date: Wed, 5 Jun 2024 11:02:48 +0200 Subject: [PATCH 1/2] lowercase trigger name --- pkg/apis/radix/v1/radixhorizontalscalingtypes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/radix/v1/radixhorizontalscalingtypes.go b/pkg/apis/radix/v1/radixhorizontalscalingtypes.go index 5c2aad4b4..0aa5edab4 100644 --- a/pkg/apis/radix/v1/radixhorizontalscalingtypes.go +++ b/pkg/apis/radix/v1/radixhorizontalscalingtypes.go @@ -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), }, @@ -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), }, From 2671d4847bd211ddb98af40be631d09d21f483ee Mon Sep 17 00:00:00 2001 From: Richard87 Date: Wed, 5 Jun 2024 11:03:40 +0200 Subject: [PATCH 2/2] lowercase trigger name --- charts/radix-operator/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/radix-operator/Chart.yaml b/charts/radix-operator/Chart.yaml index 9406b2349..0a394f12b 100644 --- a/charts/radix-operator/Chart.yaml +++ b/charts/radix-operator/Chart.yaml @@ -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: