Skip to content

Extracts createPluginLoader() for use by container k8s. - #2115

Merged
egernst merged 2 commits into
apple:mainfrom
jglogan:extract-makepluginloader
Aug 13, 2026
Merged

Extracts createPluginLoader() for use by container k8s.#2115
egernst merged 2 commits into
apple:mainfrom
jglogan:extract-makepluginloader

Conversation

@jglogan

@jglogan jglogan commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added the cli label Aug 12, 2026
@jglogan
jglogan force-pushed the extract-makepluginloader branch from a33d707 to 3c3bff9 Compare August 12, 2026 23:00
@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown

Code Coverage

Tier Line Coverage
Unit 24.29%
Integration 66.85%
Combined 76.22%

@egernst
egernst merged commit 5fcbeab into apple:main Aug 13, 2026
3 checks passed
henrywang added a commit to henrywang/Berthly that referenced this pull request Sep 3, 2026
…#137)

Closes #131. Closes #132.

## #131 — k8s parity re-check

apple/container#2115 (`createPluginLoader` extracted to a shared
`Utility`
helper) and #2110 (`K8sHelper` split, `NodeProvisioner` protocol)
reorganized
the k8s code in 1.3.0. The structural blocker `PARITY.md` documents is
unchanged: `loadKindnetManifest` (now in `K8sHelper+Bootstrap.swift`)
still
resolves its CNI manifest via
`pluginLoader.findPlugin(forExecutable: CommandLine.executablePath)`,
which a
non-plugin binary can't satisfy; the post-`create` workflow is still
`kubectl`;
and `container k8s` is still marked `EXPERIMENTAL`. Rationale updated to
record
the recheck.

## #132 — mock kernel fixtures

Bumped the stale kernel strings in mock/preview fixtures to 1.3.0's live
defaults (read from a running 1.3.0 daemon):

- `vmlinux-6.18.15-186` → `vmlinux-6.18.35-197-debug`
- Kata `3.28.0` release URL → `3.32.0`
- machine kernel display `6.12.4-arm64` → `6.18.35-arm64`

Display-only; the one affected unit test (`kernelNameIsBinaryFilename`)
updates
its input and expectation together.

## Test plan

- [x] `swiftlint lint --strict` — 0 violations
- [x] `BerthlyTests` — all pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tech debt: extract createPluginLoader() for use by container k8s.

3 participants