Skip to content

Commit 2c67c28

Browse files
Make Shim containerRuntimeOptions optional
Signed-off-by: Kate Goldenring <[email protected]>
1 parent 49877b2 commit 2c67c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1alpha1/shim_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type ShimSpec struct {
2828
RolloutStrategy RolloutStrategy `json:"rolloutStrategy"`
2929
// ContainerdRuntimeOptions is a map of containerd runtime options for the shim plugin.
3030
// See an example of configuring cgroup driver via runtime options: https://github.com/containerd/containerd/blob/main/docs/cri/config.md#cgroup-driver
31-
ContainerdRuntimeOptions map[string]string `json:"containerdRuntimeOptions"`
31+
ContainerdRuntimeOptions map[string]string `json:"containerdRuntimeOptions,omitempty"`
3232
}
3333

3434
type FetchStrategy struct {

0 commit comments

Comments
 (0)