Skip to content

feat: add infrastructure for CNPG-I plugins - #3742

Merged
leonardoce merged 5 commits into
mainfrom
dev/plugin-support
Mar 11, 2024
Merged

leonardoce merged 5 commits into
mainfrom
dev/plugin-support

Conversation

@leonardoce

@leonardoce leonardoce commented Jan 29, 2024 •

Copy link
Copy Markdown
Contributor

Closes: #3699

@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions github-actions Bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.20 labels Jan 29, 2024
@github-actions

Copy link
Copy Markdown
Contributor

❗ 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

@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@sxd sxd removed the release-1.20 label Feb 6, 2024
@github-actions

github-actions Bot commented Feb 6, 2024

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@armru
armru force-pushed the dev/plugin-support branch from 4a61a0f to 3a2294a Compare February 6, 2024 15:16
@armru

armru commented Feb 6, 2024

Copy link
Copy Markdown
Member

/test limit=local

@github-actions

github-actions Bot commented Feb 6, 2024

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions

github-actions Bot commented Feb 6, 2024

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Feb 7, 2024

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions

github-actions Bot commented Feb 7, 2024

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions

github-actions Bot commented Feb 7, 2024

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions

github-actions Bot commented Feb 7, 2024

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

2 similar comments
@github-actions

github-actions Bot commented Feb 8, 2024

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions

github-actions Bot commented Feb 8, 2024

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@leonardoce
leonardoce force-pushed the dev/plugin-support branch 2 times, most recently from d92d105 to d265c96 Compare March 11, 2024 14:20
@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@leonardoce
leonardoce force-pushed the dev/plugin-support branch 3 times, most recently from 3ffdbe7 to 773bf7a Compare March 11, 2024 14:25
@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

2 similar comments
@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

leonardoce and others added 5 commits March 11, 2024 15:52
Introduce foundational changes to support dynamic plugins in
adherence to the CloudNativePG Interface (CNPG-I).
This commit establishes the necessary infrastructure for
seamless plugin management.

Partially closes: #3699

Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>
…3761)

Allow plugins to enhance Kubernetes resources during creation or
update by the operator. This capability proves beneficial for
injecting sidecars and volumes into PostgreSQL Pods, offering
a versatile means to customize the overall behavior of the operator.

Partially closes: #3699

Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Leonardo Cecchi <[email protected]>
Co-authored-by: Marco Nenciarini <[email protected]>
Co-authored-by: Leonardo Cecchi <[email protected]>
Give instance manager plugins the power to tweak WAL archive and WAL
restore operations.

Please note that the associated entrypoints will be invoked even
if no `.spec.backup.barmanObjectStore` is configured.

Partially closes: #3699

Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Leonardo Cecchi <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>
Co-authored-by: Marco Nenciarini <[email protected]>
This update empowers instance manager plugins to control the
backup process.

Partially closes: #3699

Signed-off-by: Leonardo Cecchi <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Signed-off-by: Marco Nenciarini <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>
Co-authored-by: Marco Nenciarini <[email protected]>
…3818)

This update grants plugins the ability to execute custom code both before
and after the reconciliation loop for clusters and backups. It paves
the way for plugins to seamlessly replace the default behavior with
their own.

Partially closes: #3699

Signed-off-by: Leonardo Cecchi <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

2 similar comments
@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@leonardoce

Copy link
Copy Markdown
Contributor Author

E2e tests are all green! We're ready to merge

@gbartolini gbartolini added the ok to merge 👌 This PR can be merged label Mar 11, 2024
@leonardoce
leonardoce merged commit 26fcc8a into main Mar 11, 2024
@leonardoce
leonardoce deleted the dev/plugin-support branch March 11, 2024 15:51
@github-actions

Copy link
Copy Markdown
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not backport This PR must not be backported - it will be in the next minor release ok to merge 👌 This PR can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CloudNativePG Interface (CNPG-I) prototype

5 participants