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
export IMG=quay.io/<foo>/<bar>:latest
make podman-build
make podman-push
make deploy
VERSION=0.0.1-dev1 IMG=quay.io/<username>/janus-operator:$VERSION IMAGE_TAG_BASE=quay.io/<username>/janus-operator make build-push-all
./bin/kustomize build config/operator-hub/ | oc apply -f -
export WATCH_NAMESPACE=baz
make run
- Edit namespace in
.vscode/launch.json
CTRL+SHIFT+D
, run Launch Backstage Operator
- After first sync/install (before any upgrade call or reconcile), we need to set
.upstream.postgresql.auth.existingSecret
global.clusterRouterBase
is automaticaly populated with the cluster's ingress domain.