feat: adding pleco support with eks

This commit is contained in:
Pierre Mavro
2021-01-25 22:27:11 +01:00
committed by Pierre Mavro
parent d014b1400b
commit 7d496be7c7
25 changed files with 257 additions and 874 deletions

View File

@@ -48,8 +48,7 @@ where
chart_root_dir.as_ref().to_str().unwrap()
);
let helm_history_rows =
helm_exec_history(kubernetes_config.as_ref(), namespace, release_name, envs)?;
let helm_history_rows = helm_exec_history(kubernetes_config.as_ref(), namespace, release_name, envs)?;
// take the last deployment from helm history - or return none if there is no history
Ok(match helm_history_rows.first() {
@@ -312,8 +311,7 @@ where
chart_root_dir.as_ref().to_str().unwrap()
);
let helm_history_rows =
helm_exec_history(kubernetes_config.as_ref(), namespace, release_name, envs)?;
let helm_history_rows = helm_exec_history(kubernetes_config.as_ref(), namespace, release_name, envs)?;
// take the last deployment from helm history - or return none if there is no history
Ok(match helm_history_rows.first() {
@@ -322,10 +320,7 @@ where
})
}
pub fn helm_list<P>(
kubernetes_config: P,
envs: Vec<(&str, &str)>,
) -> Result<Vec<HelmList>, SimpleError>
pub fn helm_list<P>(kubernetes_config: P, envs: Vec<(&str, &str)>) -> Result<Vec<HelmList>, SimpleError>
where
P: AsRef<Path>,
{