Building and Pushing Image
Last updated
Last updated
Before we build our operator image we will want to setup an account on quay.io. We will need to push this image to quay.io so that we can test the Metadata Files discussed in the next section. To setup an account on quay.io:
Go to: quay.io
Click on the SIGN IN button located on the upper right side
You can either Sign In with your GitHub account or click Create Account
Once logged into Quay, click CREATE REPOSITORY to create a place to push your operator image for testing (example name: mongodb-operator)
Build the mongodb-operator
image and push it to a registry:
Now that you have built and pushed the image to quay.io it is necessary to edit config/manager/manager.yaml
and replace the following fields:
image - your new image on quay.io
imagePullPolicy - Always