mirror of https://github.com/kubernetes/kops.git
Merge pull request #5357 from gambol99/docker_userns_remap
Docker Userspace Remapping Options
This commit is contained in:
commit
3489ea317e
|
@ -50,6 +50,8 @@ type DockerConfig struct {
|
||||||
Storage *string `json:"storage,omitempty" flag:"storage-driver"`
|
Storage *string `json:"storage,omitempty" flag:"storage-driver"`
|
||||||
// StorageOpts is a series of options passed to the storage driver
|
// StorageOpts is a series of options passed to the storage driver
|
||||||
StorageOpts []string `json:"storageOpts,omitempty" flag:"storage-opt,repeat"`
|
StorageOpts []string `json:"storageOpts,omitempty" flag:"storage-opt,repeat"`
|
||||||
|
// UserNamespaceRemap sets the user namespace remapping option for the docker daemon
|
||||||
|
UserNamespaceRemap string `json:"userNamespaceRemap,omitempty" flag:"userns-remap"`
|
||||||
// Version is consumed by the nodeup and used to pick the docker version
|
// Version is consumed by the nodeup and used to pick the docker version
|
||||||
Version *string `json:"version,omitempty"`
|
Version *string `json:"version,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,8 @@ type DockerConfig struct {
|
||||||
Storage *string `json:"storage,omitempty" flag:"storage-driver"`
|
Storage *string `json:"storage,omitempty" flag:"storage-driver"`
|
||||||
// StorageOpts is a series of options passed to the storage driver
|
// StorageOpts is a series of options passed to the storage driver
|
||||||
StorageOpts []string `json:"storageOpts,omitempty" flag:"storage-opt,repeat"`
|
StorageOpts []string `json:"storageOpts,omitempty" flag:"storage-opt,repeat"`
|
||||||
|
// UserNamespaceRemap sets the user namespace remapping option for the docker daemon
|
||||||
|
UserNamespaceRemap string `json:"userNamespaceRemap,omitempty" flag:"userns-remap"`
|
||||||
// Version is consumed by the nodeup and used to pick the docker version
|
// Version is consumed by the nodeup and used to pick the docker version
|
||||||
Version *string `json:"version,omitempty"`
|
Version *string `json:"version,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -1350,6 +1350,7 @@ func autoConvert_v1alpha1_DockerConfig_To_kops_DockerConfig(in *DockerConfig, ou
|
||||||
out.RegistryMirrors = in.RegistryMirrors
|
out.RegistryMirrors = in.RegistryMirrors
|
||||||
out.Storage = in.Storage
|
out.Storage = in.Storage
|
||||||
out.StorageOpts = in.StorageOpts
|
out.StorageOpts = in.StorageOpts
|
||||||
|
out.UserNamespaceRemap = in.UserNamespaceRemap
|
||||||
out.Version = in.Version
|
out.Version = in.Version
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -1378,6 +1379,7 @@ func autoConvert_kops_DockerConfig_To_v1alpha1_DockerConfig(in *kops.DockerConfi
|
||||||
out.RegistryMirrors = in.RegistryMirrors
|
out.RegistryMirrors = in.RegistryMirrors
|
||||||
out.Storage = in.Storage
|
out.Storage = in.Storage
|
||||||
out.StorageOpts = in.StorageOpts
|
out.StorageOpts = in.StorageOpts
|
||||||
|
out.UserNamespaceRemap = in.UserNamespaceRemap
|
||||||
out.Version = in.Version
|
out.Version = in.Version
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,8 @@ type DockerConfig struct {
|
||||||
Storage *string `json:"storage,omitempty" flag:"storage-driver"`
|
Storage *string `json:"storage,omitempty" flag:"storage-driver"`
|
||||||
// StorageOpts is a series of options passed to the storage driver
|
// StorageOpts is a series of options passed to the storage driver
|
||||||
StorageOpts []string `json:"storageOpts,omitempty" flag:"storage-opt,repeat"`
|
StorageOpts []string `json:"storageOpts,omitempty" flag:"storage-opt,repeat"`
|
||||||
|
// UserNamespaceRemap sets the user namespace remapping option for the docker daemon
|
||||||
|
UserNamespaceRemap string `json:"userNamespaceRemap,omitempty" flag:"userns-remap"`
|
||||||
// Version is consumed by the nodeup and used to pick the docker version
|
// Version is consumed by the nodeup and used to pick the docker version
|
||||||
Version *string `json:"version,omitempty"`
|
Version *string `json:"version,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -1451,6 +1451,7 @@ func autoConvert_v1alpha2_DockerConfig_To_kops_DockerConfig(in *DockerConfig, ou
|
||||||
out.RegistryMirrors = in.RegistryMirrors
|
out.RegistryMirrors = in.RegistryMirrors
|
||||||
out.Storage = in.Storage
|
out.Storage = in.Storage
|
||||||
out.StorageOpts = in.StorageOpts
|
out.StorageOpts = in.StorageOpts
|
||||||
|
out.UserNamespaceRemap = in.UserNamespaceRemap
|
||||||
out.Version = in.Version
|
out.Version = in.Version
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -1479,6 +1480,7 @@ func autoConvert_kops_DockerConfig_To_v1alpha2_DockerConfig(in *kops.DockerConfi
|
||||||
out.RegistryMirrors = in.RegistryMirrors
|
out.RegistryMirrors = in.RegistryMirrors
|
||||||
out.Storage = in.Storage
|
out.Storage = in.Storage
|
||||||
out.StorageOpts = in.StorageOpts
|
out.StorageOpts = in.StorageOpts
|
||||||
|
out.UserNamespaceRemap = in.UserNamespaceRemap
|
||||||
out.Version = in.Version
|
out.Version = in.Version
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue