Skip to content

Update database credentials to use 'dbuser' and 'dbpassword' across configurations#2502

Merged
brionmario merged 1 commit intoasgardeo:mainfrom
brionmario:refactor-thunder-rebrand
Apr 29, 2026
Merged

Update database credentials to use 'dbuser' and 'dbpassword' across configurations#2502
brionmario merged 1 commit intoasgardeo:mainfrom
brionmario:refactor-thunder-rebrand

Conversation

@brionmario
Copy link
Copy Markdown
Member

@brionmario brionmario commented Apr 29, 2026

Purpose

This pull request standardizes the database and Redis usernames and passwords used throughout the project. The credentials have been changed from asgthunder/asgthunder to dbuser/dbpassword in configuration files, scripts, documentation, and CI/CD workflows to ensure consistency and simplify setup across development, testing, and deployment environments.

Approach

Credential Standardization

  • Changed all Postgres and Redis usernames and passwords from asgthunder/asgthunder to dbuser/dbpassword in configuration files such as install/helm/values.yaml, install/local-development/docker-compose.yml, and install/local-development/redis/docker-compose.yml. [1] [2] [3] [4] [5] [6]

CI/CD Workflow Updates

  • Updated GitHub Actions workflows and related scripts to use the new credentials for Postgres setup and initialization (.github/workflows/postgres-tests.yml, .github/workflows/pr-builder.yml, .github/workflows/release-builder.yml, .github/actions/run-integration-tests/action.yml). [1] [2] [3] [4]

Documentation and Example Configuration

  • Updated documentation and example configuration blocks in README.md, install/helm/README.md, and install/openchoreo/helm/README.md to reflect the new default credentials. [1] [2] [3] [4] [5]

Test Setup Scripts

  • Modified integration test setup scripts (setup-test-config.ps1, setup-test-config.sh) to use the new credentials for all database types. [1] [2] [3] [4] [5] [6]

This change ensures that all environments and documentation are aligned with the new default credentials, reducing confusion and potential misconfiguration.

Related Issues

Related PRs

  • N/A

Checklist

  • Followed the contribution guidelines.
  • Manual test round performed and verified.
  • Documentation provided. (Add links if there are any)
    • Ran Vale and fixed all errors and warnings
  • Tests provided. (Add links if there are any)
    • Unit Tests
    • Integration Tests
  • Breaking changes. (Fill if applicable)
    • Breaking changes section filled.
    • breaking change label added.

Security checks

  • Followed secure coding standards in WSO2 Secure Coding Guidelines
  • Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

Warning

Rate limit exceeded

@brionmario has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 55 minutes and 23 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b938a378-ff1d-4207-b950-143e7d2fb427

📥 Commits

Reviewing files that changed from the base of the PR and between 92bc2d2 and ab0b9dd.

📒 Files selected for processing (12)
  • .github/actions/run-integration-tests/action.yml
  • .github/workflows/postgres-tests.yml
  • .github/workflows/pr-builder.yml
  • .github/workflows/release-builder.yml
  • README.md
  • install/helm/README.md
  • install/helm/values.yaml
  • install/local-development/docker-compose.yml
  • install/local-development/redis/docker-compose.yml
  • install/openchoreo/helm/README.md
  • tests/integration/resources/scripts/setup-test-config.ps1
  • tests/integration/resources/scripts/setup-test-config.sh
📝 Walkthrough

Walkthrough

Default PostgreSQL database credentials are updated from asgthunder/asgthunder to dbuser/dbpassword across GitHub Actions workflows, configuration files, documentation, and test setup scripts. No functional logic is modified.

Changes

Cohort / File(s) Summary
GitHub Actions Workflows
.github/actions/run-integration-tests/action.yml, .github/workflows/postgres-tests.yml, .github/workflows/pr-builder.yml, .github/workflows/release-builder.yml
Updated PostgreSQL service credentials in test workflows and integration test action from asgthunder to dbuser and corresponding password from asgthunder to dbpassword.
Documentation
README.md, install/helm/README.md, install/openchoreo/helm/README.md
Updated example PostgreSQL credentials in documentation snippets and configuration tables from asgthunder to dbuser and password values accordingly.
Configuration Files
install/helm/values.yaml, install/local-development/docker-compose.yml, install/local-development/redis/docker-compose.yml
Updated hardcoded PostgreSQL and Redis credentials in Helm values and Docker Compose services from asgthunder to dbuser with corresponding password changes.
Test Setup Scripts
tests/integration/resources/scripts/setup-test-config.ps1, tests/integration/resources/scripts/setup-test-config.sh
Updated credential generation in test setup scripts to emit dbuser/dbpassword instead of asgthunder for database configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Suggested labels

skip-changelog

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: updating database credentials from 'asgthunder' to 'dbuser' and 'dbpassword' across multiple configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The PR description adequately covers the purpose, approach, and scope of the credential standardization changes across multiple configuration files and CI/CD workflows with relevant issue reference.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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
Review rate limit: 0/1 reviews remaining, refill in 55 minutes and 23 seconds.

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

@brionmario brionmario added the skip-changelog Skip generating changelog for a particular PR label Apr 29, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@install/openchoreo/helm/README.md`:
- Around line 372-373: The README contains a username mismatch: the SQL examples
create/grant for "dbuser" while the environment export still sets
DB_USER="thunder"; update the environment export(s) to use DB_USER="dbuser" (or
alternatively change the SQL to use "thunder") so the exported DB_USER variable
and the SQL commands (CREATE DATABASE ... OWNER and GRANT ... TO) match; ensure
you update both occurrences mentioned so the install steps use the same username
consistently.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2345cf21-1b1a-4ac6-afc0-dfeb7550357b

📥 Commits

Reviewing files that changed from the base of the PR and between 9394817 and 92bc2d2.

📒 Files selected for processing (12)
  • .github/actions/run-integration-tests/action.yml
  • .github/workflows/postgres-tests.yml
  • .github/workflows/pr-builder.yml
  • .github/workflows/release-builder.yml
  • README.md
  • install/helm/README.md
  • install/helm/values.yaml
  • install/local-development/docker-compose.yml
  • install/local-development/redis/docker-compose.yml
  • install/openchoreo/helm/README.md
  • tests/integration/resources/scripts/setup-test-config.ps1
  • tests/integration/resources/scripts/setup-test-config.sh

Comment thread install/openchoreo/helm/README.md
@brionmario brionmario force-pushed the refactor-thunder-rebrand branch from 92bc2d2 to ab0b9dd Compare April 29, 2026 13:25
@brionmario brionmario enabled auto-merge April 29, 2026 13:25
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.35%. Comparing base (9394817) to head (ab0b9dd).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2502      +/-   ##
==========================================
- Coverage   87.36%   87.35%   -0.02%     
==========================================
  Files         890      890              
  Lines       62738    62738              
==========================================
- Hits        54810    54803       -7     
- Misses       5941     5947       +6     
- Partials     1987     1988       +1     
Flag Coverage Δ
backend-integration-postgres 51.66% <ø> (ø)
backend-integration-redis 51.24% <ø> (ø)
backend-integration-sqlite 52.13% <ø> (ø)
backend-unit 80.41% <ø> (-0.02%) ⬇️
frontend-apps-console-unit 89.33% <ø> (-0.01%) ⬇️
frontend-apps-gate-unit 97.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@brionmario brionmario added this pull request to the merge queue Apr 29, 2026
Merged via the queue into asgardeo:main with commit 54549c4 Apr 29, 2026
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Skip generating changelog for a particular PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants