Skip to content

Commit c696c65

Browse files
authored
Merge pull request #9 from weaveworks/make-fields-optional
Mark fields as optional.
2 parents f761026 + ff0939b commit c696c65

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api/v1alpha1/clusterbootstrapconfig_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ type ClusterBootstrapConfigSpec struct {
4949
// Wait for the remote cluster to be "ready" before creating the jobs.
5050
// Defaults to false.
5151
//+kubebuilder:default:false
52+
//+optional
5253
RequireClusterReady bool `json:"requireClusterReady"`
5354
// When checking for readiness, this is the time to wait before
5455
// checking again.
5556
//+kubebuilder:default:60s
57+
//+optional
5658
ClusterReadinessBackoff *metav1.Duration `json:"clusterReadinessBackoff,omitempty"`
5759
}
5860

config/crd/bases/capi.weave.works_clusterbootstrapconfigs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6900,7 +6900,6 @@ spec:
69006900
required:
69016901
- clusterSelector
69026902
- jobTemplate
6903-
- requireClusterReady
69046903
type: object
69056904
status:
69066905
description: ClusterBootstrapConfigStatus defines the observed state of

0 commit comments

Comments
 (0)