Reconciler logic: https://github.com/operator-framework/helm-operator-plugins/blob/main/pkg/reconciler/reconciler.go Hybrid operators lacks documentation, see:
- operator-framework/helm-operator-plugins#136
- https://docs.openshift.com/container-platform/4.10/operators/operator_sdk/helm/osdk-hybrid-helm.html
make init
make install
Containerized:
export IMG=quay.io/<foo>/<bar>:latest
make podman-build
make podman-push
make deploy
Or locally:
export WATCH_NAMESPACE=baz
make run
Or in VSCode:
- Edit namespace in
.vscode/launch.json
CTRL+SHIFT+D
, run Launch Backstage Operator
- Before first sync we need to pull
oc get ingresses.config/cluster -o jsonpath={.spec.domain}
data and set as.global.clusterRouterBase
- After first sync/install (before any upgrade call or reconcile), we need to set
.upstream.postgresql.auth.existingSecret