Skip to content

feature: deploy Rokkan, the AI service, when AI_ENABLED=true - #701

Merged
lukepolo merged 1 commit into
mainfrom
feature/ai-service
Oct 30, 2026
Merged

lukepolo merged 1 commit into
mainfrom
feature/ai-service

Conversation

@lukepolo

Copy link
Copy Markdown
Contributor

Adds an opt-in overlay for 5Stack's AI service; installs without AI_ENABLED=true in .5stack-env.config are unchanged.

  • overlays/ai: Deployment, Service, and ExternalSecrets for kv/ai plus a GHCR pull secret, so Vault installs only
  • An init container creates a separate ai Postgres role and database; the service never holds the superuser password and can't read 5Stack's tables
  • The api gets only AI_SERVICE_SECRET and AI_SERVICE_URL, both optional
  • write_overlays.sh and setup-env.sh act on AI_ENABLED, with tests for both

Vault installs only: its secrets and the pull secret for its private image are ExternalSecrets from kv/ai. The api takes AI_SERVICE_SECRET and the ai-env ConfigMap, both optional, so installs without it are unchanged.
@lukepolo
lukepolo merged commit 6bd8d4b into main Oct 30, 2026
5 checks passed
@lukepolo
lukepolo deleted the feature/ai-service branch October 30, 2026 09:09
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