diff --git a/harmony/src/domain/topology/k8s.rs b/harmony/src/domain/topology/k8s.rs index 32da4ac..c01e6d4 100644 --- a/harmony/src/domain/topology/k8s.rs +++ b/harmony/src/domain/topology/k8s.rs @@ -54,7 +54,8 @@ impl K8sClient { } } - pub async fn exec_pod( + /// Will execute a command in the first pod found that matches the label `app.kubernetes.io/name={name}` + pub async fn exec_app( &self, name: String, namespace: Option<&str>, diff --git a/harmony/src/modules/monitoring/ntfy/ntfy.rs b/harmony/src/modules/monitoring/ntfy/ntfy.rs index 0a4d90e..b8b5cbe 100644 --- a/harmony/src/modules/monitoring/ntfy/ntfy.rs +++ b/harmony/src/modules/monitoring/ntfy/ntfy.rs @@ -118,6 +118,7 @@ impl NtfyInterpret { } } +/// We need a ntfy interpret to wrap the HelmChartScore in order to run the score, and then bootstrap the config inside ntfy #[async_trait] impl Interpret for NtfyInterpret { async fn execute(