Commit Graph

208 Commits

Author SHA1 Message Date
chrislovecnm 609e268a1d gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
chrislovecnm 1e418c3e13 more goimport updates 2017-11-04 10:03:02 -06: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 0143be7c4f autogen: BUILD and BUILD.bazel 2017-10-02 14:27:21 -04:00
Kubernetes Submit Queue 0905e71741 Merge pull request #3411 from justinsb/mirror_stores
Automatic merge from submit-queue.

Mirror keystore & secretstore
2017-09-30 23:08:33 -07:00
Justin Santa Barbara a5d72ca190 DRY FindAutoscalingGroups by removing from resources pkg 2017-09-30 17:39:53 -04:00
Justin Santa Barbara 559d885480 Mirror keystore & secretstore
This allows us to have our API objects in kops-server, but our
configuration on S3 or GCS.
2017-09-24 00:09:02 -04:00
Justin Santa Barbara 914fe68ee2 SecretStore and CAStore implementations backed by API
Not yet wired in
2017-09-17 23:01:13 -04:00
Justin Santa Barbara a16c8b1500 Refactor PKI classes into their own package
This will support generation of keys on the node.
2017-08-27 08:14:55 -04:00
chrislovecnm ee17e6567c starting work on file assets builder 2017-08-18 13:04:12 -06:00
Justin Santa Barbara 0115ece62d Remap pause image through our AssetBuilder 2017-07-22 00:35:37 -04:00
Justin Santa Barbara e945322cab Support generated clientset as alternative to vfs clientset
We modelled our VFS clientset (for API objects backed by a VFS path)
after the "real" clientsets, so now it is relatively easy to add a
second implementation that will be backed by a real clientset.

The snafu here is that we weren't really using namespaces previously.
Namespaces do seem to be the primary RBAC scoping mechanism though, so
we start using them with the real clientset.

The namespace is currently inferred from the cluster name.  We map dots
to dashes, because of namespace limitations, which could yield
collisions, but we'll deal with this by simply preventing users from
creating conflicting cluster names - i.e. you simply won't be able to
create a.b.example.com and a-b.example.com
2017-06-20 22:29:37 -04:00
Justin Santa Barbara d2df318ecc Move CloudProvider to kops API
This avoids a circular reference when breaking up the fi package
2017-06-17 16:27:07 -04:00
andrewsykim e8c99ee72e removes cluster delete code in upup/pkg/kutil duplicated in pkg/resources and puts instancegroup and rollingupdate code into its own packges 2017-06-10 15:21:06 -04:00
andrewsykim 440976074d Move cluster delete files to pkg/resources 2017-04-08 10:14:15 -04:00
andrewsykim 823e8a5c64 fix GCE disk dependency bug : resource tracker for instance is type:name and not type:id 2017-04-01 18:08:09 -04:00
Justin Santa Barbara 04b3d10ed0 Merge pull request #2218 from andrewsykim/gce-cloud-dns-fix
[GCE] Only apply dns changes if records were removed
2017-03-28 20:01:00 -04:00
andrewsykim b68815e930 Only apply dns changes if records were removed 2017-03-28 17:28:41 -04:00
Justin Santa Barbara 2817e49bd6 Refactor kubeconfig building 2017-03-28 10:10:14 -04:00
Kris Nova 5fdee1ad1f Merge pull request #2204 from kris-nova/uas
API Server - rebased on 1.6 vendor changes, and compiling main.go
2017-03-28 15:48:36 +02:00
Justin Santa Barbara 4fdded6e4b Fixes for updated apiserver/apimachinery 2017-03-28 06:10:21 +02:00
Justin Santa Barbara 8b4ce49e9b Initial work on UAS 2017-03-28 06:10:21 +02:00
Justin Santa Barbara c9ac0cdbd8 Support GCE ForwardingRule (LoadBalancer) for API
Also lots of GCE cleanup
2017-03-28 00:00:20 -04:00
Justin Santa Barbara 19f59957e4 Merge pull request #2187 from andrewsykim/gce-delete-dns-records
Delete Cloud DNS record sets in GCE
2017-03-27 22:59:47 -04:00
Justin Santa Barbara ff9a13ce32 Merge pull request #1875 from andrewsykim/rolling-update-tests
Rolling Update Unit Tests
2017-03-27 22:54:02 -04:00
andrewsykim 8cd9c327dc Delete cloud dns record sets in GCE 2017-03-26 21:03:26 -04:00
andrewsykim 976b54f398 unit tests for rolling updates 2017-03-24 20:23:55 -04:00
chrislovecnm 348237a8ae Removing node parrallelism with multiple ig 2017-03-24 16:32:57 -06:00
Justin Santa Barbara cb4641fea3 Code updates 2017-03-16 02:40:50 -04:00
chrislovecnm 7afe201955 removing drain code 2017-03-01 16:16:58 -07:00
chrislovecnm 04a3637b38 fixes in drain and code format 2017-03-01 14:01:51 -07:00
chrislovecnm 864007d78d Fixing oddness with deploy evicts, updated logging, more tweaks in drain 2017-03-01 11:46:50 -07:00
chrislovecnm c3a7244102 More PR review changes, improving drain, and fixing a couple bugs 2017-03-01 11:46:36 -07:00
chrislovecnm f50c81bc46 PR review tweaks and backing out some changes in rollingupdate_cluster.go 2017-03-01 11:46:06 -07:00
chrislovecnm deb5685c23 updates to cobra docs 2017-03-01 11:42:48 -07:00
chrislovecnm cb58858b18 Updates for pr review and backing out validate_cluster changes 2017-03-01 11:42:20 -07:00
chrislovecnm 286455a608 Validate and drain with rolling update set via new feature flag DrainAndValidateRollingUpdate 2017-03-01 11:40:30 -07:00
Justin Santa Barbara 32081f3ca6 Reuse k8s drain code
This depends on https://github.com/kubernetes/kubernetes/pull/42115
2017-03-01 11:39:57 -07:00
chrislovecnm 7e0ac01bbc Fixing oddness with deploy evicts, updated logging, more tweaks in drain 2017-03-01 11:39:57 -07:00
chrislovecnm da763ea1e5 More PR review changes, improving drain, and fixing a couple bugs 2017-03-01 11:39:56 -07:00
chrislovecnm a848f577a2 PR review tweaks and backing out some changes in rollingupdate_cluster.go 2017-03-01 11:39:56 -07:00
chrislovecnm 9d30e532ce updates to cobra docs 2017-03-01 11:39:56 -07:00
chrislovecnm 312fb828a4 Updates for pr review and backing out validate_cluster changes 2017-03-01 11:39:56 -07:00
chrislovecnm b7b0bca1fc Validate and drain with rolling update set via new feature flag DrainAndValidateRollingUpdate 2017-03-01 11:39:56 -07:00
Justin Santa Barbara 645f330dad Re-enable GCE support
We move everything to the models.  We feature-flag it, because we
probably want to change the names etc, and we aren't going to be able to
offer smooth upgrades until that is done.
2017-02-28 20:08:03 -05:00
Kris Nova 91114fb7f5 Disable cf delete 2017-02-27 09:56:51 -07:00
Justin Santa Barbara 4e5b3c56ba Merge pull request #1990 from justinsb/fix_nat_gateway_output
Remove printf from delete cluster
2017-02-24 08:17:34 -05:00
Kris Nova 514f11f8fb gofmt 2017-02-23 23:32:57 -08:00
Kris Nova 14f01fb904 Add back to list 2017-02-23 23:32:27 -08:00
Kris Nova 946208257f Adding filter for cluster names 2017-02-23 23:31:09 -08:00