Skip to content

Conversation

@emmanuelmathot
Copy link
Contributor

@emmanuelmathot emmanuelmathot commented Apr 9, 2025

Implement Helm hooks to manage the execution order of the pgstacbootstrap job and its ConfigMaps, eliminating the need for initContainers in the deployment. This change ensures proper initialization of the PostgreSQL database during installation and upgrades.

related issues: #203, #206

@emmanuelmathot emmanuelmathot requested review from Copilot, ividito and pantierra and removed request for ividito and pantierra April 9, 2025 06:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (2)

helm-chart/eoapi/templates/pgstacboostrap/job.yaml:16

  • [nitpick] There is an inconsistency between the folder name 'pgstacboostrap' and the job name 'pgstacbootstrap'. Consider renaming the folder to 'pgstacbootstrap' for consistency.
name: pgstacbootstrap

.github/workflows/helm-tests.yml:181

  • [nitpick] The log extraction command uses 'svc/vector', which deviates from the naming pattern seen elsewhere (e.g., using the release name). Verify whether this is intentional or if it should align with the other service naming conventions.
pytest .github/workflows/tests/test_vector.py || kubectl logs svc/vector

@emmanuelmathot emmanuelmathot marked this pull request as ready for review April 9, 2025 06:23
@emmanuelmathot emmanuelmathot requested a review from sunu April 9, 2025 06:42
Copy link
Member

@sunu sunu left a comment

Choose a reason for hiding this comment

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

LGTM! thanks @emmanuelmathot!

Copy link
Contributor

@pantierra pantierra left a comment

Choose a reason for hiding this comment

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

Very nice!

@emmanuelmathot emmanuelmathot merged commit 0cbb6d7 into main Apr 9, 2025
2 checks passed
@emmanuelmathot emmanuelmathot deleted the hooks branch April 9, 2025 15:14
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.

4 participants