Chapter 5. Uninstall


You uninstall Red Hat build of Trustee by uninstalling the Red Hat build of Trustee Operator and deleting its resources.

You perform the following tasks:

  1. Delete the KbsConfig custom resource.
  2. Uninstall the Red Hat build of Trustee Operator.
  3. Delete the KbsConfig custom resource definition.

5.1. Deleting TrusteeConfig custom resources

Delete a TrusteeConfig custom resource to remove Red Hat build of Trustee configuration and all autogenerated resources.

Procedure

  1. Delete the TrusteeConfig custom resource by running the following command:

    $ oc delete trusteeconfig <name> -n trustee-operator-system

    where <name> is the name of your TrusteeConfig resource.

  2. Verify that all generated resources are removed by running the following command:

    $ oc get configmaps,secrets,kbsconfig -n trustee-operator-system

Verification

  • All autogenerated config maps, secrets, and the KbsConfig custom resource are removed.
  • Trustee pods are terminated.

You uninstall the Red Hat build of Trustee Operator by using the command line.

Procedure

  1. Delete the subscription by running the following command:

    $ oc delete subscription trustee-operator
  2. Delete the namespace by running the following command:

    $ oc delete namespace trustee-operator-system
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top