fix: make HelmRepository public #39
| @ -23,7 +23,7 @@ pub struct HelmRepository { | |||||||
|     force_update: bool, |     force_update: bool, | ||||||
| } | } | ||||||
| impl HelmRepository { | impl HelmRepository { | ||||||
|     pub(crate) fn new(name: String, url: Url, force_update: bool) -> Self { |     pub fn new(name: String, url: Url, force_update: bool) -> Self { | ||||||
|         Self { |         Self { | ||||||
|             name, |             name, | ||||||
|             url, |             url, | ||||||
| @ -104,7 +104,10 @@ impl HelmChartInterpret { | |||||||
| 
 | 
 | ||||||
| fn run_helm_command(args: &[&str]) -> Result<Output, InterpretError> { | fn run_helm_command(args: &[&str]) -> Result<Output, InterpretError> { | ||||||
|     let command_str = format!("helm {}", args.join(" ")); |     let command_str = format!("helm {}", args.join(" ")); | ||||||
|     debug!("Got KUBECONFIG: `{}`", std::env::var("KUBECONFIG").unwrap()); |     debug!( | ||||||
|  |         "Got KUBECONFIG: `{}`", | ||||||
|  |         std::env::var("KUBECONFIG").unwrap_or("".to_string()) | ||||||
|  |     ); | ||||||
|     debug!("Running Helm command: `{}`", command_str); |     debug!("Running Helm command: `{}`", command_str); | ||||||
| 
 | 
 | ||||||
|     let output = Command::new("helm") |     let output = Command::new("helm") | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user