mirror of
https://github.com/rancher/k3k.git
synced 2026-05-18 23:37:01 +00:00
Make the storageRequestSize immutable.
It can't be changed in the StatefulSet and modifying the value causes an error.
This commit is contained in:
@@ -364,6 +364,7 @@ type PersistenceConfig struct {
|
||||
// This field is only relevant in "dynamic" mode.
|
||||
//
|
||||
// +kubebuilder:default="2G"
|
||||
// +kubebuilder:validation:XValidation:message="storageRequestSize is immutable",rule="self == oldSelf"
|
||||
// +optional
|
||||
StorageRequestSize *resource.Quantity `json:"storageRequestSize,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user