Version v1.7 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.
Clean up an Operator deployed with the ‘run’ subcommand
This command has subcommands that will destroy an Operator deployed with OLM.
operator-sdk cleanup <operatorPackageName> [flags]
--delete-all If set to true, all other delete options will be enabled (default true) --delete-crds If set to true, owned CRDs and CRs will be deleted --delete-operator-groups If set to true, operator groups will be deleted -h, --help help for cleanup --kubeconfig string Path to the kubeconfig file to use for CLI requests. -n, --namespace string If present, namespace scope for this CLI request --timeout duration Duration to wait for the command to complete before failing (default 2m0s)
Options inherited from parent commands
--plugins strings plugin keys to be used for this subcommand execution --verbose Enable verbose logging