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
Last modified March 25, 2021: run bundle(-upgrade): configure service account and secret (#4694) (bb1536d1)