Skip to content

Commit bb26ee8

Browse files
Merge pull request #9 from cobaltcore-dev/update-crd
Update crd according to changes of structs
2 parents d52869c + 769106f commit bb26ee8

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

crd/cloudprofilesync.cobaltcore.dev_managedcloudprofiles.yaml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -516,25 +516,27 @@ spec:
516516
- kubernetes
517517
- type
518518
type: object
519+
garbageCollection:
520+
description: GarbageCollection contains configuration for automated
521+
garbage collection
522+
properties:
523+
enabled:
524+
description: Enabled toggles garbage collection for this resource.
525+
type: boolean
526+
maxAge:
527+
description: |-
528+
MaxAge defines the maximum age for images to keep. Images older than
529+
now - MaxAge are eligible for deletion.
530+
type: string
531+
x-kubernetes-validations:
532+
- message: maxAge must not be negative
533+
rule: duration(self) >= duration('0s')
534+
type: object
519535
machineImageUpdates:
520536
description: MachineImageUpdates contains the source and provider
521537
information to automate machine images.
522538
items:
523539
properties:
524-
garbageCollection:
525-
description: GarbageCollection contains configuration for automated
526-
garbage collection
527-
properties:
528-
enabled:
529-
description: Enabled toggles garbage collection for this
530-
image.
531-
type: boolean
532-
maxAge:
533-
description: |-
534-
MaxAge defines the maximum age for images to keep. Images older than
535-
now MaxAge are eligible for deletion.
536-
type: string
537-
type: object
538540
imageName:
539541
description: ImagesName is the name of the image to maintain
540542
automatically

0 commit comments

Comments
 (0)