Disable not-implemented yet helm support

This commit is contained in:
Nikolai Rodionov 2023-06-02 11:55:37 +02:00
parent 10a86abbbb
commit b8353389cc
No known key found for this signature in database
GPG Key ID: 906851F91B1DA3EF
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

@ -95,7 +95,7 @@ checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
[[package]]
name = "cdh"
version = "0.1.8"
version = "0.1.9"
dependencies = [
"clap",
"clap_complete",

View File

@ -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"

View File

@ -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();