Skip to content

Commit 506fbcf

Browse files
committed
function comment for helm uninstall
1 parent 0f3cf7f commit 506fbcf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

rust/stackable-cockpit/src/platform/manifests.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ pub trait InstallManifestsExt {
160160
Ok(())
161161
}
162162

163+
/// This function only handles uninstalling Helm Charts
164+
///
165+
/// To delete objects installed through other manifests use [`Client::delete_namespace`] or [`Client::delete_all_objects_with_label`] instead.
163166
#[instrument(skip_all, fields(%namespace, indicatif.pb_show = true))]
164167
#[allow(async_fn_in_trait)]
165168
async fn uninstall_helm_manifests(
@@ -193,7 +196,9 @@ pub trait InstallManifestsExt {
193196
},
194197
)?;
195198
}
196-
ManifestSpec::PlainYaml(_) => {}
199+
ManifestSpec::PlainYaml(_) => {
200+
// This function only handles uninstalling Helm Charts
201+
}
197202
}
198203
}
199204

0 commit comments

Comments
 (0)