Skip to content

Rename to compute and tidy up the install bundle#83

Merged
scotwells merged 3 commits intomainfrom
refactor/rename-to-compute
Apr 9, 2026
Merged

Rename to compute and tidy up the install bundle#83
scotwells merged 3 commits intomainfrom
refactor/rename-to-compute

Conversation

@scotwells
Copy link
Copy Markdown
Contributor

What this changes

This repo is being renamed from workload-operator to compute to match the API group it actually owns (compute.datumapis.com). At the same time, the install bundle gets a long-overdue cleanup so consumers can pull it in without juggling kustomize prefixes.

Three things in one PR

  1. Tidier install bundle — resources now have predictable names like compute, compute-webhook, and compute-config. A new single-cluster install path bundles everything you need for the common case of installing on a single cluster.
  2. Webhooks are now optional — if you don't configure an admission webhook server, the manager just runs without one instead of crashing because a serving certificate is missing.
  3. Project renamed — Go imports, the container image, and the install bundle all move from workload-operator to compute.

What does NOT change

  • The compute.datumapis.com API group is unchanged. Existing Workload, WorkloadDeployment, and Instance resources keep working with no migration.
  • Leader election doesn't restart from scratch — no orphaned leases on cutover.

For consumers

This is a coordinated breaking change. Anything that imports go.datum.net/workload-operator, pulls ghcr.io/datum-cloud/workload-operator, or references the old kustomize bundle needs to switch to the compute equivalents at the same time this lands.

Reading order for reviewers

The PR is split into three commits so it's easier to follow:

  1. Install bundle restructure
  2. Optional webhook server
  3. The actual rename (mostly mechanical search-and-replace)

scotwells and others added 2 commits April 9, 2026 11:47
- Resources now use stable, predictable names (compute, compute-webhook,
  compute-config, etc.) so consumers can reference them directly without
  kustomize name prefixes.
- Add a single-cluster install path under config/single-cluster for the
  common case of installing everything on one cluster.
- Reorganize RBAC into reusable components (controller_rbac for the
  controller's permissions, leader_election for leader election only) so
  the install bundle composes cleanly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The webhook server config is now optional. When omitted, the manager
starts without an admission webhook server, so consumers that don't
need admission webhooks no longer have to provision a serving
certificate just to keep the manager from crashing on startup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@scotwells scotwells force-pushed the refactor/rename-to-compute branch 2 times, most recently from 82c08e6 to 29aaaa2 Compare April 9, 2026 16:55
This repo owns the entire compute.datumapis.com API group, but its name,
import paths, and image names still said "workload-operator" from when it
only managed the Workload resource. Renaming to "compute" lines the
project up with what it actually owns.

What this changes:
- Go import path: go.datum.net/workload-operator -> go.datum.net/compute
- Container image: ghcr.io/datum-cloud/workload-operator -> ghcr.io/datum-cloud/compute
- Install bundle: ghcr.io/datum-cloud/workload-operator-kustomize ->
  ghcr.io/datum-cloud/compute-kustomize

What does NOT change:
- The compute.datumapis.com API group (Workload, WorkloadDeployment,
  Instance) - existing resources keep working with no migration.
- Leader election lease key, so there are no orphaned leases on cutover.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@scotwells scotwells force-pushed the refactor/rename-to-compute branch from 29aaaa2 to 60826a7 Compare April 9, 2026 17:22
@scotwells scotwells requested a review from kevwilliams April 9, 2026 17:23
@scotwells scotwells marked this pull request as ready for review April 9, 2026 17:24
@scotwells scotwells merged commit 9868b99 into main Apr 9, 2026
9 checks passed
@scotwells scotwells deleted the refactor/rename-to-compute branch April 9, 2026 19:05
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