operator-sdk cleanup

operator-sdk cleanup

Clean up an Operator deployed with the ‘run’ subcommand

Synopsis

This command has subcommands that will destroy an Operator deployed with OLM.

  1. operator-sdk cleanup <operatorPackageName> [flags]

Options

  1. --delete-all If set to true, all other delete options will be enabled (default true)
  2. --delete-crds If set to true, owned CRDs and CRs will be deleted
  3. --delete-operator-groups If set to true, operator groups will be deleted
  4. -h, --help help for cleanup
  5. --kubeconfig string Path to the kubeconfig file to use for CLI requests.
  6. -n, --namespace string If present, namespace scope for this CLI request
  7. --timeout duration Duration to wait for the command to complete before failing (default 2m0s)

Options inherited from parent commands

  1. --plugins strings plugin keys to be used for this subcommand execution
  2. --verbose Enable verbose logging

SEE ALSO

Last modified March 25, 2021: run bundle(-upgrade): configure service account and secret (#4694) (bb1536d1)