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 {
|
spec: Some(default!(PersistentVolumeClaimSpec {
|
||||||
access_modes: Some(vec!["ReadWriteOnce".to_owned()]),
|
access_modes: Some(vec!["ReadWriteOnce".to_owned()]),
|
||||||
resources: Some(ResourceRequirements {
|
resources: Some(default!(ResourceRequirements {
|
||||||
claims: None,
|
|
||||||
limits: None,
|
|
||||||
requests: Some(BTreeMap::from([("storage".to_owned(), quantity_size)])),
|
requests: Some(BTreeMap::from([("storage".to_owned(), quantity_size)])),
|
||||||
}),
|
})),
|
||||||
storage_class_name: cfg.storageclass.clone(),
|
storage_class_name: cfg.storageclass.clone(),
|
||||||
volume_mode: Some("Filesystem".to_owned()),
|
volume_mode: Some("Filesystem".to_owned()),
|
||||||
})),
|
})),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user