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

feat: declarative publications and subscriptions #115

Open
wants to merge 52 commits into
base: main
Choose a base branch
from

Conversation

gabriele-wolfox
Copy link

@gabriele-wolfox gabriele-wolfox commented Oct 10, 2024

This patch allows the user to configure logical replication publications
and subscription using a Kubernetes API.

Based on cloudnative-pg#5325, to be merged after that.

Closes cloudnative-pg#5567

Signed-off-by: Leonardo Cecchi [email protected]

leonardoce and others added 6 commits August 20, 2024 13:55
This patch adds a prototype of the declarative database management
feature by using a separate CRD named Database and exposing the
relative status in its section.

This new CRD is only controller by the instance manager of primary
instance.

Database deletion is triggered by a finalizer with get added
by the reconciliation loop itself. By default the retention policy is
set so "ratain", prevending the controller from deleting the database.

Closes: cloudnative-pg#4679

Signed-off-by: Leonardo Cecchi <[email protected]>
This patch allows the user to configure logical replication publications
and subscription using a Kubernetes API.

Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Gabriele Quaresima <[email protected]>
Signed-off-by: Gabriele Quaresima <[email protected]>
Signed-off-by: Gabriele Quaresima <[email protected]>
Copy link

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@gabriele-wolfox
Copy link
Author

/test d=push tl=4

Copy link

@gabriele-wolfox, here's the link to the E2E on CNPG workflow run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/11271847854

@gabriele-wolfox gabriele-wolfox changed the title feat: declarative database management feat: declarative publications and subscriptions Oct 10, 2024
Signed-off-by: Gabriele Quaresima <[email protected]>
@gabriele-wolfox
Copy link
Author

/test

Copy link

@gabriele-wolfox, here's the link to the E2E on CNPG workflow run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/11273538165

Signed-off-by: Gabriele Quaresima <[email protected]>
@gabriele-wolfox
Copy link
Author

/test limit=local ft=declarative-pub-sub

Copy link

@gabriele-wolfox, here's the link to the E2E on CNPG workflow run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/11325996119

NiccoloFei and others added 30 commits October 17, 2024 15:08
Signed-off-by: Niccolò Fei <[email protected]>
Signed-off-by: Niccolò Fei <[email protected]>
Signed-off-by: Niccolò Fei <[email protected]>
Signed-off-by: Niccolò Fei <[email protected]>
Signed-off-by: Jaime Silvela <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>

Co-authored-by: Niccolò Fei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[split from #13] add CRDs and controllers for Publication and Subscription
6 participants