Remove taints from spotinst ocean terraform resource

This field isn't being set anywhere and is causing problems with the terraform HCL2 serialization.

If we do end up setting it we can redefine the struct type ourselves with the necessary field tags.
This commit is contained in:
Peter Rifel 2021-01-28 10:51:09 -06:00
parent b026069375
commit 7428b95837
No known key found for this signature in database
GPG Key ID: BC6469E5B16DB2B6
1 changed files with 0 additions and 2 deletions

View File

@ -27,7 +27,6 @@ import (
"github.com/spotinst/spotinst-sdk-go/service/ocean/providers/aws"
"github.com/spotinst/spotinst-sdk-go/spotinst/client"
"github.com/spotinst/spotinst-sdk-go/spotinst/util/stringutil"
corev1 "k8s.io/api/core/v1"
"k8s.io/klog/v2"
"k8s.io/kops/pkg/resources/spotinst"
"k8s.io/kops/upup/pkg/fi"
@ -1041,7 +1040,6 @@ type terraformOcean struct {
IAMInstanceProfile *terraform.Literal `json:"iam_instance_profile,omitempty" cty:"iam_instance_profile"`
KeyName *terraform.Literal `json:"key_name,omitempty" cty:"key_name"`
SecurityGroups []*terraform.Literal `json:"security_groups,omitempty" cty:"security_groups"`
Taints []*corev1.Taint `json:"taints,omitempty" cty:"taints"`
Labels []*terraformKV `json:"labels,omitempty" cty:"labels"`
Headrooms []*terraformAutoScalerHeadroom `json:"autoscale_headrooms,omitempty" cty:"autoscale_headrooms"`
}