Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 657 Bytes

apiserversource-kn-delete.adoc

File metadata and controls

31 lines (24 loc) · 657 Bytes

Deleting the API server source by using the Knative CLI

This section describes the steps used to delete the API server source, trigger, service account, cluster role, and cluster role binding using kn and oc commands.

Prerequisites
  • You must have the kn CLI installed.

Procedure
  1. Delete the trigger:

    $ kn trigger delete <trigger_name>
  2. Delete the event source:

    $ kn source apiserver delete <source_name>
  3. Delete the service account, cluster role, and cluster binding:

    $ oc delete -f authentication.yaml