clean up another default
This commit is contained in:
parent
f72c37f454
commit
d6a0e8b6b1
|
@ -264,11 +264,9 @@ async fn setup_pod(ctx: &mut AppContext) -> Result<(Api<Pod>, String)> {
|
|||
}),
|
||||
spec: Some(default!(PersistentVolumeClaimSpec {
|
||||
access_modes: Some(vec!["ReadWriteOnce".to_owned()]),
|
||||
resources: Some(ResourceRequirements {
|
||||
claims: None,
|
||||
limits: None,
|
||||
resources: Some(default!(ResourceRequirements {
|
||||
requests: Some(BTreeMap::from([("storage".to_owned(), quantity_size)])),
|
||||
}),
|
||||
})),
|
||||
storage_class_name: cfg.storageclass.clone(),
|
||||
volume_mode: Some("Filesystem".to_owned()),
|
||||
})),
|
||||
|
|
Loading…
Reference in New Issue
Block a user