From 764fe1910751434672c826de76bf9522ceb6cd0a Mon Sep 17 00:00:00 2001 From: Varsha Varadarajan Date: Mon, 15 Feb 2021 15:23:48 -0800 Subject: [PATCH] kubernetes - enable surge upgrades by default during cluster creation --- digitalocean/resource_digitalocean_kubernetes_cluster.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/digitalocean/resource_digitalocean_kubernetes_cluster.go b/digitalocean/resource_digitalocean_kubernetes_cluster.go index 1d124c1b8..dae2e6241 100644 --- a/digitalocean/resource_digitalocean_kubernetes_cluster.go +++ b/digitalocean/resource_digitalocean_kubernetes_cluster.go @@ -26,7 +26,7 @@ func resourceDigitalOceanKubernetesCluster() *schema.Resource { Importer: &schema.ResourceImporter{ State: resourceDigitalOceanKubernetesClusterImportState, }, - SchemaVersion: 2, + SchemaVersion: 3, Schema: map[string]*schema.Schema{ "name": { @@ -49,6 +49,7 @@ func resourceDigitalOceanKubernetesCluster() *schema.Resource { "surge_upgrade": { Type: schema.TypeBool, Optional: true, + Default: true, }, "version": {