Skip to content

fix(helm): suspend postgres MCP server by default - #420

Merged
AlexsJones merged 1 commit into
sympozium-ai:mainfrom
Ultroncn:fix/postgres-mcp-suspended-default
Sep 9, 2026
Merged

AlexsJones merged 1 commit into
sympozium-ai:mainfrom
Ultroncn:fix/postgres-mcp-suspended-default

Conversation

@Ultroncn

@Ultroncn Ultroncn commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • suspend the default PostgreSQL MCPServer until its operator-provided DATABASE_URI is configured
  • add a regression test that loads and renders the embedded Helm chart and verifies the PostgreSQL MCPServer is suspended

After configuring the mcp-postgres-token secret, operators can explicitly set spec.suspended to false to start the server.

Testing

  • make fmt
  • make vet
  • make test
  • go build ./...
  • helm lint charts/sympozium/
  • rendered templates/default-mcp-servers.yaml and verified postgres.spec.suspended: true

AI assistance

This contribution was developed with AI assistance. The final diff was independently reviewed and all listed checks were run locally.

Fixes #397

@AlexsJones AlexsJones left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for making the default chart safe before credentials exist. The PostgreSQL MCPServer now starts suspended, and the chart-level test renders the embedded chart, locates the exact object, and fails unless spec.suspended is true. This directly covers the crashloop path without changing configured opt-in behavior. Ready for your final look.

@AlexsJones
AlexsJones merged commit 6ec7da6 into sympozium-ai:main Sep 9, 2026
@Ultroncn
Ultroncn deleted the fix/postgres-mcp-suspended-default branch October 28, 2026 16:47
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.

Postgres MCP server ships without DATABASE_URI and crashloops on every fresh install

2 participants