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]]
|
||||
name = "cdh"
|
||||
version = "0.1.8"
|
||||
version = "0.1.9"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"clap_complete",
|
||||
|
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "cdh"
|
||||
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"
|
||||
edition = "2021"
|
||||
|
||||
|
@ -20,7 +20,7 @@ use crate::types::{HelmChart, Status};
|
||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum)]
|
||||
enum Kinds {
|
||||
Argo,
|
||||
Helm,
|
||||
//Helm,
|
||||
Helmfile,
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ fn main() {
|
||||
info!("syncing helm repositories");
|
||||
let res = match args.kind {
|
||||
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(),
|
||||
};
|
||||
match res {
|
||||
@ -103,7 +103,7 @@ fn main() {
|
||||
|
||||
let charts = match args.kind {
|
||||
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(),
|
||||
}
|
||||
.unwrap();
|
||||
|
Reference in New Issue
Block a user