fix the invalid struct with no volume name
This commit is contained in:
parent
d11207027e
commit
6d509eaba9
|
@ -317,6 +317,7 @@ async fn setup_pod(ctx: &mut AppContext) -> Result<(Api<Pod>, String)> {
|
||||||
})],
|
})],
|
||||||
volumes: Some(vec![
|
volumes: Some(vec![
|
||||||
default!(Volume{
|
default!(Volume{
|
||||||
|
name: "repo".to_owned(),
|
||||||
persistent_volume_claim: Some(
|
persistent_volume_claim: Some(
|
||||||
PersistentVolumeClaimVolumeSource {
|
PersistentVolumeClaimVolumeSource {
|
||||||
claim_name: kube_pvc.to_owned(),
|
claim_name: kube_pvc.to_owned(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user