cool-thailand-26552
11/11/2022, 10:42 AMconst (
KernelDefaultsProtectionEnabled KernelDefaultsProtectionPolicy = "enabled"
KernelDefaultsProtectionDisabled KernelDefaultsProtectionPolicy = "disabled"
)
const (
EtcdMetricsEnabled EtcdMetricsExposurePolicy = "enabled"
EtcdMetricsDisabled EtcdMetricsExposurePolicy = "disabled"
)
Is this overkill, or is it how it should be ?rapid-van-91305
11/11/2022, 10:43 AMcool-thailand-26552
11/11/2022, 10:45 AMbool
that we changed to Enum
for best practices, it looks like we would lose the benefit of the change if we do that. Am I wrong ?bool
after all ?astonishing-stone-14417
11/11/2022, 10:45 AMrapid-van-91305
11/11/2022, 10:46 AM// +kubebuilder:default=false
DisableVPCCNI bool `json:"disableVPCCNI,omitempty"`
cool-thailand-26552
11/11/2022, 10:46 AMenabled
or disabled
, we would just put a bool
rapid-van-91305
11/11/2022, 10:47 AMcool-thailand-26552
11/11/2022, 10:48 AM