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