Skip to content

feat: add privileged container mode for apps#75

Merged
biersoeckli merged 2 commits intobiersoeckli:mainfrom
P4PER:feat/privileged-container-mode
Mar 17, 2026
Merged

feat: add privileged container mode for apps#75
biersoeckli merged 2 commits intobiersoeckli:mainfrom
P4PER:feat/privileged-container-mode

Conversation

@P4PER
Copy link
Copy Markdown
Contributor

@P4PER P4PER commented Mar 14, 2026

Summary

  • Adds a "Privileged Mode" checkbox in the Container Configuration section under Security Context
  • When enabled, sets securityContext.privileged: true on the Kubernetes container spec
  • Required for Docker-in-Docker workloads such as CI/CD runners (Gitea Actions, GitLab Runner, etc.)

Changes

  • prisma/schema.prisma: Add securityContextPrivileged field to App model
  • migration.sql: ALTER TABLE ADD COLUMN migration
  • app-container-config.model.ts: Add field to Zod validation schema
  • app-container-config.tsx: Add checkbox UI with description
  • actions.ts: Persist field on save
  • deployment.service.ts: Set securityContext.privileged on container spec

Test plan

  • yarn test — no regressions (existing failures are unrelated)
  • TypeScript type check passes
  • Deploy app with privileged mode enabled, verify pod has securityContext.privileged: true
  • Deploy app without privileged mode, verify no securityContext is set

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 14, 2026

@P4PER is attempting to deploy a commit to the biersoeckli Team on Vercel.

A member of the Team first needs to authorize it.

@P4PER P4PER force-pushed the feat/privileged-container-mode branch from 6507586 to 8e6a2bd Compare March 14, 2026 23:46
… "securityContextPrivileged" property in AppModel
@biersoeckli biersoeckli merged commit dac7827 into biersoeckli:main Mar 17, 2026
1 of 2 checks passed
@biersoeckli
Copy link
Copy Markdown
Owner

Hey @P4PER

Thanks for submitting a pr for your issue #75.

I added a small change wich cleans up the UI of the whole "Container Configuration"-Card. After merging a new canary version of QuickStack will be created. if you want to use the new feature before the next QuickStack release, change the release channel of your QuickStack instance to "canary". Be aware that this channel is experimental and not recommended for production clusters.
image

Thanks again for contributing :)

@P4PER P4PER deleted the feat/privileged-container-mode branch March 19, 2026 10:26
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.

2 participants