mirror of
https://github.com/open-webui/terminals.git
synced 2026-11-05 01:37:21 +00:00
[PR #2] [MERGED] Make Kubernetes operator backend production-ready #36
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/terminals#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/terminals/pull/2
Author: @james-westbrook
Created: 3/8/2026
Status: ✅ Merged
Merged: 3/8/2026
Merged by: @tjbck
Base:
main← Head:k8s-improvements📝 Commits (1)
f4c0563fix: make k8s operator more production ready📊 Changes
11 files changed (+1110 additions, -529 deletions)
View changed files
📝
manifests/terminal-crd.yaml(+82 -22)📝
operator/Dockerfile(+3 -1)📝
operator/handler.py(+470 -249)📝
pyproject.toml(+0 -5)📝
terminals/backends/base.py(+35 -0)📝
terminals/backends/kubernetes_operator.py(+346 -85)📝
terminals/config.py(+9 -1)📝
terminals/db/session.py(+15 -11)📝
terminals/main.py(+7 -23)➕
terminals/routers/auth.py(+97 -0)📝
terminals/routers/proxy.py(+46 -132)📄 Description
Problem
The Kubernetes operator backend had several issues preventing reliable end-to-end operation with Open WebUI:
Changes
Orchestrator (terminals)
Extracted auth module (routers/auth.py): verify_api_key, verify_user_id, and validate_token are now in a shared module used by the proxy router.
Operator (operator/handler.py)
Kubernetes operator backend (backends/kubernetes_operator.py)
Testing
Tested end-to-end in a Kind cluster with the stock Open WebUI v0.8.8 image:
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.