From 438708b7125ac0f5ab05998df04f5b869e9884e3 Mon Sep 17 00:00:00 2001 From: Chuck Ha Date: Fri, 6 Mar 2020 14:12:19 -0500 Subject: [PATCH] capd: Make ready an optional field Signed-off-by: Chuck Ha --- test/infrastructure/docker/api/v1alpha3/dockermachine_types.go | 2 ++ .../bases/infrastructure.cluster.x-k8s.io_dockermachines.yaml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/infrastructure/docker/api/v1alpha3/dockermachine_types.go b/test/infrastructure/docker/api/v1alpha3/dockermachine_types.go index dce7fed5d209..56e8e8f89fe4 100644 --- a/test/infrastructure/docker/api/v1alpha3/dockermachine_types.go +++ b/test/infrastructure/docker/api/v1alpha3/dockermachine_types.go @@ -46,7 +46,9 @@ type DockerMachineSpec struct { // DockerMachineStatus defines the observed state of DockerMachine type DockerMachineStatus struct { // Ready denotes that the machine (docker container) is ready + // +optional Ready bool `json:"ready"` + // LoadBalancerConfigured denotes that the machine has been // added to the load balancer // +optional diff --git a/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachines.yaml b/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachines.yaml index e2a87f85cbb5..1608397af75d 100644 --- a/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachines.yaml +++ b/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachines.yaml @@ -62,8 +62,6 @@ spec: description: Ready denotes that the machine (docker container) is ready type: boolean - required: - - ready type: object type: object served: true