Skip to content

Add variant Support - #1548

Merged
jglogan merged 1 commit into
apple:mainfrom
ajemory:runtime-config-data
May 13, 2026
Merged

Add variant Support#1548
jglogan merged 1 commit into
apple:mainfrom
ajemory:runtime-config-data

Conversation

@ajemory

@ajemory ajemory commented May 12, 2026

Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

This change adds two types to support opaque runtime data passing through the APIServer:

  • RuntimeConfiguration data
  • RuntimeLinuxData type

LinuxRuntimeData defines runtime specific information. With this change, it will support variant only. The optional RuntimeConfiguration data field encodes runtime specific data to pass through the APIServer. It is decoded as needed by the runtime.

The idea is to eventually move all runtime specific data into the data field so that the APIServer is only aware of generic container information.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@ajemory
ajemory requested a review from jglogan May 12, 2026 21:29
@github-actions

github-actions Bot commented May 12, 2026

Copy link
Copy Markdown

Code Coverage

Tier Line Coverage
Unit 34.1%
Integration 20.22%
Combined 53.74%

@ajemory
ajemory force-pushed the runtime-config-data branch from ded9fb4 to 0766a2e Compare May 12, 2026 22:46
@ajemory
ajemory force-pushed the runtime-config-data branch from bd5da1b to 63147e4 Compare May 12, 2026 23:41
@jglogan
jglogan merged commit 521df51 into apple:main May 13, 2026
3 checks passed
@ajemory
ajemory deleted the runtime-config-data branch May 13, 2026 17:26
jianliang00 pushed a commit to jianliang00/container that referenced this pull request Aug 28, 2026
- This change adds two types to support opaque runtime
  data passing through the APIServer:
  - RuntimeConfiguration `data`
  - RuntimeLinuxData type
- LinuxRuntimeData defines runtime specific information.
  With this change, it will support `variant` only. The
  optional RuntimeConfiguration `data` field encodes
  runtime specific data to pass through the APIServer.
  It is decoded as needed by the runtime.
- The idea is to eventually move all runtime specific data
  into the `data` field so that the APIServer is only aware
  of generic container information.
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