Commit Graph

168 Commits

Author SHA1 Message Date
k8s-ci-robot 994a348cb4
Merge pull request #4569 from justinsb/mock_aws_roundtrip
Create lifecycle test against AWS mocks
2018-03-11 16:11:10 -07: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 b677684c9e typo: anmed -> named 2018-03-11 12:57:50 -04:00
k8s-ci-robot d1e7128da6
Merge pull request #4633 from chrislovecnm/verify-fail-output
Updating verify scripts so that output is highlighted
2018-03-10 16:58:09 -08:00
chrislovecnm 4e989bccfb Updating verify scripts so that output is highlighted
When a verify script fails we now output the word 'FAIL' at the start of the message
so that it is highlighted in the build logs.
2018-03-09 14:39:06 -07:00
chrislovecnm f785d2bd12 patching with PR 4598, need to remove this commit 2018-03-09 14:22:12 -07:00
k8s-ci-robot 5c1518dbda
Merge pull request #4561 from chrislovecnm/new-bazel-version
Bumping gazelle version on bazel scripts
2018-03-02 14:27:54 -08:00
chrislovecnm 07b1ae9e66 Bumping gazelle version on bazel scripts 2018-03-02 13:03:41 -07:00
chrislovecnm 2e0d7fb92b Adding script to test that apimachinery is up to date
Added a bash script to run a make target that tests that apimachinery is
up to date.  I updated the existing make target so that we can pass in a
flag which enables validation only, and not generation.
2018-03-01 18:25:20 -07:00
chrislovecnm 0efb600c72 Updating gazelle sha in bazel scripts 2018-02-26 13:03:19 -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
chrislovecnm fe790df0ce fixing bazel files to pass CI 2018-02-23 17:36:43 -07:00
chrislovecnm 798d40b4a2 updating functionality to verify bazel build files 2018-02-23 17:36:42 -07:00
Justin Santa Barbara e4fafa6065 Use legacy image registry gcr.io/google_containers for <= 1.9
The k8s.gcr.io prefix is an alias, but for CI builds we run from a
docker load, and we only double-tag from 1.10 onwards.  For versions
prior to 1.10, remap k8s.gcr.io to the old name.  This also means that
we won't start using the aliased names on existing clusters, which could
otherwise be surprising to users.
2018-02-22 21:42:33 -08:00
k8s-ci-robot c37eab74ca
Merge pull request #4435 from chrislovecnm/remove-submodules
Remove submodules
2018-02-19 14:54:38 -08:00
chrislovecnm 0ccd413f82 Fixing problems in dev build script example 2018-02-13 10:22:38 -07:00
chrislovecnm 6a7d80a49a removing old python file for updating submodules 2018-02-12 21:45:13 -07:00
k8s-ci-robot 27c8ddc09d
Merge pull request #4382 from justinsb/try_dep
Use dep to maintain vendor directory
2018-02-12 16:24:49 -08:00
Kashif Saadat ac25853cd5 - Add etcdClusterSpec Image & Version in bootstrap data for Master nodes
- Reuse execWithTee fn for ETCD Command (tee & mkfifo in different path for newer image versions)
2018-02-10 12:14:36 +00:00
Justin Santa Barbara 9fbbbcb76a Add hack/dep.py to check dep status against k8s Godeps.json 2018-02-04 21:52:34 -05:00
Justin Santa Barbara 7dfca05c09 Remove federation support
As it has been removed from upstream kubernetes, in favor of the
multicluster revamp.
2018-02-03 16:53:39 -05:00
Kashif Saadat e315c350be Implement ability to update Load Balancer subnets 2018-01-17 11:57:29 +00:00
k8s-ci-robot 48365c3883
Merge pull request #4194 from justinsb/kubedisco
Add experimental kube-discovery
2018-01-04 18:08:12 -08:00
Justin Santa Barbara ec8db8b78c Initial implementation of bundle command
The bundle command will support enrollment of a machine via SSH.
2018-01-04 18:55:28 -05:00
Justin Santa Barbara b8b426b800 Add experimental kube-discovery
To split off master discovery from protokube.
2018-01-04 13:29:43 -05:00
Justin Santa Barbara bf24a6443c Avoid ListSecrets call in nodeup
This helps up with GCE permissions, but also helps us get rid of auth
tokens.
2017-12-19 11:45:04 -05:00
Kubernetes Submit Queue dd49d69399
Merge pull request #3254 from chrislovecnm/file-assets
Automatic merge from submit-queue.

work on using files assets

Basic MVP for file assests.

- using file assest builder
- able to upload files
- using URL structs instead of strings everywhere
2017-12-17 16:10:23 -08:00
Kubernetes Submit Queue 7768729cf2
Merge pull request #3832 from justinsb/cleanup_ssh
Automatic merge from submit-queue.

Refactor: separate out SSHCredentials from Keyset stores
2017-12-17 15:05:09 -08:00
chrislovecnm 7057aaf1bb Enabling the file assets
File assets and the SHA files are uploaded to the new location. Files
when are users uses s3 are upload public read only. The copyfile task
uses only the existing SHA value.

This PR include major refactoring of the use of URLs.  Strings are no
longer categnated, but converted into a URL struct and path.Join is
utlilized.

A new values.go file is included so that we can start refactoring more
code out of the "fi" package.

A
2017-12-17 15:26:57 -07:00
Kubernetes Submit Queue b44d894813
Merge pull request #3860 from justinsb/batching
Automatic merge from submit-queue.

Copy dnsprovider into our code, implement route53 batching

Fixes #3121
2017-12-15 15:44:12 -08:00
Justin Santa Barbara 6d166a41dd Refactor protokube hosts file into its own package
So we can bring this in without our gossip layer

This supports an imminent implementation that uses DNS-SD
2017-12-15 01:22:51 -05:00
Justin Santa Barbara 1cceb8ed9e Update hack/.packages 2017-12-13 21:32:21 -05:00
Justin Santa Barbara 509b83ac7a Refactor: separate out SSHCredentials from Keyset stores
We've done this in the API already, but we had a single CAStore
interface that did Keysets and SSHCredentials.  Separate out
SSHCredentials into SSHCredentialStore, and start using API objects as
our primary representation.
2017-12-13 20:16:59 -05:00
Arto Jantunen 53669b8217 Make ELB somewhat mockable 2017-11-28 11:48:57 +02:00
zengchen1024 0949d597b7 build volume task 2017-11-20 11:52:19 +08:00
zengchen1024 76b9aebafb update hack/.package 2017-11-13 17:03:30 +08:00
chrislovecnm 30acda868a updating to bazel 0.0.7 and adding verify scripts 2017-11-04 20:59:01 -06:00
Kubernetes Submit Queue b02c3a269c
Merge pull request #3726 from justinsb/storage_acls
Automatic merge from submit-queue.

GCS: Use ACLs for GCE permissions

This needs less permissions, but also allows for more granular control over
access to files than whole-bucket permissions that IAM gives us.
2017-10-29 20:18:51 -07:00
Justin Santa Barbara b2bcba4a6d GCE: Use object-level permissions for files in GCS
This lets us configure cross-project permissions while ourselves needing
minimal permissions, but also gives us a nice hook for future lockdown
of object-level permissions.
2017-10-29 19:17:00 -04:00
Justin Santa Barbara 1f0601126c Refactor gce resources into pkg/resources/gce
Should be a no-op refactor
2017-10-29 18:37:23 -04:00
Justin Santa Barbara 66e74fac6a Rename pkg/resources/utils -> pkg/resources/ops
That seems to be what utils really is.
2017-10-29 16:32:48 -04:00
Justin Santa Barbara a18363f059 Refactor toolbox dump & dump structured instances
This will enable log collection even if nodes don't register.

AWS: Dumps ids & addresses
GCE: Dumps names - addresses to follow
Others: Not yet!
2017-10-28 14:46:28 -04:00
Kubernetes Submit Queue a4d6895472 Merge pull request #3707 from andrewsykim/droplet
Automatic merge from submit-queue.

Implement DigitalOcean Droplet FI Task

Implements cloudup fi tasks for DigitalOcean droplets. It makes a few assumptions to reduce the size of this PR, those will be addressed in future PRs. 

Also does some cleanup in the DigitalOcean `dns` package.
2017-10-27 08:30:57 -07:00
andrewsykim 45bf2cb3a7 Implement DigitalOcean Droplet FI Task 2017-10-27 09:48:42 -04:00
Justin Santa Barbara ed2dab1af5 kops-server: ig short-name
Also cleanup the shared REST subclass
2017-10-23 00:55:55 -04:00
Justin Santa Barbara 56ecd4ac14 Add missing hack/make-gendocs.sh script 2017-10-09 01:29:54 -04:00
Justin Santa Barbara 38ea16a4ae GCE: Fix subnets vs zones formatting of instance groups 2017-10-03 13:42:14 -04:00
Justin Santa Barbara 544990842a More fixes for 1.8 API changes 2017-10-01 23:02:32 -04:00