Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK upgrade #111

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

SDK upgrade #111

wants to merge 11 commits into from

Conversation

tstenner
Copy link

@tstenner tstenner commented Jul 5, 2023

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 tstenner force-pushed the sdkupdate branch 2 times, most recently from 6b66841 to c923de5 Compare July 5, 2023 12:57
@hitman99
Copy link
Member

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!

@tstenner
Copy link
Author

FIY, I rebased the PR against the current master

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was the entire deploy directory removed? CRDs and role are moved to other location - that's fine, but there was so much more manifests in this directory.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're deploying the helm chart internally, but I added the default configuration from the SDK skeleton with some defaults I would expect from the readme / previous defaults.

@tstenner tstenner force-pushed the sdkupdate branch 2 times, most recently from e843503 to a44b73e Compare November 21, 2023 13:01
Add configurable prefix for DB names
@tstenner tstenner force-pushed the sdkupdate branch 2 times, most recently from 45f9337 to 95d57d4 Compare November 21, 2023 14:17
@tstenner
Copy link
Author

I rebased the branch against the latest master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants