Skip to content

Mount the quota credential as cert files plus a static kubeconfig#169

Merged
scotwells merged 1 commit into
mainfrom
feat/compute-edge-projected-quota-volume
Jul 8, 2026
Merged

Mount the quota credential as cert files plus a static kubeconfig#169
scotwells merged 1 commit into
mainfrom
feat/compute-edge-projected-quota-volume

Conversation

@scotwells

@scotwells scotwells commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What this does

Changes the compute-manager quota-credentials volume from a single opaque secret to a projected volume that combines the Milo client certificate with a static kubeconfig ConfigMap, both supplied by the cluster environment. compute-manager loads a kubeconfig that references the mounted cert files by path instead of one with the client key embedded.

Why

  • Cert rotation becomes a plain file refresh — no secret carries an assembled kubeconfig.
  • Standard secret/config separation: the cert is a Secret, the kubeconfig is config.
  • Both sources are optional, so compute-manager still starts where quota isn't wired.

Changes

  • config/components/quota-credentials: the quota-credentials volume becomes a projected volume over Secret compute-edge-milo-client-cert + ConfigMap compute-quota-kubeconfig. Mount path and quotaKubeconfigPath are unchanged.

Related

Change the compute-manager quota-credentials volume from a single opaque
secret to a projected volume that combines the Milo client certificate
(compute-edge-milo-client-cert) with a static kubeconfig ConfigMap
(compute-quota-kubeconfig), both supplied by the cluster environment.

compute-manager now loads a kubeconfig that references the mounted cert
files by path instead of one with the client key embedded, so cert
rotation is a plain file refresh and no secret carries an assembled
kubeconfig. Both sources are optional, so the manager still starts where
quota is not wired.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@scotwells scotwells marked this pull request as ready for review July 8, 2026 14:13
@scotwells scotwells requested review from ecv, privateip and savme July 8, 2026 14:13
@scotwells scotwells enabled auto-merge July 8, 2026 14:14
@scotwells scotwells merged commit ed00ec4 into main Jul 8, 2026
9 checks passed
@scotwells scotwells deleted the feat/compute-edge-projected-quota-volume branch July 8, 2026 14:21
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