Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing fields to workers Terraform integration #686

Merged
merged 1 commit into from
Sep 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/templates/machinecontroller/cloudprovider_specs.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type AWSSpec struct {
SubnetID string `json:"subnetId"`
Tags map[string]string `json:"tags"`
VPCID string `json:"vpcId"`
IsSpotInstance *bool `json:"isSpotInstance,omitempty"`
}

// DigitalOceanSpec holds cloudprovider spec for DigitalOcean
Expand All @@ -55,6 +56,7 @@ type OpenStackSpec struct {
Subnet string `json:"subnet"`
RootDiskSizeGB *int `json:"rootDiskSizeGB,omitempty"`
NodeVolumeAttachLimit *uint `json:"nodeVolumeAttachLimit,omitempty"`
TrustDevicePath bool `json:"trustDevicePath"`
Tags map[string]string `json:"tags"`
}

Expand Down Expand Up @@ -85,8 +87,10 @@ type HetznerSpec struct {
// PacketSpec holds cloudprovider spec for Packet
type PacketSpec struct {
ProjectID string `json:"projectID"`
BillingCycle string `json:"billingCycle"`
Facilities []string `json:"facilities"`
InstanceType string `json:"instanceType"`
Tags []string `json:"tags,omitempty"`
}

// VSphereSpec holds cloudprovider spec for vSphere
Expand Down