From 769106f143564f32e7008676847b6378399299f2 Mon Sep 17 00:00:00 2001 From: valeryia-hurynovich Date: Tue, 31 Mar 2026 16:35:13 +0200 Subject: [PATCH] update crd according to changes of structs --- ...c.cobaltcore.dev_managedcloudprofiles.yaml | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/crd/cloudprofilesync.cobaltcore.dev_managedcloudprofiles.yaml b/crd/cloudprofilesync.cobaltcore.dev_managedcloudprofiles.yaml index 7546e34..ab557b7 100644 --- a/crd/cloudprofilesync.cobaltcore.dev_managedcloudprofiles.yaml +++ b/crd/cloudprofilesync.cobaltcore.dev_managedcloudprofiles.yaml @@ -516,25 +516,27 @@ spec: - kubernetes - type type: object + garbageCollection: + description: GarbageCollection contains configuration for automated + garbage collection + properties: + enabled: + description: Enabled toggles garbage collection for this resource. + type: boolean + maxAge: + description: |- + MaxAge defines the maximum age for images to keep. Images older than + now - MaxAge are eligible for deletion. + type: string + x-kubernetes-validations: + - message: maxAge must not be negative + rule: duration(self) >= duration('0s') + type: object machineImageUpdates: description: MachineImageUpdates contains the source and provider information to automate machine images. items: properties: - garbageCollection: - description: GarbageCollection contains configuration for automated - garbage collection - properties: - enabled: - description: Enabled toggles garbage collection for this - image. - type: boolean - maxAge: - description: |- - MaxAge defines the maximum age for images to keep. Images older than - now MaxAge are eligible for deletion. - type: string - type: object imageName: description: ImagesName is the name of the image to maintain automatically