Skip to content

Commit 0accdf5

Browse files
committed
Making ObjectMeta in CloudStackMachineTemplateResource nullable
1 parent a11224f commit 0accdf5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

api/v1beta2/cloudstackmachinetemplate_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ type CloudStackMachineTemplateResource struct {
2424
// Standard object's metadata.
2525
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2626
// +optional
27+
// +nullable
2728
ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"`
2829
Spec CloudStackMachineSpec `json:"spec"`
2930
}

config/crd/bases/infrastructure.cluster.x-k8s.io_cloudstackmachinetemplates.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ spec:
240240
properties:
241241
metadata:
242242
description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata'
243+
nullable: true
243244
type: object
244245
spec:
245246
description: CloudStackMachineSpec defines the desired state of

0 commit comments

Comments
 (0)