Commit Graph

70722 Commits (f2e2a930f94a25f7aadfed7be901b2a8bf96587c)

Author SHA1 Message Date
Antoine Pelisse f2e2a930f9 dry-run: Verify if the object supports dry-run
For each object, first we verify if they have a dryRun parameter in the
openapi for the patch verb. If we can't find the object, we assume that
CRD will behave like "namespace". So we check if namespace supports
dryRun. If it does, then we verify that the resource is a CRD.
2018-10-10 08:56:09 -07:00
Antoine Pelisse a0460a5238 dry-run: Create class to find if a type is a CRD
Finding out if a Group-version-kind is a CRD is useful, since we want to
detect dry-run ability differently for CRDs.
2018-10-10 08:56:09 -07:00
Antoine Pelisse ae735282ad Create a method to check dryRun is supported
We don't want to run dryRun requests against servers that don't support
dry-run, since they might ignore the flag and just persist the unwanted
changes.

This creates a new method that checks in the OpenAPI if the dryRun
parameter can be used.
2018-10-10 08:55:33 -07:00
k8s-ci-robot 1987a8559d
Merge pull request #69609 from x13n/patch-5
Add x13n to metadata-agent manifest OWNERS
2018-10-10 06:03:33 -07:00
k8s-ci-robot ccf6611c65
Merge pull request #69586 from neolit123/kubeadm-cleanup-init
kubadm: remove misleading message in `init`
2018-10-10 06:03:24 -07:00
k8s-ci-robot 1ba98bbd20
Merge pull request #69581 from code-sleuth/develop
Add table printer for resource quotas
2018-10-10 06:03:14 -07:00
k8s-ci-robot c487e67290
Merge pull request #69575 from fabriziopandini/Kubeadm-api-doc
kubeadm - improve api config documentation
2018-10-10 06:03:04 -07:00
k8s-ci-robot 85d52d8a2b
Merge pull request #65422 from islinwb/ipvs_fix
Improve the ipvs error message
2018-10-10 03:37:12 -07:00
Weibin Lin 73e3d8a081 Improve the ipvs error message 2018-10-10 16:16:58 +08:00
Daniel Kłobuszewski 299c7750ca
Add x13n to metadata-agent manifest OWNERS 2018-10-10 08:33:50 +02:00
k8s-ci-robot d3fe0ea7ff
Merge pull request #69318 from wgliang/feature/move-fakecache
[scheduler cleanup phase 1]: Move FakeCache to pkg/scheduler/internal…
2018-10-09 23:21:49 -07:00
k8s-ci-robot 85a8f97cb1
Merge pull request #68582 from jonfriesen/master
Fixes golint for pkg/probe
2018-10-09 21:14:46 -07:00
k8s-ci-robot 5442f9d482
Merge pull request #69592 from bsalamat/filterfunc
Remove pod status.phase check from pod event handlers
2018-10-09 17:41:15 -07:00
k8s-ci-robot 4033862616
Merge pull request #69406 from seans3/factory-client-access-fix
kubectl factory client access: Moves remaining internal references to remaining callers.
2018-10-09 14:44:28 -07:00
Bobby (Babak) Salamat 5f2555e3ad Remove pod status.phase check from pod event handlers 2018-10-09 13:39:04 -07:00
Sean Sullivan 54a73630f1 kubectl factory client access: Moves remaining internal references into callers 2018-10-09 13:34:30 -07:00
k8s-ci-robot 830e09cc96
Merge pull request #46517 from goblain/cli-port-forward-listen
port-forward listen on address
2018-10-09 12:38:55 -07:00
Lubomir I. Ivanov 28c936ea7f kubadm: remove misleading message in `init`
The message right before the kubelet boots up the control
plane is misleading because the image pulling is now part of
preflight.

Remove the message.
2018-10-09 22:27:12 +03:00
k8s-ci-robot 137193faaf
Merge pull request #69448 from seans3/env-resolve-fix
kubectl env resolve: copy core fieldpath and resource dependencies into kubectl
2018-10-09 11:25:43 -07:00
k8s-ci-robot 48086eb7d4
Merge pull request #69543 from seans3/rollback-fix
kubectl rollback: remove duplicated code for printing pod template
2018-10-09 10:14:39 -07:00
k8s-ci-robot 637ba154c8
Merge pull request #65189 from juanvallejo/jvallejo/path-fixes-cmd-copy
fix paths w shortcuts when copying from pods
2018-10-09 10:14:28 -07:00
Ibrahim Mbaziira 6c3d9cd300
Add table printer for resource quotas 2018-10-09 20:00:28 +03:00
fabriziopandini 17cf652783 kubeadm-improve-apidoc 2018-10-09 17:40:05 +02:00
k8s-ci-robot 686b37ff9b
Merge pull request #69565 from jsafrane/fix-contianerized-subpath
Fixed subpath in containerized kubelet.
2018-10-09 07:49:30 -07:00
juanvallejo e55a28d169
fix paths w shortcuts when copying from pods
Addresses an issue where copying from a remote location containing path
shortcuts (podName:../../../tmp/foo) causes an index out of range panic.
2018-10-09 10:27:54 -04:00
k8s-ci-robot 4966faab36
Merge pull request #69522 from wojtek-t/fix_env_setup
Fix overwriting env variables in kube-apiserver manifest
2018-10-09 04:46:12 -07:00
Jan Safranek 0b8c472578 Fixed subpath in containerized kubelet.
IsNotMountPoint should return no error when the checked directory does not
exists - missing directory can't be mounted. Therefore containerized
kubelet should check if the target exists first before resolving symlinks.
EvalHostSymlinks() returns indistinguishible error in case the path does
not exist.
2018-10-09 13:11:23 +02:00
k8s-ci-robot 9ba74cb5b5
Merge pull request #69251 from yue9944882/bugfix/pass-handler-context-to-nodegetter
Pass server handler context to storage nodeGetter
2018-10-09 02:14:51 -07:00
k8s-ci-robot 4ba5db087a
Merge pull request #69550 from tallclair/runtimeclass-spec
Allow an empty "" runtimeHandler
2018-10-09 01:06:20 -07:00
k8s-ci-robot f9acfd8e38
Merge pull request #69527 from liggitt/remove-quorum
Remove deprecated --etcd-quorum-read flag
2018-10-08 23:38:02 -07:00
k8s-ci-robot 7ae384fba6
Merge pull request #69511 from RA489/constfilerename
util/config` packages; filenames and methods should be updated to use…
2018-10-08 22:28:22 -07:00
k8s-ci-robot 321313b19e
Merge pull request #69004 from mgdevstack/master-pods-websocket-conformance
Promote pod's websocket based NodeConformance tests to Conformance
2018-10-08 22:28:12 -07:00
k8s-ci-robot 1d2e10c7c6
Merge pull request #69541 from justinsb/remove_unnecessary_mkdir
Remove superfluous MkdirAll from MakeTempDirOrDie
2018-10-08 20:55:30 -07:00
k8s-ci-robot a34123d9c3
Merge pull request #67901 from dims/drop-flaky-test-from-conformance
Remove conformance tag from flaky test
2018-10-08 19:24:58 -07:00
Tim Allclair db776ace25 Allow an empty "" runtimeHandler 2018-10-08 19:05:03 -07:00
Jordan Liggitt cff79c5421 Remove deprecated --etcd-quorum-read flag 2018-10-08 21:56:01 -04:00
k8s-ci-robot 552453f6fd
Merge pull request #69537 from logicalhan/index-test
refactor index_test to compress the assertions and make consistent with store_test.go
2018-10-08 16:55:53 -07:00
k8s-ci-robot f81b72f77b
Merge pull request #68903 from logicalhan/typo
fix a few typographic errors in test utils file
2018-10-08 16:55:43 -07:00
Sean Sullivan 20a54b312c kubectl rollback: remove duplicated code for printing pod template 2018-10-08 15:39:16 -07:00
Justin Santa Barbara f841f3ab40 Remove superfluous MkdirAll from MakeTempDirOrDie
After the call to ioutil.TempDir, the directory has already been
created, and MkdirAll therefore can't do anything.  The mode argument
in particular is misleading.
2018-10-08 18:11:09 -04:00
k8s-ci-robot f883fd2ce6
Merge pull request #69536 from awly/robust-cert-loading
Allow inverted key/cert order in combined PEM file
2018-10-08 15:05:33 -07:00
Sean Sullivan 50c5b379b7 kubectl env resolve: copy core fieldpath and resource dependencies into kubectl 2018-10-08 14:50:20 -07:00
Andrew Lytvynov 4b6a6a1cd5 Allow inverted key/cert order in combined PEM file
certificate.FileStore only handles (cert, key) combined PEM files. This
PR allows (key, cert), which is what "openssl req -out foo.pem -keyout
foo.pem" generates.
2018-10-08 13:43:30 -07:00
k8s-ci-robot d4c4871852
Merge pull request #69413 from seans3/rollback-fix
kubectl rollback: remove legacyscheme dependency
2018-10-08 13:02:19 -07:00
k8s-ci-robot 9fe7c1fb77
Merge pull request #69254 from warmchang/CHANGELOG
Upgrade the release version info in CHANGELOG.md
2018-10-08 11:52:16 -07:00
Han Kang de0043b1d3 refactor index_test to compress the basic expected assertions 2018-10-08 11:38:19 -07:00
k8s-ci-robot 981a064c85
Merge pull request #68793 from aveshagarwal/master-rhbz-1628998
Fix DS tests to set node selectors related annotations on test namespaces to empty.
2018-10-08 10:41:57 -07:00
k8s-ci-robot 8fa5d386a1
Merge pull request #66605 from islinwb/default_RevisionHistoryLimit
Default extensions/v1beta1 Deployment's RevisionHistoryLimit to MaxInt32
2018-10-08 10:41:46 -07:00
k8s-ci-robot 5d0c19c261
Merge pull request #68141 from jsafrane/iscsi-retry
Retry attaching multipath iSCSI volumes
2018-10-08 06:58:25 -07:00
wojtekt 3fdb5b92f4 Fix overwriting env variables in kube-apiserver manifest 2018-10-08 14:21:37 +02:00