Skip to content

Commit

Permalink
set optional to some variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin Wong committed Apr 3, 2024
1 parent c4ef0b8 commit d1e4eb1
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 37 deletions.
86 changes: 53 additions & 33 deletions pkg/proto/nbcontract/v1/clusterconfig.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pkg/proto/nbcontract/v1/clusterconfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ message ClusterConfig {
}
}



message ClusterNetworkConfig {
string vnet_name = 1;
string vnet_resource_group = 2;
Expand All @@ -31,8 +29,10 @@ message ClusterNetworkConfig {

message LoadBalancerConfig {
LoadBalancerSku load_balancer_sku = 1; // default to basic
bool exclude_master_from_standard_load_balancer = 2; // default to true
int32 max_load_balancer_rule_count = 3; // default to 148
optional bool exclude_master_from_standard_load_balancer = 2; // default to true
optional int32 max_load_balancer_rule_count = 3; // default to 148
optional bool disable_outbound_snat = 4; // default to false

enum LoadBalancerSku {
LBS_UNSPECIFIED = 0;
BASIC = 1;
Expand Down

0 comments on commit d1e4eb1

Please sign in to comment.