Commit Graph

70995 Commits

Author SHA1 Message Date
Renan Gonçalves
5cd3c00dba
Combine creating a volume and applying tags in one operation
The previous version forced us to create AWS IAM Policies that are too
permissive when dealing with volumes. That's because:

1. Volumes were created without tags that identifies the new resource as
managed by the cluster. So technically the resourse, at creation time,
is not owned by the cluster.

2. Tags were added to the volume making the resource now managed by the
cluster. The problem being that it could make ANY volume as managed by the
cluster. Thus allowing resources that aren't really part of the cluster,
or part of no cluster at all, to become a resource managed by the cluster.

By combining the operations we can both make the code simpler, since we
don't need to deal with deleting a volume in case we can't apply tags to
it, plus the security model gets a nice improvement.
2018-10-17 11:14:01 +02:00
k8s-ci-robot
7de4c007f7
Merge pull request #69858 from losipiuk/jobs-rbac
Grant permissions for batch/job to cluster-autoscaler
2018-10-17 01:22:14 -07:00
k8s-ci-robot
ec87d22dea
Merge pull request #66057 from xujieasd/cleanLeacyBindAddr-test
add UT code for cleanLegacyBindAddr
2018-10-17 01:22:05 -07:00
k8s-ci-robot
399cade806
Merge pull request #69914 from mikedanese/trev8
add some helpers to Audiences to find intersecting audiences
2018-10-17 00:04:37 -07:00
k8s-ci-robot
a3e6c3c0a0
Merge pull request #69900 from php-coder/update_owners_files
Remove myself from OWNERS files
2018-10-17 00:04:27 -07:00
k8s-ci-robot
ce7e7e3c34
Merge pull request #68656 from smarterclayton/correct_cordon_errors
Consistently print errors to stderr and add newlines to cordon
2018-10-16 22:10:44 -07:00
k8s-ci-robot
2c738b9861
Merge pull request #63618 from tallclair/addon-resizer
Fix addon-resizer version - 1.8.1
2018-10-16 20:39:44 -07:00
xujieasd
4eab9406fa add UT code for cleanLegacyBindAddr
gofmt modify

change api to v1
2018-10-17 11:04:26 +08:00
Mike Danese
01ce5bb8a4 add some helpers to Audiences to find intersecting audiences 2018-10-16 20:01:58 -07:00
k8s-ci-robot
c585d13e36
Merge pull request #69854 from andyzhangx/azurefile-permission
change default azure file mount permission to 0777
2018-10-16 19:26:25 -07:00
k8s-ci-robot
a630801eec
Merge pull request #69832 from ixdy/no-qemu-in-cross-build
Move hyperkube symlink creation to base image and re-enable building of conformance image
2018-10-16 19:26:16 -07:00
k8s-ci-robot
bba6e2583e
Merge pull request #69739 from mortent/UnflakeCmdRsTest
Remove flaky test by avoiding reuse of name for replicaset
2018-10-16 19:26:05 -07:00
k8s-ci-robot
31438712d6
Merge pull request #69269 from miguelbernadi/fix-golint-issues-68026
Fix undocumented golint errors
2018-10-16 19:25:56 -07:00
k8s-ci-robot
1e4ad048fa
Merge pull request #67763 from rosti/join-discovery-split
kubeadm: Split discovery from JoinConfiguration
2018-10-16 19:25:47 -07:00
k8s-ci-robot
ee4346651c
Merge pull request #69800 from xichengliudui/fix181015
Fixing grammatical errors
2018-10-16 17:53:20 -07:00
k8s-ci-robot
46ad1ed00b
Merge pull request #69757 from Huang-Wei/e2e-unbound-var
fix issue that e2e script exits due to unbound variables
2018-10-16 17:53:11 -07:00
k8s-ci-robot
5a0220a6d8
Merge pull request #69387 from mcrute/master
fix golint for pkg/cloudprovider/providers/aws
2018-10-16 17:53:02 -07:00
k8s-ci-robot
7277d46945
Merge pull request #69199 from dstrebel/patch-1
Cleaned Up Sig-Azure
2018-10-16 17:52:53 -07:00
k8s-ci-robot
1d3d1e8968
Merge pull request #68518 from leakingtapan/golint-fix-volume-empty-dir
fix golint issues for pkg/volume/empty_dir
2018-10-16 17:52:44 -07:00
k8s-ci-robot
851444f382
Merge pull request #68300 from yliaog/e2e-api
Upgraded e2e/apimachinery/aggregator to 1.10 Sample API server
2018-10-16 16:23:17 -07:00
Miguel Bernabeu
acf78cd613 Fix golint errors when generating informer code 2018-10-17 00:25:28 +02:00
Slava Semushin
14c969b604 Remove myself from OWNERS files. 2018-10-16 22:47:44 +01:00
Jeff Grafton
c761f779fc Base conformance image on debian-hyperkube-base:0.11.0 and reenable by default 2018-10-16 14:01:23 -07:00
Jeff Grafton
2d46adaec4 Use debian-hyperkube-base:0.11.0 and remove qemu registration 2018-10-16 14:01:23 -07:00
Jeff Grafton
fbbb863433 Create hyperkube symlinks in base image 2018-10-16 14:01:23 -07:00
k8s-ci-robot
ef195428a0
Merge pull request #69790 from WanLinghao/clean_packages
clean all unused packages under pkg/util
2018-10-16 13:02:01 -07:00
k8s-ci-robot
08be38186d
Merge pull request #69755 from mrunalp/use_fsync
Use fsync instead of sync for test
2018-10-16 13:01:52 -07:00
k8s-ci-robot
d169696b2e
Merge pull request #69622 from fabriziopandini/kubeadm-add-phase-runner
kubeadm refactor cmd init
2018-10-16 13:01:42 -07:00
k8s-ci-robot
c2d9321044
Merge pull request #69340 from stevesloka/fixHostNameOverride
Allow hostname-override arg to be used if specified
2018-10-16 13:01:32 -07:00
k8s-ci-robot
2a733afaee
Merge pull request #69839 from dims/tolerate-http-and-https-along-with-git-in-repo-urls
tolerate both http(s) and git urls for cherry_pick_pull
2018-10-16 10:03:13 -07:00
k8s-ci-robot
dbd3be9213
Merge pull request #67695 from ipuustin/start-kubemark
start-kubemark.sh: clean up the shell script.
2018-10-16 10:03:04 -07:00
Clayton Coleman
c291d3d7ed
Consistently print errors to stderr and add newlines to cordon 2018-10-16 11:16:15 -04:00
Anago GCB
95c99eb052 Update CHANGELOG-1.10.md for v1.10.9. 2018-10-16 13:47:04 +00:00
k8s-ci-robot
151830e45f
Merge pull request #69657 from Huang-Wei/e2e-NoExecuteTaintManager
enable and improve e2e of NoExecuteTaintManager
2018-10-16 06:44:03 -07:00
Rostislav M. Georgiev
576b8d3f4f kubeadm: Split discovery from JoinConfiguration
This change splits out discovery fields from JoinConfiguration by performing
the following changes:

- Introduce a BootstrapTokenDiscovery structure, that houses configuration
  options needed for bootstrap token based discovery.

- Introduce a FileDiscovery structure, that houses configuration options
  (currently only a single option) needed for KubeConfig based discovery.

- Introduce a Discovery structure, that houses common options (such as
  discovery timeout and TLS bootstrap token) as well as pointer to an instance
  of either BootstrapTokenDiscovery or FileDiscovery structures.

- Replace the old discovery related JoinConfiguration members with a single
  Discovery member.

This change is required in order to cleanup the code of unnecessary logic and
make the serialized JoinConfiguration more structured (and therefore, more
intuitive).

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-10-16 15:25:32 +03:00
fabriziopandini
68b4286ae0 cmd init refactor 2018-10-16 11:38:42 +02:00
k8s-ci-robot
551501f9a6
Merge pull request #69693 from posquit0/patch-1
Fix typo in CHANGELOG-1.10.md
2018-10-16 02:16:46 -07:00
Łukasz Osipiuk
80e66596a5 Grant permissions for batch/job to cluster-autoscaler 2018-10-16 10:46:46 +02:00
k8s-ci-robot
96670e4fc7
Merge pull request #69127 from daixiang0/master
correct kubelet service file permission
2018-10-16 01:02:22 -07:00
andyzhangx
ccac3a51f3 change azure file mount permission to 0777 2018-10-16 07:51:05 +00:00
k8s-ci-robot
21cb721ca2
Merge pull request #69842 from liggitt/etcd2-cleanup
etcd2 code cleanup, remove deserialization cache
2018-10-15 23:27:56 -07:00
Jordan Liggitt
c8db31b84a etcd2 code cleanup, remove deserialization cache 2018-10-15 22:17:44 -04:00
k8s-ci-robot
cf3a930938
Merge pull request #69607 from mikedanese/audctx
tokenreview: add APIAudiences config to generic API server and augment context
2018-10-15 19:03:43 -07:00
Davanum Srinivas
0b15620ea3
tolerate both http(s) and git urls for cherry_pick_pull
Looks like the previous change broke for users who have cloned their
upstream using https instead of ssh. Here we explicit strip out the
prefixes like "http://", "https://" and "git@" before look for the repo
name and the org name.

Change-Id: I8fbfae8bfa209a954d36d3ada791dcf13070ec6d
2018-10-15 21:05:32 -04:00
k8s-ci-robot
e42f52150e
Merge pull request #69779 from dims/remove-last-traces-of-old-registry-name
Remove last traces of old registry name
2018-10-15 17:52:46 -07:00
Wei Huang
8726ed29ef
enable and improve e2e of NoExecuteTaintManager
- e2e test file cannot end with "_test.go". rename "taints_test.go" to "taints.go"
- test multiple pods case
2018-10-15 16:02:05 -07:00
Yu Liao
ce1e62fb1b Upgraded the test to 1.10 Sample API server. 2018-10-15 15:35:24 -07:00
Anago GCB
f6b54f79fb Add CHANGELOG-1.13.md for v1.13.0-alpha.1. 2018-10-15 22:07:16 +00:00
k8s-ci-robot
c7886f8ba4
Merge pull request #69828 from ironcladlou/e2e-psp-reentrancy-fix
Make CreatePrivilegedPSPBinding reentrant
2018-10-15 15:04:53 -07:00
k8s-ci-robot
c1c718e5ab
Merge pull request #69746 from seans3/printers-fix
kubectl: update to use correct printers package
2018-10-15 15:04:42 -07:00