Skip to content

Commit

Permalink
⚠️ Allow nil for ClusterNetwork's Services and Pods
Browse files Browse the repository at this point in the history
Signed-off-by: Vince Prignano <vincepri@vmware.com>
  • Loading branch information
vincepri committed Aug 22, 2019
1 parent 223a3f3 commit ce2b2cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha2/cluster_types.go
Expand Up @@ -48,11 +48,11 @@ type ClusterSpec struct {
type ClusterNetworkingConfig struct {
// The network ranges from which service VIPs are allocated.
// +optional
Services NetworkRanges `json:"services,omitempty"`
Services *NetworkRanges `json:"services,omitempty"`

// The network ranges from which Pod networks are allocated.
// +optional
Pods NetworkRanges `json:"pods,omitempty"`
Pods *NetworkRanges `json:"pods,omitempty"`

// Domain name for services.
// +optional
Expand Down

0 comments on commit ce2b2cd

Please sign in to comment.