OLM Integration Package Manifests Quickstart

    Important: this guide assumes your project was scaffolded with operator-sdk init --project-version=3-alpha. These features are unavailable to projects of version 2 or less; this information can be found by inspecting your file’s version value.

    We will now create a package manifests format by running make packagemanifests in the root of the memcached-operator project:

    Deploying an Operator with OLM

    At this point in development we’ve generated all files necessary to build a memcached-operator registry. Now we’re ready to test the Operator with OLM.

    will create an Operator registry from manifests and metadata in the memcached-operator project, and inform OLM that memcached-operator v0.0.1 is ready to be deployed. This process effectively replicates production deployment in a constrained manner to make sure OLM can deploy our Operator successfully before attempting real production deployment.

    As long as both the ClusterServiceVersion and all ‘s return an Installed status, the memcached-operator has been deployed successfully.

    Now that we’re done testing the memcached-operator, we should probably clean up the Operator’s resources. will do this for you: