Skip to content

Bug/user/hpn/postgrest template fail to deploy fixed#70

Merged
VH3956 merged 12 commits into
features/sprint4-backend-templates-db-injectionfrom
bug/user/hpn/postgrest-template-fail-to-deploy-fixed
Apr 19, 2026
Merged

Bug/user/hpn/postgrest template fail to deploy fixed#70
VH3956 merged 12 commits into
features/sprint4-backend-templates-db-injectionfrom
bug/user/hpn/postgrest-template-fail-to-deploy-fixed

Conversation

@nghiaz160904
Copy link
Copy Markdown
Collaborator

Fixed ImagePullBackOff for API Pod:

  • Removed the incorrect values.image substitution (${app-name}:latest). The previous configuration relied on a non-existent build pipeline (since the db-migrate trigger does not build container images), which was causing the pod to fail on startup.

New Features

  • Automated Database Migration Tracking:

    • Implemented file tracking for the db/migration/ directory. If a user pushes new migration files to this path, it will automatically trigger the operator to execute the database migration process.

- Added `triggerType: db-migrate` to HeliosApp configuration for better migration handling.
- Introduced a new Kubernetes namespace manifest for better resource management.
- Updated PostgREST configuration to ensure log levels are consistently quoted.
- Modified webhook creation to specify a dedicated listener for DB migration triggers.
- Reorganized Tekton pipeline definitions to include a dedicated DB migration pipeline.
- Updated Git clone task to transform localhost URLs for in-cluster access.
- Enhanced database migration task to use Kubernetes secrets for database credentials.
- Improved PostgREST reload task to utilize dynamic secret names for better flexibility.
- Refined event listener to trigger DB migration pipelines based on specific directory changes.
- Added new trigger template for DB migration to streamline pipeline execution on relevant events.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 18, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 51d004c5-4f73-40ef-9c2b-e013adb2ed44

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bug/user/hpn/postgrest-template-fail-to-deploy-fixed

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@VH3956 VH3956 merged commit b70dd0f into features/sprint4-backend-templates-db-injection Apr 19, 2026
1 check passed
@VH3956 VH3956 deleted the bug/user/hpn/postgrest-template-fail-to-deploy-fixed branch April 19, 2026 10:59
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.

[Bug] PostgREST Scaffolding Template Fails to Deploy and Connect to DB

2 participants