operator-sdk migrate

operator-sdk migrate

Adds source code to an operator

Synopsis

operator-sdk migrate adds a main.go source file and any associated source filesfor an operator that is not of the “go” type.

  1. operator-sdk migrate [flags]

Options

  1. --header-file string Path to file containing headers for generated Go files. Copied to hack/boilerplate.go.txt
  2. -h, --help help for migrate
  3. --repo string Project repository path. Used as the project's Go import path. This must be set if outside of $GOPATH/src (e.g. github.com/example-inc/my-operator)

SEE ALSO

Last modified April 7, 2020: fix CLI docs for website, links and frontmatter (#2799) (8323f56b)