|
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),
|
@@ -114,6 +114,7 @@ var (
|
114 | 114 | "seccomp_profile": hclspec.NewAttr("seccomp_profile", "string", false),
|
115 | 115 | "sysctl": hclspec.NewAttr("sysctl", "list(map(string))", false),
|
116 | 116 | "readonly_rootfs": hclspec.NewAttr("readonly_rootfs", "bool", false),
|
| 117 | + "runtime": hclspec.NewAttr("runtime", "string", false), |
117 | 118 | "host_network": hclspec.NewAttr("host_network", "bool", false),
|
118 | 119 | "mounts": hclspec.NewBlockList("mounts", hclspec.NewObject(map[string]*hclspec.Spec{
|
119 | 120 | "type": hclspec.NewDefault(
|
@@ -173,6 +174,7 @@ type TaskConfig struct {
|
173 | 174 | ImagePullTimeout string `codec:"image_pull_timeout"`
|
174 | 175 | ExtraHosts []string `codec:"extra_hosts"`
|
175 | 176 | Entrypoint []string `codec:"entrypoint"`
|
| 177 | + Runtime string `codec:"runtime"` |
176 | 178 | ReadOnlyRootfs bool `codec:"readonly_rootfs"`
|
177 | 179 | HostNetwork bool `codec:"host_network"`
|
178 | 180 | Mounts []Mount `codec:"mounts"`
|
|
0 commit comments