Skip to content

operator‐sdk and SusQL

Scott Trent edited this page Jun 3, 2024 · 3 revisions

WARNING: OBSOLETE CONTENT

Some commands I have been using for local development with the nextgen branch:

git checkout nextgen
export USERNAME=imagerepousername
// login to image repository
podman login --username ${USERNAME}
export IMG=quay.io/$USERNAME/susql-operator:v$VERSION
export BUNDLE_IMG=quay.io/$USERNAME/susql-operator-bundle:v$VERSION

make bundle
make bundle-build bundle-push
operator-sdk bundle validate $BUNDLE_IMG
operator-sdk run bundle $BUNDLE_IMG

/// operator-sdk cleanup susql-operator-bundle:v0.0.1

operator-sdk bundle validate $BUNDLE_IMG --select-optional suite=operatorframework
operator-sdk scorecard $BUNDLE_IMG