Skip to content

Commit

Permalink
Merge pull request #176 from maxdrib/objectmeta
Browse files Browse the repository at this point in the history
Making ObjectMeta in CloudStackMachineTemplateResource nullable
  • Loading branch information
rejoshed authored Oct 12, 2022
2 parents 4141f2b + 0accdf5 commit e8988e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1beta2/cloudstackmachinetemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type CloudStackMachineTemplateResource struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
// +nullable
ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CloudStackMachineSpec `json:"spec"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ spec:
properties:
metadata:
description: 'Standard object''s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata'
nullable: true
type: object
spec:
description: CloudStackMachineSpec defines the desired state of
Expand Down

0 comments on commit e8988e4

Please sign in to comment.