Skip to content

[networks]: add decoder/encoder to Attachment and NetworkStatus#1216

Open
saehejkang wants to merge 3 commits intoapple:mainfrom
saehejkang:add-init-decoder-for-attachment-and-network-config
Open

[networks]: add decoder/encoder to Attachment and NetworkStatus#1216
saehejkang wants to merge 3 commits intoapple:mainfrom
saehejkang:add-init-decoder-for-attachment-and-network-config

Conversation

@saehejkang
Copy link
Contributor

@saehejkang saehejkang commented Feb 14, 2026

Type of Change

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

Motivation and Context

Adds backward-compatible JSON decoding/encoding fallback for Attachment and NetworkStatus to prevent keyNotFound errors when communicating with older container-apiserver versions.

Temporary fix but closes #1196

Testing

Tests ✅ based on comment here

@saehejkang
Copy link
Contributor Author

saehejkang commented Feb 26, 2026

@jglogan bringing this to your inbox as it a blocker for socktainer and should get merged soon

@saehejkang
Copy link
Contributor Author

@JaewonHur ready for your ✅ again

@JaewonHur
Copy link
Contributor

Looks like some conflicts with main..?

@saehejkang saehejkang force-pushed the add-init-decoder-for-attachment-and-network-config branch from 44f7cce to 1389b63 Compare March 6, 2026 02:23
@saehejkang saehejkang force-pushed the add-init-decoder-for-attachment-and-network-config branch from 1389b63 to 0c125a6 Compare March 6, 2026 02:29
@saehejkang
Copy link
Contributor Author

Looks like some conflicts with main..?

should be fixed now I think

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.

Attachment and NetworkStatus lack backward-compatible decoding (unlike NetworkConfiguration)

3 participants