Commit Graph

844 Commits

Author SHA1 Message Date
k8s-ci-robot 2319db8f59
Merge pull request #4797 from justinsb/check_no_legacy_tags_on_shared
lifecycle tests: check no legacy tags on shared resources
2018-09-03 15:28:26 -07:00
k8s-ci-robot 94d960ca87
Merge pull request #5513 from ripta/load-client-auth-plugins
Load client-auth plugins
2018-07-29 01:34:56 -07:00
Justin Santa Barbara 288c5aaf01 Add error handling (logging) when we fail to close a file
More missing error handling

Follows on from #5543
2018-07-28 16:50:13 -04:00
k8s-ci-robot 6bb8d451dd
Merge pull request #5542 from justinsb/fix_missing_errors_1
Add missing error handling when reading stdin
2018-07-27 23:20:57 -07:00
Justin Santa Barbara 6505dc08f6 Add error handling for failed deletion of tempfiles
We create a helper package `try`
2018-07-27 15:14:08 -04:00
Justin Santa Barbara 8433e67891 Add missing error handling when reading stdin
I'm guessing that if a pipe breaks that we wouldn't handle it
correctly otherwise.
2018-07-27 14:50:33 -04:00
Justin Santa Barbara 78c81e39a7 Add HACK_UPDATE_EXPECTED_IN_PLACE for cloudformation output 2018-07-27 00:57:45 -04:00
Ripta Pasay 217136039d Load client-auth plugins
Without this change, for example, kops connections using OIDC to the
cluster will receive this error message:

> cannot build kube client for "$CLUSTER_NAME": No Auth Provider found
> for name "oidc"

kubernetes/client-go#345 suggests importing the package path
`plugin/pkg/client/auth/oidc` from `client-go`, but looking at the code
`plugin/pkg/client/auth` will actually handle loading all known auth
plugins for us.
2018-07-25 22:36:21 +00:00
Justin Santa Barbara 2d76046f85 kops set: fix example
The example included an incorrect field specifier.
2018-07-24 23:22:42 -04:00
Justin Santa Barbara 630ea429ae
Merge pull request #4677 from usabilla/external-load-balancers
Add the ability to specify external loadbalancers for instancegroups
2018-07-19 21:54:00 -04:00
k8s-ci-robot 9d7b2d17b0
Merge pull request #5108 from usabilla/set-values
Adds ability to set template context values on command line
2018-07-19 13:11:17 -07:00
k8s-ci-robot 266b764d7b
Merge pull request #5466 from justinsb/more_test_autofix
More autofix of expected test output
2018-07-19 10:00:54 -07:00
Justin Santa Barbara af867403f9 More autofix of expected test output
Rename to HACK_UPDATE_EXPECTED_IN_PLACE as it isn't just terraform any more.
2018-07-19 12:11:38 -04:00
k8s-ci-robot 54cbe492cb
Merge pull request #5414 from Raffo/master
[WIP] Initial implementation of ACM certificate for API server ELB
2018-07-19 08:34:54 -07:00
Christian Kampka ed08820909 Generate random weave password it none is supplied 2018-07-18 19:41:57 +02:00
Christian Kampka 3bf8a8fcd2 Add weave network encryption secret 2018-07-13 16:57:48 +02:00
Gijs Kunze 0ccaf4fd8e Fixes complex --set parsing 2018-07-11 16:46:32 +02:00
Gijs Kunze 295aeb9197 Added dependency on k8sio/helm/pkg/strvals 2018-07-11 16:46:32 +02:00
Gijs Kunze 381c30ea4a Added the ability to set individual values for the toolbox template command 2018-07-11 16:45:26 +02:00
Raffaele Di Fazio f820deb2e7 clarify message for cli argument 2018-07-06 10:06:43 +02:00
Raffaele Di Fazio b72393947a remove useless empty line 2018-07-06 09:37:19 +02:00
Raffaele Di Fazio d477e96c38 Added initial implementation of ACM cert for Kubernetes API ELB 2018-07-06 09:29:54 +02:00
Gijs Kunze 8256c3cc73 Fixed integration tests after rebasing 2018-06-29 12:42:06 +02:00
Gijs Kunze 2c5edfe992 Added integration test for external load balancers 2018-06-29 11:39:21 +02:00
Kashif Saadat 7b5cb2dc33 Update rolling update ig roles flag to be case insensitive 2018-06-27 10:26:48 +01:00
Justin Santa Barbara 1af610a6c4 Use fast-retry and cleanup task options for tests
The launch configuration test exposed that our integration tests don't
retry for very long, and wait a long time in between retries.

Create a RunTasksOptions type to hold the parameters, in particular
max task time, and the amount of time we wait when all tasks have
failed.
2018-06-18 00:04:23 -04:00
k8s-ci-robot 127e031948
Merge pull request #5256 from justinsb/dont_autoload_key_on_gce
Don't autoload SSH key on GCE
2018-06-17 08:38:29 -07:00
Justin Santa Barbara 1549b6e961 Don't autoload SSH key on GCE
This lets us merge #5056
2018-06-17 09:11:06 -04:00
k8s-ci-robot 264ca4c2e8
Merge pull request #5324 from justinsb/viper_explicit
Use less viper discovery
2018-06-14 22:03:28 -07:00
k8s-ci-robot 6fe589fdfc
Merge pull request #5323 from justinsb/dont_always_print_state_store
Don't always print state store path
2018-06-14 07:04:28 -07:00
Justin Santa Barbara 4ed47d632b kops set cluster: honor --name flag
We were not using the regular method to get the cluster name, and this
meant that the `--name` flag was being ignored.
2018-06-14 02:13:47 -04:00
Justin Santa Barbara fdc358f903 Use less viper discovery
Tweaks so that we are stricter about how we use viper config file
discovery.  By being more explicit we are less dependent on its
specific behaviour.
2018-06-13 23:55:32 -04:00
Justin Santa Barbara 55efe61fa7 Don't always print state store path
We can log it at V(2), but it is just too noisy otherwise.

We also don't want to change the stdout format!
2018-06-13 23:17:06 -04:00
Justin Santa Barbara b334650c68
Merge branch 'master' into feature-2435-s3configfile 2018-06-11 11:53:23 -04:00
k8s-ci-robot 1b29b54d5b
Merge pull request #4171 from rifelpet/rifelpet_iam
Add support for external IAM Instance Profiles
2018-06-10 14:54:00 -07:00
k8s-ci-robot a57a6de4a8
Merge pull request #5139 from justinsb/fix_subnet_egress_indexing
Fix issue where we assumed that private zone were in order
2018-06-09 09:27:01 -07:00
Peter Rifel 5f0b63100d Add support for using existing instance profiles 2018-06-08 10:33:09 -07:00
k8s-ci-robot 0afac24a4f
Merge pull request #5284 from noinarisak/kops_edit_instancegroup_correction
Update kops_edit_instancegroup.go and kops_edit_instancegroup.md
2018-06-06 14:28:24 -07:00
Noi Narisak 4bc3155edb Update kops_edit_instancegroup.go and kops_edit_instancegroup.md
Update the Example section. Was trying to use command example and discovered that `node` gave any error. Changing it `node` to `nodes` resolve it.
2018-06-06 15:02:57 -05:00
k8s-ci-robot b552743d69
Merge pull request #5282 from mirake/fix-typos
Fix some typos
2018-06-06 11:31:26 -07:00
k8s-ci-robot 1fe29cf962
Merge pull request #5277 from gambol99/misspelling
Verify Spelling
2018-06-06 08:57:26 -07:00
ruicao 3e365149fe Fix some typos 2018-06-06 20:40:49 +08:00
Rohith 67296c2db9 - fixing up the spelling mistakes found 2018-06-06 10:03:51 +01:00
k8s-ci-robot c3a5477b4a
Merge pull request #5270 from rdrgmnzs/fix_additionalCIDR
Implement AdditionalCIDR configuration.
2018-06-05 12:19:56 -07:00
k8s-ci-robot f1f782fca3
Merge pull request #5275 from rdrgmnzs/clarify_state_flag
Clarify the usage of the --state flag.
2018-06-05 11:33:56 -07:00
Rodrigo Menezes 11b3da7a87 Clarify the usage of the --state flag. 2018-06-05 09:48:14 -07:00
k8s-ci-robot 4aa844d81b
Merge pull request #5265 from justinsb/integration_tests_self_healing
Allow integration tests to update expected TF output
2018-06-05 02:01:55 -07:00
Rodrigo Menezes 4a131f2a50 Implement AdditionalCIDR configuration on non-shared VPCs 2018-06-05 01:12:06 -07:00
Justin Santa Barbara 7ab79f5915 Clean up variable naming in integration test 2018-06-04 11:23:09 -07:00
Justin Santa Barbara 05010e4e9a Allow integration tests to update expected TF output
This means we don't have to manually go and fix up the terraform
expected output when it changes (but we should still be careful to
validate it!)

To use: `HACK_UPDATE_TF_IN_PLACE=1 go test ./cmd/kops`
2018-06-04 10:54:28 -07:00