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
Justin Santa Barbara
a9111e00ac
Use STABLE_ prefixes for bazel workspace vars
...
This ensures that we rebuild when they change.
2018-06-03 13:13:33 -07:00
k8s-ci-robot
6741158c97
Merge pull request #5056 from povilasv/gce-ssh
...
Add public ssh keys for GCE
2018-06-03 10:59:53 -07:00
Justin Santa Barbara
4cea00ea75
Use HomeDir from client-go to get home directory
...
Works on windows & linux
Fixes #4523
2018-06-02 15:17:23 -04:00
k8s-ci-robot
1157789a63
Merge pull request #4723 from sroylance/testing-windows
...
hacks for tests on windows
2018-06-02 11:22:57 -07:00
Ian Hoegen
88b8fd46b5
Add proper autoloading for kops autocomplete
2018-05-31 09:53:12 -07:00
k8s-ci-robot
195dee380b
Merge pull request #5150 from ihoegen/master
...
Add stdin support for create -f and replace -f
2018-05-26 15:09:31 -07:00
k8s-ci-robot
f7243a933b
Merge pull request #5123 from justinsb/harmonize_override_and_set_cluster
...
Unify create-create overrides and set-cluster fields
2018-05-19 12:56:50 -07:00
Ian Hoegen
ae8bdf08c5
Add stdin support for create -f and replace -f
2018-05-14 13:29:37 -07:00
k8s-ci-robot
cbf7b0886e
Merge pull request #5122 from justinsb/rolling_update_by_role
...
Allow rolling-update to filter on roles
2018-05-11 10:50:30 -07:00
k8s-ci-robot
2644e6c0eb
Merge pull request #4991 from AliyunContainerService/network
...
Implement network task for AlibabaCloud
2018-05-11 10:09:28 -07:00
Justin Santa Barbara
bc79f0a69b
tests: failing test when multiple egress
...
Also requires that the subnets be out of order, which is likely why we
didn't hit it in practice.
2018-05-10 13:28:05 -04:00
k8s-ci-robot
02ab1f90be
Merge pull request #5133 from relu/support-ec2-instance-nat-egresses
...
Add ability to use ec2 nat instance as egress
2018-05-10 08:22:53 -07:00
k8s-ci-robot
7d3bcb3260
Merge pull request #5112 from AdamDang/patch-31
...
Typo fix in returned message: formated->formatted
2018-05-09 19:26:04 -07:00
Aurel Canciu
cc8371cb31
Add ability to use ec2 nat instance as egress
2018-05-09 23:04:54 +03:00
Justin Santa Barbara
ffd57062aa
Allow rolling-update to filter on roles
...
This is important for the e2e upgrade tests
2018-05-09 12:00:12 -04:00
Justin Santa Barbara
81d5f06a58
Unify create-create overrides and set-cluster fields
...
Supports e2e upgrade tests
2018-05-09 11:55:44 -04:00
AdamDang
ad8de4abd3
Update validate.go
2018-05-09 23:33:48 +08:00
AdamDang
a7f89416b6
Typo fix: formated->formatted
...
formated->formatted
2018-05-06 23:22:44 +08:00
AdamDang
d8bf642e0d
Update create_cluster.go
2018-05-03 20:20:46 +08:00
k8s-ci-robot
7ff94b6f6a
Merge pull request #4668 from usabilla/deep-merge
...
Perform deep merge for template values
2018-05-02 12:23:17 -07:00
Julien SENON
1408fc9aca
Remove unecessary println, add comment for /Users/julien and windows, update docs
2018-04-22 16:50:14 +02:00
Julien SENON
6425032795
Add feature with config file, flags, and env order
2018-04-22 16:45:46 +02:00
Julien SENON
9c9a65c53e
Add feature state store
2018-04-22 16:45:45 +02:00
Povilas Versockas
8bfa93c304
Add public ssh keys for GCE
2018-04-21 20:15:29 +03:00
Mike Splain
ccb688c468
Add Replace and delete for SSH Secret YAML
2018-04-19 21:39:39 -04:00
xh4n3
2bdb9ede97
add user-agent for statistic purpose, add dep
2018-04-19 20:57:56 +08:00
LilyFaFa
ad9cf7d3e2
init ALICloud and add network Model
2018-04-19 20:48:40 +08:00
mahuihuang
42a7606cf8
fix typo
2018-04-09 11:26:18 +08:00
Gijs Kunze
50f411f51a
Removes unneccessary if block
2018-04-03 11:04:26 +02:00
sunlintong
dc388698a0
Ouput --> Output
2018-04-03 16:07:52 +08:00
k8s-ci-robot
fc1bed4353
Merge pull request #4224 from nebril/cilium-support
...
Add Cilium as CNI plugin
2018-03-26 07:49:02 -07:00
Gijs Kunze
adf12b516a
Added new file to bazel and ran gofmt
2018-03-26 10:13:34 +02:00
Gijs Kunze
821cdf32ab
Updated copyright header and added link to original source
2018-03-26 10:13:34 +02:00
Gijs Kunze
0ae059227a
Perform deep merge for template values
2018-03-26 10:13:34 +02:00
Justin Santa Barbara
51cc74c783
lifecycle tests: check no legacy tags on shared resources
2018-03-26 00:20:07 -04:00
Justin Santa Barbara
a34792d3a5
Add lifecycle tests for legacy tags
2018-03-25 16:21:29 -04:00
Justin Santa Barbara
afa0577749
Check tags in lifecycle tests
...
We want to make sure that everything owned is tagged as such, and that
some shared resources (in particular subnets) are tagged as such.
2018-03-25 15:55:44 -04:00
Justin Santa Barbara
1edd7d49fa
Add deletion to lifecycle test
2018-03-24 16:30:40 -04:00
k8s-ci-robot
bc56319d35
Merge pull request #4739 from szemek/fix/typos
...
Fixed typos
2018-03-21 08:59:03 -07:00
Przemysław Dąbek
a94eee33c8
cluser => cluster
2018-03-21 07:35:12 +01:00
Justin Santa Barbara
63e51337c0
Validation: treat as error if insufficient nodes
...
We switch to use the rolling update logic, which gives us nodes by
InstanceGroup.
2018-03-20 23:28:27 -04:00
Justin Santa Barbara
3f8edb34a9
Validation: simplify output rendering
2018-03-20 22:01:47 -04:00
Justin Santa Barbara
02d9819785
Move DNS validation into validation
2018-03-20 19:56:36 -04:00
k8s-ci-robot
717eb4f6c5
Merge pull request #4734 from justinsb/int_validation_fix_3
...
Validation: Take a cluster object, not just the name
2018-03-20 13:25:02 -07:00
k8s-ci-robot
963eb0d512
Merge pull request #4733 from justinsb/int_validation_fix_2
...
Validation: clean up unused node status functions
2018-03-20 11:01:02 -07:00
Maciej Kwiek
bca52dede9
Add Cilium as CNI plugin
...
Signed-off-by: Maciej Kwiek <maciej@covalent.io>
2018-03-20 13:07:26 +01:00
Justin Santa Barbara
1b0f5a4101
Validation: clean up unused node status functions
2018-03-20 01:16:48 -04:00
Justin Santa Barbara
55e3a5f212
Validation: Take a cluster object, not just the name
2018-03-20 01:12:07 -04:00
Justin Santa Barbara
07309d4824
Validation: start to differentiate between validation failure and errors during validation
2018-03-20 00:55:59 -04:00
Stephen Roylance
70815ebaf9
hacks for tests on windows
2018-03-19 16:34:36 -04:00
Justin Santa Barbara
6ff56e2f05
Fix shared network objects
...
RouteTables should be created (and owned) only for non-shared subnets.
2018-03-18 17:09:30 -04:00
Justin Santa Barbara
8a476a6981
Fix cluster name for phases test
2018-03-15 20:11:54 -04:00
Justin Santa Barbara
342bb766c9
Enable some shared tests scenarios
2018-03-15 20:11:54 -04:00
Justin Santa Barbara
7af6f42e8b
Tests: create vpc-12345678 & nat-12345678
2018-03-15 20:11:54 -04:00
k8s-ci-robot
4ad014647b
Merge pull request #4654 from justinsb/private_topology_roundtrip_test
...
More mocks - sufficient for privatecalico to roundtrip
2018-03-12 22:59:11 -07:00
Justin Santa Barbara
5d36f9e37d
Update kops version in tests
...
We need to satisfy the new minimum supported version.
2018-03-12 02:17:49 -04:00
Justin Santa Barbara
ab7439b360
More mocks - sufficient for privatecalico to roundtrip
2018-03-11 23:12:22 -04:00
Justin Santa Barbara
85b972bc28
Fill out cloudmock to do a basic lifecycle test
2018-03-11 17:04:30 -04:00
Justin Santa Barbara
c121e7f14e
Create lifecycle test against AWS mocks
...
We create a cluster, run kops update, then run kops update again. We
expect no changes on the second update.
2018-03-11 17:04:30 -04:00
Kyle Rockman
b80cab6d87
change based on PR feedback
2018-03-09 10:17:18 -06:00
Kyle Rockman
3b9384a23c
Add cluster name environment variable
...
- Add an environment variable to configure cluster name
- Expose envionrment variable in CLI documentation
2018-03-09 10:14:00 -06:00
chrislovecnm
1927d2be7e
Updates for Bazel tests and cleaning up go sdk
...
Enabling sharded tests for our slower tests, and removing the go
commands to download a specific sdk.
2018-03-01 17:14:10 -07:00
k8s-ci-robot
1c75f47510
Merge pull request #4526 from mad01/custom-ca
...
custom ca new implementation of #2924
2018-03-01 12:52:28 -08:00
Alexander Brandstedt
62ab65e8e3
implementation custom ca cert and key #2924
...
- implementing as new subcommand keypair to secret
- rename of LoadPEMCertificate to ParsePEMCertificate to have
the same naming of parsing of certificate/private key bytes in
the same package result is
pki.ParsePEMPrivateKey(privateKeyBytes)
pki.ParsePEMCertificate(certBytes)
2018-03-01 09:50:04 +01:00
k8s-ci-robot
0ff7d4de99
Merge pull request #4452 from duboisf/support-bastion-user-data
...
Add support for bastion aws user-data
2018-02-28 03:54:45 -08:00
k8s-ci-robot
0ab8b57c2a
Merge pull request #4493 from justinsb/vfs_streaming
...
VFS: WriteFile takes an io.ReadSeeker
2018-02-26 15:50:45 -08:00
chrislovecnm
222dec0b9a
Refactoring to camel case variable names
...
Follow-up PR to remove variables with snake case, and replace them with
camel case.
2018-02-26 13:40:43 -07:00
k8s-ci-robot
e317a5ab00
Merge pull request #4381 from justinsb/kops_set_cluster_1
...
Experimental kops set cluster command
2018-02-26 10:58:45 -08:00
Mike Splain
45a57915e2
Fix bazel deprecation notice
2018-02-26 09:36:13 -05:00
Justin Santa Barbara
6f52996c2a
Experimental kops set cluster command
...
Introduce an experimental kops set cluster command, for setting
individual fields in the same style as the kops create cluster
--override flags.
For now, feature flag gated by the same SpecOverrideFlag feature flag.
Also split out pkg/commands package to facilitate testing.
2018-02-26 09:33:16 -05:00
Justin Santa Barbara
412cf377c2
VFS: WriteFile takes an io.ReadSeeker
...
Means we don't have to buffer big files in memory, in combination with
WriteTo for reading.
2018-02-26 09:09:17 -05:00
Justin Santa Barbara
b68f58d746
Change NewAssetBuilder to take a kops.Cluseter
2018-02-22 21:42:40 -08:00
chrislovecnm
71c8fa4b3a
Updating variables to use Camel Case
...
I am fixing the work where I used snake case variables instead of camel
case. Go likes camel case much better. This commit is only a refactor
of names.
2018-02-19 20:57:58 -07:00
chrislovecnm
64439b4846
updating cli documentation for override-lifecycles
2018-02-19 13:27:08 -07:00
chrislovecnm
13ff0875e5
adding flag options to update_cluster for the user to pass in overrides
2018-02-19 13:27:07 -07:00
Fred Dubois
6b38b2c3a6
Add support for bastion aws user-data
...
Fixes #4444
2018-02-19 08:52:10 -05:00