Ole Markus With
fab694d290
Add ability to consistently name sgrs
...
In order to let kops fully control the rules for each security group we need to be able to generate names from the info in AWS. This is similar to the approach we used for openstack
Update pkg/model/firewall.go
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-11-07 10:27:19 +01:00
Kubernetes Prow Robot
b7f66a6d98
Merge pull request #10109 from bmelbourne/set-minimum-terraform-0.12
...
Set minimum Terraform version to 0.12.26/0.13.0
2020-10-29 01:52:58 -07:00
Barry Melbourne
84417c330b
Set minimum Terraform version to 0.12.26/0.13.0
2020-10-28 20:24:41 +00:00
Rodrigo Menezes
82d0ebdb56
Prevent unintended resource updates to LB attatchments
2020-10-26 17:29:07 -07:00
John Gardiner Myers
54c280eed5
update-expected.sh
2020-09-10 20:59:28 -07:00
Peter Rifel
0326ce4ad7
Dont generate the ssl_certificate_id field on TCP listeners in Terraform
2020-08-30 09:44:16 -05:00
Peter Rifel
f3e6ac874d
Update integration test outputs with new ssh key tags
2020-07-28 13:35:10 -05:00
Peter Rifel
f213854330
Update integration test outputs with filebase64
2020-07-08 23:24:11 -05:00
Peter Rifel
69f2c71cc3
Add tag support to AWS launch templates
...
In addition to TagSpecifications which allow tagging of instances and volumes, launch templates support tags of their own.
This adds the usual tags to LTs, as seen in the kubernetes.tf additions. Cloudformation does not yet support it [0], so only "api" and "terraform" targets are updated.
[0] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html
2020-07-07 22:43:45 -05:00
John Gardiner Myers
1b03e7237b
hack/update-expected.sh
2020-06-10 09:34:48 -07:00
Peter Rifel
fa2d64c3a3
Update expected outputs of terraform tests
2020-04-05 21:24:49 -05:00
Peter Rifel
ee86488d98
Don't set terraform's user_data if it is an empty string
...
Bastion hosts have no user_data by default.
This is not valid in terraform, based on the error messages reported here [0]
The Terraform provider code says user_data is optional for both LaunchConfigurations and LaunchTemplates [1] [2]
This change prevents the user_data property from being added to aws_launch_configuration and aws_launch_template resources unless the string is not empty.
[0] https://travis-ci.org/github/kubernetes/kops/jobs/662472020
[1] 04d24f80f3/aws/resource_aws_launch_configuration.go (L74-L76)
[2] 04d24f80f3/aws/resource_aws_launch_template.go (L510-L512)
2020-03-31 09:33:16 -05:00
Ciprian Hacman
661bd6dfbd
Add "owned" tag for all instance groups related resources
2020-03-02 10:39:50 +02:00
Nicolas Vanheuverzwijn
eaa025effd
run hack/update-expected.sh: we now consistenly output an empty user-data for bastion node
2020-01-13 15:28:20 -05:00
Justin SB
1580d4c82b
Update tests to use k8s >= 1.14
...
Where tests are using a version of k8s that is now really deprecated,
replace it with k8s 1.14.0.
2019-09-14 13:58:50 -04:00
Justin SB
21cb8ece06
Label AWS ASGs with kops.k8s.io/instancegroup
...
We will use this to map an AWS instance to the instance group.
2019-09-02 09:26:23 -07:00
Austin Moore
4485b115f4
Default CrossZoneLoadBalancing to false if not set
2019-07-26 12:21:43 -04:00
mikesplain
d6c02d3d72
Fix tests
2019-03-29 13:29:11 -04:00
Moustafa Baiou
ec43c4a6c0
update test case
2019-01-27 16:01:04 -05:00
Moustafa Baiou
2028841338
fix integration test for unmanaged egress
...
gofmt
2019-01-27 15:53:21 -05:00
Justin Santa Barbara
fab5f7f878
Fix integration test to highlight changes
...
Split out to show the actual changes
2019-01-27 15:53:21 -05:00
Justin Santa Barbara
f9f7eb628e
Create integration test for unmanaged networking
2019-01-27 15:53:21 -05:00