Skip to content

Commit

Permalink
Disable not-implemented yet helm support
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Rodionov committed Jun 2, 2023
1 parent 10a86ab commit b835338
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cdh"
authors = ["allanger <[email protected]>"]
version = "0.1.8"
version = "0.1.9"
description = "Your helm releases are outdated, aren't they? Now you can check"
edition = "2021"

Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use crate::types::{HelmChart, Status};
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum)]
enum Kinds {
Argo,
Helm,
//Helm,
Helmfile,
}

Expand Down Expand Up @@ -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 {
Expand All @@ -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();
Expand Down

0 comments on commit b835338

Please sign in to comment.