mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 08:11:21 +00:00
feat: adding pleco support with eks
This commit is contained in:
committed by
Pierre Mavro
parent
d014b1400b
commit
7d496be7c7
@@ -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>,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user