From 60ba3d86e448217ddd625c1a9ea552d6962bde73 Mon Sep 17 00:00:00 2001 From: Harshal Patil Date: Mon, 29 Mar 2021 16:43:50 +0530 Subject: [PATCH] Drop LogSizeMax and OverlaySize in ContainrConfig when not used Signed-off-by: Harshal Patil --- pkg/apis/machineconfiguration.openshift.io/v1/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/machineconfiguration.openshift.io/v1/types.go b/pkg/apis/machineconfiguration.openshift.io/v1/types.go index b1a2735d2c..09390c64ca 100644 --- a/pkg/apis/machineconfiguration.openshift.io/v1/types.go +++ b/pkg/apis/machineconfiguration.openshift.io/v1/types.go @@ -448,11 +448,11 @@ type ContainerRuntimeConfiguration struct { // logSizeMax specifies the Maximum size allowed for the container log file. // Negative numbers indicate that no size limit is imposed. // If it is positive, it must be >= 8192 to match/exceed conmon's read buffer. - LogSizeMax resource.Quantity `json:"logSizeMax"` + LogSizeMax resource.Quantity `json:"logSizeMax,omitempty"` // overlaySize specifies the maximum size of a container image. // This flag can be used to set quota on the size of container images. (default: 10GB) - OverlaySize resource.Quantity `json:"overlaySize"` + OverlaySize resource.Quantity `json:"overlaySize,omitempty"` } // ContainerRuntimeConfigStatus defines the observed state of a ContainerRuntimeConfig