feifei.zhang@huawei.com
48ebd260d3
fix golint failures
2019-11-24 16:38:58 +08:00
Guangming Wang
c295a49bb1
replace slice loop with append for simple and clear
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-08 20:21:09 +08:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB
76d03b3f71
Generated files: glog -> klog
2019-05-06 12:56:03 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Zhenhai Gao
6bba0b6fcd
Fix log warning info
...
Signed-off-by: gaozhenhai <gaozh1988@live.com>
2018-11-24 17:19:29 +08:00
Justin Santa Barbara
62e8e17077
Code fixes for k8s 1.11 API changes
2018-09-28 20:14:45 -04:00
Justin Santa Barbara
32ec8d8253
SecurityGroups: recognize shared tag
2018-03-25 01:17:27 -04:00
Justin Santa Barbara
4a6b5bb61f
Move routetable detection to new logic
2018-03-24 18:26:39 -04:00
Haoyun
acae9d0cb5
fix function comment error
...
fix function comment error change ClientConfig -> SimpleClientConfig
```release-note
None
```
2018-03-24 12:47:58 +08:00
Justin Santa Barbara
0f6645a9d7
Move AWS resources into its own subpackage
2018-03-18 14:43:12 -04: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
Justin Santa Barbara
b68f58d746
Change NewAssetBuilder to take a kops.Cluseter
2018-02-22 21:42:40 -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
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