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

chore: refactor postgresql addon and add scripts ut #984

Merged
merged 15 commits into from
Sep 3, 2024

Conversation

Y-Rookie
Copy link
Contributor

@Y-Rookie Y-Rookie commented Aug 27, 2024

  1. Refactor lifecycle actions based on the new API and kbagent.
  2. Remove all references to built-in KB_XX environment variables.
  3. Eliminate dependencies on the Downward API and other similar dependencies.
  4. Refactor scripts and add corresponding unit tests (ut).

@Y-Rookie Y-Rookie marked this pull request as ready for review August 28, 2024 09:42
- name: postgresql
- name: {{ include "postgresql-cluster.component-name" . }}
labels:
{{- include "postgresql-cluster.patroni-scope-label" . | indent 8 }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

how to specify the pg version when install the chart?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

how to specify the pg version when install the chart?

This is not within the scope of this PR. The version will be specified through serviceVersion in the future, but the management of serviceVersion requires further design.

ldming
ldming previously approved these changes Aug 29, 2024
xuriwuyun
xuriwuyun previously approved these changes Aug 29, 2024
@Y-Rookie
Copy link
Contributor Author

Y-Rookie commented Sep 3, 2024

/approve

@Y-Rookie Y-Rookie merged commit 3d322a8 into main Sep 3, 2024
13 checks passed
@Y-Rookie Y-Rookie deleted the support/refactor-pg-addon-and-add-scripts-ut branch September 3, 2024 07:49
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.

5 participants