Skip to content

Instantly share code, notes, and snippets.

@iam-veeramalla
Last active January 11, 2021 17:04
Show Gist options
  • Save iam-veeramalla/9ad8063b6848acc6a127d11a8cc5fe0a to your computer and use it in GitHub Desktop.
Save iam-veeramalla/9ad8063b6848acc6a127d11a8cc5fe0a to your computer and use it in GitHub Desktop.
Operator Build Steps using operator-sdk
1. Replace env variables in env.sh (Container image vars)
2. Run ./hack/build.sh
3. ./hack/push.sh
4. ./hack/bundle.sh
5. ./hack/registry.sh
6. Create catalog source with the image in the previous step
operator-sdk build docker.io/abhishekf5/openshift-operator:openshift-binary --go-build-args "-tags=openshift" --image-builder docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment