diff --git a/go.mod b/go.mod index cd4ade14..69fd398e 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/hashicorp/terraform-plugin-log v0.9.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 - github.com/vultr/govultr/v3 v3.6.3 + github.com/vultr/govultr/v3 v3.6.4 golang.org/x/oauth2 v0.17.0 ) diff --git a/go.sum b/go.sum index 365777a0..834ce70e 100644 --- a/go.sum +++ b/go.sum @@ -138,8 +138,8 @@ github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IU github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= -github.com/vultr/govultr/v3 v3.6.3 h1:KYrF39nH+3xmAJ5Zx3nScoXK2I1GKQc74h4fhDEcq/0= -github.com/vultr/govultr/v3 v3.6.3/go.mod h1:rt9v2x114jZmmLAE/h5N5jnxTmsK9ewwS2oQZ0UBQzM= +github.com/vultr/govultr/v3 v3.6.4 h1:unvY9eXlBw667ECQZDbBDOIaWB8wkk6Bx+yB0IMKXJ4= +github.com/vultr/govultr/v3 v3.6.4/go.mod h1:rt9v2x114jZmmLAE/h5N5jnxTmsK9ewwS2oQZ0UBQzM= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/zclconf/go-cty v1.14.2 h1:kTG7lqmBou0Zkx35r6HJHUQTvaRPr5bIAf3AoHS0izI= diff --git a/vendor/github.com/vultr/govultr/v3/CHANGELOG.md b/vendor/github.com/vultr/govultr/v3/CHANGELOG.md index e5e514fc..995ad62a 100644 --- a/vendor/github.com/vultr/govultr/v3/CHANGELOG.md +++ b/vendor/github.com/vultr/govultr/v3/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log -## [3.6.3]( https://github.com/vultr/govultr/compare/v3.6.2...v3.6.3) (2024-02-29) +## [3.6.4](https://github.com/vultr/govultr/compare/v3.6.3...v3.6.4) (2024-03-07) +### Enhancement +* Kubernetes: add labels to the node pool update request struct [PR 302](https://github.com/vultr/govultr/pull/302) + +## [3.6.3](https://github.com/vultr/govultr/compare/v3.6.2...v3.6.3) (2024-02-29) ### Bug Fixes * All: add a json struct tag for the meta links field [PR 298](https://github.com/vultr/govultr/pull/298) * Startup Scripts: allow empty values in create/update request struct [PR 299](https://github.com/vultr/govultr/pull/299) diff --git a/vendor/github.com/vultr/govultr/v3/govultr.go b/vendor/github.com/vultr/govultr/v3/govultr.go index 11b159c5..4423ff0e 100644 --- a/vendor/github.com/vultr/govultr/v3/govultr.go +++ b/vendor/github.com/vultr/govultr/v3/govultr.go @@ -19,7 +19,7 @@ import ( ) const ( - version = "3.6.3" + version = "3.6.4" defaultBase = "https://api.vultr.com" userAgent = "govultr/" + version rateLimit = 500 * time.Millisecond diff --git a/vendor/github.com/vultr/govultr/v3/kubernetes.go b/vendor/github.com/vultr/govultr/v3/kubernetes.go index e6fae101..6157025b 100644 --- a/vendor/github.com/vultr/govultr/v3/kubernetes.go +++ b/vendor/github.com/vultr/govultr/v3/kubernetes.go @@ -117,11 +117,12 @@ type NodePoolReq struct { // NodePoolReqUpdate struct used to update a node pool type NodePoolReqUpdate struct { - NodeQuantity int `json:"node_quantity,omitempty"` - Tag *string `json:"tag,omitempty"` - MinNodes int `json:"min_nodes,omitempty"` - MaxNodes int `json:"max_nodes,omitempty"` - AutoScaler *bool `json:"auto_scaler,omitempty"` + NodeQuantity int `json:"node_quantity,omitempty"` + Tag *string `json:"tag,omitempty"` + MinNodes int `json:"min_nodes,omitempty"` + MaxNodes int `json:"max_nodes,omitempty"` + AutoScaler *bool `json:"auto_scaler,omitempty"` + Labels map[string]string `json:"labels,omitempty"` } type vkeClustersBase struct { diff --git a/vendor/modules.txt b/vendor/modules.txt index 0bf4e8b4..d938e9f2 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -236,7 +236,7 @@ github.com/vmihailenco/msgpack/v5/msgpcode github.com/vmihailenco/tagparser/v2 github.com/vmihailenco/tagparser/v2/internal github.com/vmihailenco/tagparser/v2/internal/parser -# github.com/vultr/govultr/v3 v3.6.3 +# github.com/vultr/govultr/v3 v3.6.4 ## explicit; go 1.20 github.com/vultr/govultr/v3 # github.com/zclconf/go-cty v1.14.2