Skip to content

fix: let migrate run in production without SSO settings - #12

Merged
vantanminh merged 1 commit into
mainfrom
fix/migrate-without-sso
Oct 3, 2026
Merged

vantanminh merged 1 commit into
mainfrom
fix/migrate-without-sso

Conversation

@vantanminh

Copy link
Copy Markdown
Owner

Cloud API pods were stuck after #10: the migrate init container runs with APP_ENV=production but without the SSO variables, so the new production SSO check in Config::from_env made it exit. The check now runs in main after the migrate branch.

Verified locally: knotree-api migrate with APP_ENV=production succeeds; serving without SSO still fails with SSO_ENABLED=true is required in production.

🤖 Generated with Claude Code

The pod's migrate init container has APP_ENV=production but not the SSO
variables, so the production SSO requirement in Config::from_env stopped
it and the API pod never started. Check it after the migrate branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vantanminh
vantanminh merged commit 47d6980 into main Oct 3, 2026
6 checks passed
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