From 4b3538bebac837f2726677d1a36dd1e66dfed211 Mon Sep 17 00:00:00 2001 From: Pavel Pereyma Date: Mon, 30 Aug 2021 17:46:04 +0300 Subject: [PATCH] Update changelog, fix imports --- CHANGELOG.md | 4 +++- selectel/data_source_selectel_mks_kube_options.go | 1 + selectel/mks.go | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 904a4a1f..ac0bddb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,10 @@ ## 3.7.0 (Unreleased) FEATURES: -* __Added `feature_gates` and `admission_controllers` to cluster kubernetes options__ (#)[] +* Added `feature_gates` and `admission_controllers` to cluster kubernetes options ([#166](https://github.com/selectel/terraform-provider-selectel/issues/166)) * __New Data Source:__ `selectel_dbaas_configuration_parameter_v1` ([#162](https://github.com/selectel/terraform-provider-selectel/issues/162)) +* __New Data Source:__ `selectel_mks_available_feature_gates_v1` +* __New Data Source:__ `selectel_mks_available_admission_controllers_v1` IMPROVEMENTS: * Fixed docs for DBaaS data sources ([#160](https://github.com/selectel/terraform-provider-selectel/pull/160)) diff --git a/selectel/data_source_selectel_mks_kube_options.go b/selectel/data_source_selectel_mks_kube_options.go index acfcab1d..64cb3496 100644 --- a/selectel/data_source_selectel_mks_kube_options.go +++ b/selectel/data_source_selectel_mks_kube_options.go @@ -3,6 +3,7 @@ package selectel import ( "context" "fmt" + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" diff --git a/selectel/mks.go b/selectel/mks.go index c2553199..903eca60 100644 --- a/selectel/mks.go +++ b/selectel/mks.go @@ -3,7 +3,6 @@ package selectel import ( "context" "fmt" - "github.com/selectel/mks-go/pkg/v1/kubeoptions" "log" "strconv" "strings" @@ -15,6 +14,7 @@ import ( "github.com/selectel/go-selvpcclient/selvpcclient/resell/v2/tokens" v1 "github.com/selectel/mks-go/pkg/v1" "github.com/selectel/mks-go/pkg/v1/cluster" + "github.com/selectel/mks-go/pkg/v1/kubeoptions" "github.com/selectel/mks-go/pkg/v1/kubeversion" "github.com/selectel/mks-go/pkg/v1/node" "github.com/selectel/mks-go/pkg/v1/nodegroup"