generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed as not planned
Closed as not planned
Copy link
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Milestone
Description
/kind bug
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
DiskOffering is an optional field in the CloudStackMachine CRD. It is currently defined as:
// CloudStack disk offering to use.
// +optional
DiskOffering CloudStackResourceDiskOffering `json:"diskOffering,omitempty"`
This can lead to unnecessary reconciliations or even unintended behavior when this field is omitted from a yaml definition, because the entire structure will be included in the final object definition with its default values:
spec:
diskOffering:
customSizeInGB: 0
device: ""
filesystem: ""
label: ""
mountPath: ""
failureDomainName: failure-domain-1
offering:
name: Medium Instance (8 GB / 4 CPU)
sshKey: h.rakers-ed25519DiskOffering should be changed to *CloudStackResourceDiskOffering to comply with the Kubernetes API conventions.
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.