mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Enabel custom infracontainer image
Modify api protoc for infra
This commit is contained in:
@@ -54,10 +54,11 @@ const (
|
||||
var internalLabelKeys []string = []string{containerTypeLabelKey, sandboxIDLabelKey}
|
||||
|
||||
// NOTE: Anything passed to DockerService should be eventually handled in another way when we switch to running the shim as a different process.
|
||||
func NewDockerService(client dockertools.DockerInterface, seccompProfileRoot string) DockerLegacyService {
|
||||
func NewDockerService(client dockertools.DockerInterface, seccompProfileRoot string, podSandboxImage string) DockerLegacyService {
|
||||
return &dockerService{
|
||||
seccompProfileRoot: seccompProfileRoot,
|
||||
client: dockertools.NewInstrumentedDockerInterface(client),
|
||||
podSandboxImage: podSandboxImage,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,6 +81,7 @@ type DockerLegacyService interface {
|
||||
type dockerService struct {
|
||||
seccompProfileRoot string
|
||||
client dockertools.DockerInterface
|
||||
podSandboxImage string
|
||||
}
|
||||
|
||||
// Version returns the runtime name, runtime version and runtime API version
|
||||
|
||||
Reference in New Issue
Block a user