Disable not-implemented yet helm support
This commit is contained in:
parent
10a86abbbb
commit
b8353389cc
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -95,7 +95,7 @@ checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cdh"
|
name = "cdh"
|
||||||
version = "0.1.8"
|
version = "0.1.9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"clap_complete",
|
"clap_complete",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cdh"
|
name = "cdh"
|
||||||
authors = ["allanger <allanger@zohomail.com>"]
|
authors = ["allanger <allanger@zohomail.com>"]
|
||||||
version = "0.1.8"
|
version = "0.1.9"
|
||||||
description = "Your helm releases are outdated, aren't they? Now you can check"
|
description = "Your helm releases are outdated, aren't they? Now you can check"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ use crate::types::{HelmChart, Status};
|
|||||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum)]
|
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum)]
|
||||||
enum Kinds {
|
enum Kinds {
|
||||||
Argo,
|
Argo,
|
||||||
Helm,
|
//Helm,
|
||||||
Helmfile,
|
Helmfile,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ fn main() {
|
|||||||
info!("syncing helm repositories");
|
info!("syncing helm repositories");
|
||||||
let res = match args.kind {
|
let res = match args.kind {
|
||||||
Kinds::Argo => Argo::init().sync_repos(),
|
Kinds::Argo => Argo::init().sync_repos(),
|
||||||
Kinds::Helm => Helm::init().sync_repos(),
|
// Kinds::Helm => Helm::init().sync_repos(),
|
||||||
Kinds::Helmfile => Helmfile::init(args.path.clone(), args.helmfile_environment.clone()).sync_repos(),
|
Kinds::Helmfile => Helmfile::init(args.path.clone(), args.helmfile_environment.clone()).sync_repos(),
|
||||||
};
|
};
|
||||||
match res {
|
match res {
|
||||||
@ -103,7 +103,7 @@ fn main() {
|
|||||||
|
|
||||||
let charts = match args.kind {
|
let charts = match args.kind {
|
||||||
Kinds::Argo => Argo::init().get_app(),
|
Kinds::Argo => Argo::init().get_app(),
|
||||||
Kinds::Helm => Helm::init().get_app(),
|
//Kinds::Helm => Helm::init().get_app(),
|
||||||
Kinds::Helmfile => Helmfile::init(args.path.clone(), args.helmfile_environment.clone()).get_app(),
|
Kinds::Helmfile => Helmfile::init(args.path.clone(), args.helmfile_environment.clone()).get_app(),
|
||||||
}
|
}
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
Reference in New Issue
Block a user