Skip to content

docs(rfc): add RFC 0031 for OpenShell deployment operator - #6185

Open
VaishnaviHire wants to merge 1 commit into
ai-openshell:mainfrom
VaishnaviHire:rfc/0031-deployment-operator
Open

VaishnaviHire wants to merge 1 commit into
ai-openshell:mainfrom
VaishnaviHire:rfc/0031-deployment-operator

Conversation

@VaishnaviHire

Copy link
Copy Markdown

Summary

Add RFC 0031, which proposes an OpenShell Deployment Operator with a namespaced OpenShellGateway resource for installing and upgrading a gateway on Kubernetes. The operator handles decisions Helm with GitOps can't nmake from live state of the resources.

Related Issue

Closes #5847

The issue covers both the RFC and the implementation. If this RFC merges first, reopen the issue for the implementation.

Changes

  • Propose the OpenShellGateway API in openshell.ai/v1alpha1: SQLite or external PostgreSQL, platform-issued TLS, generated or supplied signing and encryption keys, dedicated or shared supervisors, and an Automatic or Hold upgrade strategy.
  • Support OIDC, user mTLS, and an opt-in unauthenticated development mode matching the Helm chart, and document the access each one grants.
  • Limit v1alpha1 to one gateway per namespace in shared mode, because gateways sharing a namespace currently relabel each other's sandboxes.
  • Define reconciliation, status conditions (Ready as the summary), migration-aware upgrades, and a retain-only deletion contract that keeps data and its KEK together.

Release Notes

Testing

  • Checks appropriate to the affected code and behavior pass (markdownlint-cli2 0.22.0 with the repository configuration; claims about gateway, chart and driver behavior checked against source at 6686f2ce2)
  • Unit tests added/updated (if applicable)
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Propose a namespaced OpenShellGateway API and a native Go controller,
maintained outside OpenShell core, that installs a gateway, reports its
health, and coordinates key-safe, migration-aware upgrades.

Refs ai-openshell#5847

Signed-off-by: Vaishnavi Hire <vhire@redhat.com>

This branch has not been deployed

No deployments
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.

feat: OpenShell Deployment Operator for gateway installation and upgrades (RFC 0031)

1 participant