mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-10 21:47:13 +08:00
support for device entitlement in build and bake
Allow access to CDI Devices in Buildkit v0.20.0+ for devices that are not automatically allowed to be used by everyone in BuildKit configuration. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
5
vendor/github.com/moby/buildkit/cmd/buildkitd/config/config.go
generated
vendored
5
vendor/github.com/moby/buildkit/cmd/buildkitd/config/config.go
generated
vendored
@ -77,8 +77,9 @@ type OTELConfig struct {
|
||||
}
|
||||
|
||||
type CDIConfig struct {
|
||||
Disabled *bool `toml:"disabled"`
|
||||
SpecDirs []string `toml:"specDirs"`
|
||||
Disabled *bool `toml:"disabled"`
|
||||
SpecDirs []string `toml:"specDirs"`
|
||||
AutoAllowed []string `toml:"autoAllowed"`
|
||||
}
|
||||
|
||||
type GCConfig struct {
|
||||
|
Reference in New Issue
Block a user