From bf7f69ece0f4c67afd1524a51ca3c90d189709a1 Mon Sep 17 00:00:00 2001 From: kychandar <47603557+kychandar@users.noreply.github.com> Date: Fri, 8 Jul 2022 19:43:52 +0530 Subject: [PATCH] KThreesConfigSpec made optional (#10) Co-authored-by: yashwan --- controlplane/api/v1beta1/kthreescontrolplane_types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controlplane/api/v1beta1/kthreescontrolplane_types.go b/controlplane/api/v1beta1/kthreescontrolplane_types.go index f16e2b4a..dc5e2504 100644 --- a/controlplane/api/v1beta1/kthreescontrolplane_types.go +++ b/controlplane/api/v1beta1/kthreescontrolplane_types.go @@ -53,7 +53,8 @@ type KThreesControlPlaneSpec struct { // KThreesConfigSpec is a KThreesConfigSpec // to use for initializing and joining machines to the control plane. - KThreesConfigSpec cabp3v1.KThreesConfigSpec `json:"kthreesConfigSpec"` + // +optional + KThreesConfigSpec cabp3v1.KThreesConfigSpec `json:"kthreesConfigSpec,omitempty"` // UpgradeAfter is a field to indicate an upgrade should be performed // after the specified time even if no changes have been made to the