Skip to content

🔧 fix(samples): request ephemeral-storage on throwaway Postgres - #293

Merged
konih merged 2 commits into
mainfrom
fix/sonar-s6897-postgres
Aug 12, 2026
Merged

konih merged 2 commits into
mainfrom
fix/sonar-s6897-postgres

Conversation

@konih

@konih konih commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • SonarCloud kubernetes:S6897 on config/samples/dev/postgres.yaml: the throwaway sample Postgres already sets an ephemeral-storage limit (S6870) but had no matching request, so the scheduler did not account for emptyDir disk.
  • Meta-test hack/test/sonar_ko_12_postgres_storage_request_test.sh (globbed by existing CI) locks the request in.

Test plan

  • hack/test/sonar_ko_12_postgres_storage_request_test.sh red, then green
  • CI sonar_ko_* glob step green

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

konih added 2 commits August 13, 2026 01:03
SonarCloud kubernetes:S6897 requires a storage request so the scheduler
accounts for emptyDir disk, matching the existing S6870 limit.
@konih
konih force-pushed the fix/sonar-s6897-postgres branch from 0449a0d to 07b386f Compare August 12, 2026 23:03
@konih
konih merged commit 784fa34 into main Aug 12, 2026
2 checks passed
@konih
konih deleted the fix/sonar-s6897-postgres branch August 12, 2026 23:03
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant