@@ -62,7 +62,7 @@ pub enum Error {
6262
6363pub trait InstallManifestsExt {
6464 // TODO (Techassi): This step shouldn't care about templating the manifests nor fetching them from remote
65- #[ instrument( skip_all) ]
65+ #[ instrument( skip_all, fields ( %product_namespace ) ) ]
6666 #[ allow( async_fn_in_trait) ]
6767 async fn install_manifests (
6868 manifests : & [ ManifestSpec ] ,
@@ -72,12 +72,12 @@ pub trait InstallManifestsExt {
7272 client : & Client ,
7373 transfer_client : & xfer:: Client ,
7474 ) -> Result < ( ) , Error > {
75- debug ! ( "Installing demo / stack manifests" ) ;
75+ debug ! ( "Installing manifests" ) ;
7676
7777 for manifest in manifests {
7878 match manifest {
7979 ManifestSpec :: HelmChart ( helm_file) => {
80- debug ! ( "Installing manifest from Helm chart {}" , helm_file ) ;
80+ debug ! ( helm_file , "Installing manifest from Helm chart" ) ;
8181
8282 // Read Helm chart YAML and apply templating
8383 let helm_file = helm_file. into_path_or_url ( ) . context ( ParsePathOrUrlSnafu {
@@ -89,10 +89,7 @@ pub trait InstallManifestsExt {
8989 . await
9090 . context ( FileTransferSnafu ) ?;
9191
92- info ! (
93- "Installing Helm chart {} ({})" ,
94- helm_chart. name, helm_chart. version
95- ) ;
92+ info ! ( helm_chart. name, helm_chart. version, "Installing Helm chart" , ) ;
9693
9794 // Assumption: that all manifest helm charts refer to repos not registries
9895 helm:: add_repo ( & helm_chart. repo . name , & helm_chart. repo . url ) . context (
@@ -122,7 +119,7 @@ pub trait InstallManifestsExt {
122119 } ) ?;
123120 }
124121 ManifestSpec :: PlainYaml ( manifest_file) => {
125- debug ! ( "Installing YAML manifest from {}" , manifest_file ) ;
122+ debug ! ( manifest_file , "Installing YAML manifest" ) ;
126123
127124 // Read YAML manifest and apply templating
128125 let path_or_url =
0 commit comments