Skip to content

[Bug]: container k8s resource load doesn't work from installation package. #2096

Description

@jglogan

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

% container k8s create
Waiting for node to boot: ["node": k8s-dev]
Preparing node: ["id": k8s-dev]t [4s]
Running kubeadm init: ["node": k8s-dev]
Removing control-plane taint for single-node scheduling: ["node": k8s-dev]
Applying kindnet CNI: ["node": k8s-dev]
k8s/resource_bundle_accessor.swift:12: Fatal error: could not load resource bundle: from /usr/local/libexec/container/plugins/k8s/bin/container_k8s.bundle or /Users/runner/actions-runner/_work/container/container/.build/arm64-apple-macosx/release/container_k8s.bundle
zsh: trace trap  container k8s create

Problem description

Regrettably this bug landed in the 1.2.1 release as integration tests didn't catch it.

The K8s plugin used a macOS resource bundle for the kindnet.yaml resource, but that doesn't work in the unix-layout pkg file produced for the release.

We'll fix this and put out a patch release ASAP!

Environment

- OS: 26
- Xcode: 26
- Container: main

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions