Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
chore: align SNAT case
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Rabot <[email protected]>
  • Loading branch information
Sylvain Rabot committed Oct 7, 2019
1 parent 3f14d1b commit 0818c73
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion parts/k8s/kubernetesparams.t
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
"cloudProviderRateLimitQPSWrite": "0",
"cloudProviderRateLimitBucket": 0,
"cloudProviderRateLimitBucketWrite": 0,
"loadBalancerDisableOutboundSnat": false
"loadBalancerDisableOutboundSNAT": false
}
},
{{if IsKubernetesVersionGe "1.12.0"}}
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ type CloudProviderConfig struct {
CloudProviderRateLimitQPSWrite string `json:"cloudProviderRateLimitQPSWrite,omitempty"`
CloudProviderRateLimitBucket int `json:"cloudProviderRateLimitBucket,omitempty"`
CloudProviderRateLimitBucketWrite int `json:"cloudProviderRateLimitBucketWrite,omitempty"`
CloudProviderDisableOutboundSNAT bool `json:"cloudProviderDisableOutboundSnat,omitempty"`
CloudProviderDisableOutboundSNAT bool `json:"cloudProviderDisableOutboundSNAT,omitempty"`
}

// KubernetesConfigDeprecated are properties that are no longer operable and will be ignored
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/armvariables.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func getK8sMasterVars(cs *api.ContainerService) (map[string]interface{}, error)
"' CLOUDPROVIDER_RATELIMIT_QPS_WRITE=',parameters('cloudproviderConfig').cloudProviderRatelimitQPSWrite," +
"' CLOUDPROVIDER_RATELIMIT_BUCKET=',parameters('cloudproviderConfig').cloudProviderRatelimitBucket," +
"' CLOUDPROVIDER_RATELIMIT_BUCKET_WRITE=',parameters('cloudproviderConfig').cloudProviderRatelimitBucketWrite," +
"' LOAD_BALANCER_DISABLE_OUTBOUND_SNAT=',parameters('cloudproviderConfig').loadBalancerDisableOutboundSnat," +
"' LOAD_BALANCER_DISABLE_OUTBOUND_SNAT=',parameters('cloudproviderConfig').loadBalancerDisableOutboundSNAT," +
"' USE_MANAGED_IDENTITY_EXTENSION=',variables('useManagedIdentityExtension')," +
"' USE_INSTANCE_METADATA=',variables('useInstanceMetadata')," +
"' LOAD_BALANCER_SKU=',variables('loadBalancerSku')," +
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/armvariables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func TestK8sVars(t *testing.T) {
"' CLOUDPROVIDER_RATELIMIT_QPS_WRITE=',parameters('cloudproviderConfig').cloudProviderRatelimitQPSWrite," +
"' CLOUDPROVIDER_RATELIMIT_BUCKET=',parameters('cloudproviderConfig').cloudProviderRatelimitBucket," +
"' CLOUDPROVIDER_RATELIMIT_BUCKET_WRITE=',parameters('cloudproviderConfig').cloudProviderRatelimitBucketWrite," +
"' LOAD_BALANCER_DISABLE_OUTBOUND_SNAT=',parameters('cloudproviderConfig').loadBalancerDisableOutboundSnat," +
"' LOAD_BALANCER_DISABLE_OUTBOUND_SNAT=',parameters('cloudproviderConfig').loadBalancerDisableOutboundSNAT," +
"' USE_MANAGED_IDENTITY_EXTENSION=',variables('useManagedIdentityExtension')," +
"' USE_INSTANCE_METADATA=',variables('useInstanceMetadata')," +
"' LOAD_BALANCER_SKU=',variables('loadBalancerSku')," +
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/templates_generated.go

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

0 comments on commit 0818c73

Please sign in to comment.