Commit 0b319d9
[mirror] use coordination.apoxy.dev for mirror lease heartbeat
Move the mirror lease from the built-in coordination.k8s.io API
(which stays local to the edge cluster) to coordination.apoxy.dev
so it routes through the apiservice proxy to the cloud apiserver.
This allows the cloud-side GC controller to detect expired leases
and clean up orphaned mirrored objects.
- Change api/coordination/v1 group from coordination.k8s.io to
coordination.apoxy.dev
- Add +genclient marker and include in codegen/update.sh
- Register coordination.apoxy.dev/v1 as an aggregated APIService
- Add Lease to defaultResources() and scheme init()
- Switch mirror controller from k8s coordination client to the
generated versioned client (apoxyClient.CoordinationV1())
- Regenerate client, lister, and informer code
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d7fb8d5 commit 0b319d9
File tree
29 files changed
+785
-105
lines changed- api/coordination/v1
- client
- informers
- coordination
- v1
- listers/coordination/v1
- versioned
- fake
- scheme
- typed/coordination/v1
- fake
- codegen
- pkg
- apiserver
- cmd/run
- kube-controller
- apiregistration
- controllers
29 files changed
+785
-105
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
5 | 6 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments