Commit Graph

11 Commits

Author SHA1 Message Date
claude
e33abed59b Add QA and feature-branch environments
env create/delete/gc/list manage a namespace per environment, labelled
zero-scale.io/env, with a ResourceQuota, its own gateway and an optional
wildcard route. A zero-scale-env ConfigMap records the env and may override
the platform's database clusters. Hosts use ${ENV_SUFFIX}; databases in a
non-primary env are named db_<env>_<app>_<hash> and carry an owner comment,
so env delete drops only what the env owns. oauth-setup --auth-host serves
every app's login from one callback host. deploy/ manifests no longer
hardcode a namespace; deploy/kustomization.yaml sets it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uKdmp7tLySXvQXALz2x9V
2026-10-27 06:44:55 -04:00
Stephen Schuresko
cf98e1c0b0 feat: Add local installation and uninstallation targets for zero-scale-ctl in Makefile 2026-10-12 10:30:42 -04:00
Stephen Schuresko
4cc8733d1b feat: Add Zero-Scale Platform Management CLI with database provisioning and Kubernetes integration
- Implemented `database.go` for MySQL and PostgreSQL provisioning, including password generation and secret management.
- Created `k8s.go` for Kubernetes command execution, resource checks, and secret/configmap management.
- Developed `main.go` to handle CLI commands for applying configurations, checking status, logging, and managing applications.
- Added `storage.go` for binary deployment to the gateway pod and symlink configuration for application entrypoints.
- Enhanced CLI with commands for application management, including listing, deleting, and uploading binaries.
2026-10-11 23:31:54 -04:00
Stephen Schuresko
7659c711ac feat: enhance zero-scale dashboard with resource display and update functionality
- Added RAM and CPU resource display in the zero-scale dashboard for active applications.
- Implemented dynamic updates for resource display based on application state.

feat: expand zero-scale control script with new commands and options

- Introduced `apply`, `upload-binary`, and `provision-db` commands to the zero-scale control script.
- Added options for specifying configuration files, binary uploads, and database provisioning parameters.

feat: implement temporal JWKS aggregator service

- Created a new service to aggregate JWKS from Gitea and Kubernetes API.
- Implemented caching and refresh logic for JWKS keys.

feat: deploy shared MySQL and Redis services

- Added Kubernetes manifests for shared MySQL and Redis services, including StatefulSet and ConfigMap definitions.
- Configured persistent storage and resource limits for MySQL and Redis deployments.

feat: add temporal OAuth secret example and values configuration

- Created example secret manifest for OAuth credentials required by Temporal.
- Added a values file for configuring Temporal server with JWKS integration and resource limits.

feat: implement Kubernetes token provider for Temporal client

- Developed a K8sTokenHeadersProvider to supply Kubernetes service account tokens to Temporal.
- Added tests for token retrieval and environment variable fallback.
2026-10-11 17:43:21 -04:00
Stephen Schuresko
8e177b0092 Modularize zero-scale dashboard into go and static subfolders with pure-Go asset minifier 2026-09-25 09:07:21 -04:00
Stephen Schuresko
1f2a87e159 feat(gateway): configure fast 10s idle timeout with 2s check period and add deploy-gateway target 2026-09-24 10:48:02 -04:00
Stephen Schuresko
3c1ef8bc7d Auto-port-forward registry on push and enhance dashboard noscript fallback 2026-09-24 09:31:26 -04:00
Stephen Schuresko
6202ed7628 Add automated build-and-deploy Makefile target and update dashboard metadata 2026-09-24 08:17:53 -04:00
Stephen Schuresko
3c15747fe5 Rename dashboard to Zero-Scale Platform Dashboard in cmd/zero-scale-dashboard 2026-09-24 07:45:48 -04:00
Stephen Schuresko
1321e65be1 Add kubernetes-status dashboard in cmd/status-dashboard with nodes, cores, RAM, uptime, and cluster site directory 2026-09-24 05:15:14 -04:00
Stephen Schuresko
e5e0dc2b7c Organize zero-scale-platform project with standard layout, go.mod, Makefile, deployment manifests, CLI, and docs 2026-09-13 21:23:51 -04:00