postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

SDK upgrade

Open tstenner opened this issue 1 year ago • 3 comments

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

tstenner avatar Jul 05 '23 12:07 tstenner

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!

hitman99 avatar Jul 17 '23 19:07 hitman99

FIY, I rebased the PR against the current master

tstenner avatar Jul 28 '23 14:07 tstenner

I rebased the branch against the latest master.

tstenner avatar Nov 22 '23 10:11 tstenner