postgres-operator
postgres-operator copied to clipboard
SDK upgrade
I have ported the code from the current master to a clean project created with the current kubebuilder (targeting the controller-runtime 0.15 and kubernetes 1.27).
This is basically #100, but with tests passing against
- the fake client that got really picky in the controller-runtime 0.15
- standalone (i.e. started with envtest) 1.26 and 1.27 apiserver / etcd (with envtests and re-running for flakey tests, run as
export ENVTEST_K8S_VERSION=1.26.x; . <(bin/setup-envtest use -p env $ENVTEST_K8S_VERSION); ginkgo run --flake-attempts=2 internal/controller/
- a real cluster (1.27) with a real postgres 14 and a postgres instance running in the IBM cloud
The second commit also addresse #110
Whoa! This is a massive PR in a positive way. I'll try to allocate some time this week for review and build it locally. Thanks!
FIY, I rebased the PR against the current master
I rebased the branch against the latest master.