From 7a317952cb4de43f66b53e60a2b29a9d25006bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Werner=20Putsch=C3=B6gl?= <132911917+wepudt@users.noreply.github.com> Date: Thu, 6 Jun 2024 15:44:38 +0200 Subject: [PATCH] Fixes autoUpdate being enabled when applying a DynaKube in v1beta1 with autoUpdate set to false. (#3251) --- pkg/api/v1beta2/dynakube/oneagent_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/v1beta2/dynakube/oneagent_types.go b/pkg/api/v1beta2/dynakube/oneagent_types.go index 4e92c7ebe1..b013958969 100644 --- a/pkg/api/v1beta2/dynakube/oneagent_types.go +++ b/pkg/api/v1beta2/dynakube/oneagent_types.go @@ -111,7 +111,7 @@ type HostInjectSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:default=true // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Automatically update Agent",order=13,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:advanced","urn:alm:descriptor:com.tectonic.ui:booleanSwitch"} - AutoUpdate bool `json:"autoUpdate,omitempty"` + AutoUpdate bool `json:"autoUpdate"` } type ApplicationMonitoringSpec struct {