|
78 | 78 | hclspec.NewAttr("enabled", "bool", false),
|
79 | 79 | hclspec.NewLiteral("true"),
|
80 | 80 | ),
|
81 |
| - "containerd_runtime": hclspec.NewAttr("containerd_runtime", "string", true), |
| 81 | + "containerd_runtime": hclspec.NewAttr("containerd_runtime", "string", false), |
82 | 82 | "stats_interval": hclspec.NewAttr("stats_interval", "string", false),
|
83 | 83 | "allow_privileged": hclspec.NewDefault(
|
84 | 84 | hclspec.NewAttr("allow_privileged", "bool", false),
|
@@ -121,6 +121,7 @@ var (
|
121 | 121 | "shm_size": hclspec.NewAttr("shm_size", "string", false),
|
122 | 122 | "sysctl": hclspec.NewAttr("sysctl", "list(map(string))", false),
|
123 | 123 | "readonly_rootfs": hclspec.NewAttr("readonly_rootfs", "bool", false),
|
| 124 | + "runtime": hclspec.NewAttr("runtime", "string", false), |
124 | 125 | "host_network": hclspec.NewAttr("host_network", "bool", false),
|
125 | 126 | "auth": hclspec.NewBlock("auth", false, hclspec.NewObject(map[string]*hclspec.Spec{
|
126 | 127 | "username": hclspec.NewAttr("username", "string", true),
|
@@ -194,6 +195,7 @@ type TaskConfig struct {
|
194 | 195 | ImagePullTimeout string `codec:"image_pull_timeout"`
|
195 | 196 | ExtraHosts []string `codec:"extra_hosts"`
|
196 | 197 | Entrypoint []string `codec:"entrypoint"`
|
| 198 | + Runtime string `codec:"runtime"` |
197 | 199 | ReadOnlyRootfs bool `codec:"readonly_rootfs"`
|
198 | 200 | HostNetwork bool `codec:"host_network"`
|
199 | 201 | Auth RegistryAuth `codec:"auth"`
|
|
0 commit comments