|
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), |
@@ -115,6 +115,7 @@ var ( |
115 | 115 | "seccomp_profile": hclspec.NewAttr("seccomp_profile", "string", false), |
116 | 116 | "sysctl": hclspec.NewAttr("sysctl", "list(map(string))", false), |
117 | 117 | "readonly_rootfs": hclspec.NewAttr("readonly_rootfs", "bool", false), |
| 118 | + "runtime": hclspec.NewAttr("runtime", "string", false), |
118 | 119 | "host_network": hclspec.NewAttr("host_network", "bool", false), |
119 | 120 | "auth": hclspec.NewBlock("auth", false, hclspec.NewObject(map[string]*hclspec.Spec{ |
120 | 121 | "username": hclspec.NewAttr("username", "string", false), |
@@ -185,6 +186,7 @@ type TaskConfig struct { |
185 | 186 | ImagePullTimeout string `codec:"image_pull_timeout"` |
186 | 187 | ExtraHosts []string `codec:"extra_hosts"` |
187 | 188 | Entrypoint []string `codec:"entrypoint"` |
| 189 | + Runtime string `codec:"runtime"` |
188 | 190 | ReadOnlyRootfs bool `codec:"readonly_rootfs"` |
189 | 191 | HostNetwork bool `codec:"host_network"` |
190 | 192 | Auth RegistryAuth `codec:"auth"` |
|
0 commit comments