Commit Graph

1121 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 10bb3cf334
Merge pull request #9217 from johngmyers/refactor-validation
Refactor and improve API validation
2020-06-09 20:04:07 -07:00
Peter Rifel d923354d4f
Address review comments 2020-06-09 17:07:44 -05:00
Peter Rifel 95b6a3f837
Address feedback 2020-06-09 10:58:24 -05:00
Peter Rifel 807cbcb1a0
fix new validation unit test 2020-06-09 10:13:01 -05:00
Peter Rifel bc074e857c
Use ec2.DescribeInstanceTypes in awsup.GetMachineTypeInfo
This requires passing a cloud object in additional places throughout the validation package and originating mostly from cmd/kops

This means that some kops commands now require valid cloud provider credentials, but I don't think this is an issue because the vast majority of use-cases already require the same cloud provider credentials in order to interact with the state store.
2020-06-09 10:13:01 -05:00
Peter Rifel cebb708fdb
Move MixedInstancesPolicy validation to aws.go 2020-06-09 10:13:01 -05:00
John Gardiner Myers 898f9fa198 Refactor and improve API validation 2020-06-05 11:43:42 -07:00
John Gardiner Myers 9466893436 Refactor api validation code out of legacy.go 2020-06-05 11:43:09 -07:00
John Gardiner Myers d27c733332 Refactor api validation code out of legacy.go 2020-06-05 11:42:50 -07:00
John Gardiner Myers 1d7027895f Refactor and improve API validation 2020-06-05 11:12:34 -07:00
John Gardiner Myers 8b26165030 Refactor api validation code out of legacy.go 2020-06-05 11:08:08 -07:00
Kubernetes Prow Robot 6d6db96aef
Merge pull request #9265 from olemarkus/validate-rootvolumetype
Validate IG RootVolumeType
2020-06-04 17:47:44 -07:00
John Gardiner Myers e88e0cf7ec Remove code supporting dropped k8s versions 2020-06-04 12:11:51 -07:00
Kubernetes Prow Robot 5762f659c1
Merge pull request #9137 from olemarkus/cni-package
Move networking in nodeup to dedicated subpackage
2020-06-04 10:19:15 -07:00
Ole Markus With b62f6aa894 Move networking in nodeup to dedicated subpackage 2020-06-04 17:32:41 +02:00
Ole Markus With 9732179d40 Tag all cilium keys with omitempty 2020-06-04 15:46:32 +02:00
Kubernetes Prow Robot c6dcaa8199
Merge pull request #9154 from MoShitrit/issue-9031
Add support for encryption in Cilium
2020-06-04 03:11:15 -07:00
Kubernetes Prow Robot c8674f23a0
Merge pull request #9253 from olemarkus/cilium-ipv4
Don't make it possible to toggle ipv4/6. We only support ipv4 anyway
2020-06-03 14:02:43 -07:00
Kubernetes Prow Robot 4fe5ad03f8
Merge pull request #9255 from olemarkus/romana-remove
Remove romana support
2020-06-03 13:24:59 -07:00
Ole Markus With 4b6b200377 Only validate root volume types if on aws 2020-06-03 22:03:44 +02:00
Ole Markus With e271ffa561 Validate ig rootvolumetype 2020-06-03 19:37:51 +02:00
Ole Markus With 1a9de4511e Remove unecessary optionTaken validation 2020-06-03 17:06:23 +02:00
Kubernetes Prow Robot 6a772a7a9b
Merge pull request #9258 from hakman/docker-19.03.11
Use Docker 19.03.11 for Kubernetes 1.18+
2020-06-03 07:00:27 -07:00
Kubernetes Prow Robot c78b24fa41
Merge pull request #9140 from olemarkus/docs-networking-support
Add table of networking providers and their status
2020-06-03 07:00:19 -07:00
Kubernetes Prow Robot 4ef6bbe229
Merge pull request #9175 from mtl-wgtwo/calico-ip-detection-method
Enable configuration of the calico IP_AUTODETECTION_METHOD  and IP6_AUTODETECTION_METHOD
2020-06-03 06:24:18 -07:00
Ciprian Hacman a7c9ef9ff0 Use Docker 19.03.11 for Kubernetes 1.18+ 2020-06-03 12:03:56 +03:00
Ole Markus With 991549a5f4 Remove support for Romana 2020-06-03 08:23:53 +02:00
Ole Markus With e994bb80a6 Add Romana deprecation/removal notices to godoc 2020-06-03 08:12:11 +02:00
Ole Markus With d2cf2866a1 Add Romana deprecation/removal notices to godoc 2020-06-03 08:11:43 +02:00
Ole Markus With 972d7a3509 Don't make it possible to toggle ipv4/6. We only support ipv4 anyway 2020-06-03 06:58:13 +02:00
Kubernetes Prow Robot 7b067983df
Merge pull request #9177 from olemarkus/remove-vsphere
Remove vsphere cloud provider
2020-06-01 06:19:54 -07:00
Justin SB bced4c309b Validation: MixedInstancePolicy need not override instance types
The mixed instance policy is also useful for spot instances, and
generally overriding the instances doesn't seem to be required.

Also both 0 and 1 instance type overrides appear to be supported by
AWS.
2020-05-31 23:37:02 -04:00
Kubernetes Prow Robot d3d6fd66d0
Merge pull request #9220 from rifelpet/pkg-apis-cleanup
Remove extraneous markdown files in pkg/apis
2020-05-31 07:59:53 -07:00
Peter Rifel b704376504
Remove extraneous markdown files in pkg/apis 2020-05-31 09:09:27 -05:00
Ole Markus With 7342525872 Remove vsphere from kops files 2020-05-30 13:36:55 +02:00
Matt Long de1d082bc5 Change error to InernalError 2020-05-29 09:55:46 +02:00
John Gardiner Myers c1562291d7 Update adding_a_feature.md with more modern example 2020-05-28 23:19:14 -07:00
Kubernetes Prow Robot 4b4dbd4285
Merge pull request #8826 from johngmyers/remove-legacy-etcd-provider
Remove support for the legacy etcd provider as of k8s 1.18
2020-05-28 10:38:04 -07:00
Matt Long b983af231e Update validation per code review comments 2020-05-28 11:13:56 +02:00
Matt Long 9385b1adf9
Apply suggestions from code review
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-05-28 08:47:52 +02:00
Kubernetes Prow Robot 6830cf6d44
Merge pull request #9065 from johngmyers/remove-distro
Remove support for CoreOS and Jessie
2020-05-27 23:22:01 -07:00
Matt Long 2317b77ba5 Update with static check suggestions 2020-05-27 15:51:55 +02:00
Matt Long 1fea54bc3c Update regex in test 2020-05-27 15:44:57 +02:00
Matt Long 79275f9ea8 Add additional tighter validation 2020-05-27 15:43:08 +02:00
Matt Long c00464f11d Update crds, apis, models. Add limited field validation 2020-05-27 15:24:01 +02:00
Matt Long 574442dd7b Enable configuration of the calico IP_AUTODETECTION_METHOD 2020-05-25 13:08:37 +02:00
MoShitrit 316a0e2b00 Adding encryption support for Cilium
Adding support for 'secret-name' flag

Adding instructions to enable encryption

Updating docs for cli

Addressing comments

Adding ciliumpassword subcommand to 'kops create secret'

Updating command to generate ciliumpassword secret
2020-05-25 01:54:24 -04:00
Kubernetes Prow Robot bfd65ae589
Merge pull request #9157 from olemarkus/networking-cleanup
Networking cleanup
2020-05-24 07:03:10 -07:00
Ole Markus With 1698069ae2 Update pkg/apis/kops/networking.go
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-05-23 08:04:34 +02:00
ZouYu 956f07188f Add unit test case for pkg/apis/kops/util/versions_test.go
Signed-off-by: ZouYu <zouy.fnst@cn.fujitsu.com>
2020-05-22 15:23:25 +08:00