Skip to content

Replace go-bindata with embed #12683

@brandond

Description

@brandond

the embed package has been available since go 1.16, while go-bindata has been essentially unmaintained since 2020. embed happens automagically at build time and has full normal filesystem semantics, while go-bindata requires special functions to interact with the embedded assets, and requires a codegen step.

We should drop go-bindata in favor of embed so that we can do away with all codegen entirely. The other bit of codegen was dropped when we moved the CRDs out to k3s-io/api.

Metadata

Metadata

Type

Projects

Status

Done Issue

Relationships

None yet

Development

No branches or pull requests

Issue actions