operator-sdk cleanup packagemanifests

operator-sdk cleanup packagemanifests

Clean up an Operator in the package manifests format deployed with OLM

Synopsis

‘cleanup packagemanifests’ destroys an Operator deployed with OLM using the ‘run packagemanifests’ command. The command’s argument must be set to a valid package manifests root directory, ex. ‘/packagemanifests’.

  1. operator-sdk cleanup packagemanifests [flags]

Options

  1. -h, --help help for packagemanifests
  2. --include strings Path to Kubernetes resource manifests, ex. Role, Subscription. These supplement or override defaults generated by run/cleanup
  3. --install-mode string InstallMode to create OperatorGroup with. Format: InstallModeType[=ns1,ns2[, ...]]
  4. --kubeconfig string The file path to kubernetes configuration file. Defaults to location specified by $KUBECONFIG, or to default file rules if not set
  5. --olm-namespace string The namespace where OLM is installed (default "olm")
  6. --operator-namespace string The namespace where operator resources are created. It must already exist in the cluster or be defined in a manifest passed to --include
  7. --operator-version string Version of operator to deploy
  8. --timeout duration Time to wait for the command to complete before failing (default 2m0s)

Options inherited from parent commands

  1. --verbose Enable verbose logging

SEE ALSO

Last modified July 2, 2020: cli (new): add `cleanup packagemanifests` (#3321) (5ec43a7d)