Skip to content

Commit 17dfd98

Browse files
davidewatsonncdc
authored andcommitted
Make ClusterNetwork ClusterNetworkingConfig field optional within (kubernetes-sigs#919)
Cluster resources. This is useful for Managed Control Planes and Bare Metal where networking configuration options may be limited. (cherry picked from commit 9e1eb56)
1 parent be185f2 commit 17dfd98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/apis/cluster/v1alpha1/cluster_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ type Cluster struct {
4747
// ClusterSpec defines the desired state of Cluster
4848
type ClusterSpec struct {
4949
// Cluster network configuration
50+
// +optional
5051
ClusterNetwork ClusterNetworkingConfig `json:"clusterNetwork"`
5152

5253
// Provider-specific serialized configuration to use during

0 commit comments

Comments
 (0)