Compare commits

...

2 Commits
main ... dev

Author SHA1 Message Date
d6a0e8b6b1 clean up another default 2023-11-02 18:49:10 -05:00
f72c37f454 a new version appears: 0.2.1-alpha.1 2023-11-01 22:18:26 -05:00
3 changed files with 4 additions and 6 deletions

2
Cargo.lock generated
View File

@ -551,7 +551,7 @@ checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0"
[[package]] [[package]]
name = "git-remote-k8s" name = "git-remote-k8s"
version = "0.2.0" version = "0.2.1-alpha.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",

View File

@ -3,7 +3,7 @@ name = "git-remote-k8s"
description = "a git remote helper to use PVCs as a remote" description = "a git remote helper to use PVCs as a remote"
authors = ["James Andariese"] authors = ["James Andariese"]
readme = "README.md" readme = "README.md"
version = "0.2.0" version = "0.2.1-alpha.1"
edition = "2021" edition = "2021"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
keywords = ["git", "remote", "kubernetes"] keywords = ["git", "remote", "kubernetes"]

View File

@ -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()),
})), })),