Kubernetes Prow Robot
bc46e8fc53
Merge pull request #81739 from codenrhoden/clarify-mkdir-mkfile-behavior
...
Move MakeFile/Dir from HostUtil to host_path vol
2019-08-27 00:53:24 -07:00
Kubernetes Prow Robot
f789e1e55c
Merge pull request #81730 from codenrhoden/mountpoint-match
...
Internalize mount.Interface.IsMountPointMatch
2019-08-26 20:55:07 -07:00
Kubernetes Prow Robot
087aafc18d
Merge pull request #80568 from pohly/ephemeral-mode-check
...
ephemeral mode check
2019-08-26 11:53:40 -07:00
Travis Rhoden
107039a265
Move MakeFile/Dir from HostUtil to host_path vol
...
The MakeFile and MakeDir methods in the HostUtil interface only had one
caller -- the Host Path volume plugin. This patch relocates MakeFile and
MakeDir to the Host Path plugin itself.
2019-08-26 10:46:08 -06:00
Travis Rhoden
a30ba6197d
Internalize mount.Interface.IsMountPointMatch
...
IsMountPointMatch() had no callers outside of the mount package, and has
internal implementation details. This patch makes it no longer be
public.
2019-08-26 09:47:07 -06:00
Kubernetes Prow Robot
f105fef3d5
Merge pull request #81429 from huffmanca/resize_block_volume
...
Enables resizing of block volumes.
2019-08-23 17:59:05 -07:00
Kubernetes Prow Robot
b55f3252e1
Merge pull request #81843 from codenrhoden/remove-nsenter
...
Remove nsenter impl from pkg/vol/util
2019-08-23 15:49:06 -07:00
Travis Rhoden
dde8a6f7f6
Remove nsenter impl from pkg/vol/util
...
With the removal of the `--containerized` flag from kubelet, nothing
uses this code anymore.
2019-08-23 10:09:49 -06:00
Lee Verberne
b465d579de
Add ephemeral container to GetPodVolumeNames test
2019-08-23 13:36:22 +00:00
Kubernetes Prow Robot
e232921c1f
Merge pull request #80353 from BenTheElder/tags
...
simulate in-tree cloud provider removal with a build tag
2019-08-23 04:55:31 -07:00
Kubernetes Prow Robot
f1453953b7
Merge pull request #81745 from codenrhoden/mv-hasmountrefs
...
mv HasMountRefs from mount pkg to vol/util
2019-08-23 00:52:13 -07:00
Kubernetes Prow Robot
ffb7573237
Merge pull request #81674 from msau42/use-podutil
...
Use VisitContainers instead of directly accessing pod container fields
2019-08-22 20:08:11 -07:00
Hemant Kumar
9dbe0b3ad8
Fix devicePath for raw block expansion
...
Fix tests
2019-08-22 22:48:46 -04:00
Benjamin Elder
5a3301a59d
s/nolegacyproviders/providerless/
2019-08-22 15:30:56 -07:00
Benjamin Elder
ece112524b
hack/update-bazel.sh
2019-08-22 14:53:35 -07:00
Benjamin Elder
93c479793d
make it possible to build kubelet without legacy cloud providers
2019-08-22 14:53:35 -07:00
Benjamin Elder
678d3f2841
add build tags to legacy provider code and make it possible to build kube-controller-manager without any legacyproviders or without particular legacy providers
2019-08-22 14:53:35 -07:00
Christian Huffman
7a4cdf5ab2
Included resizing for CSI-based block volumes.
...
Perform a no-op when volume is of type raw block
Fix bug with checking volume mounts for readonly
2019-08-22 15:45:57 -04:00
Kubernetes Prow Robot
5713c22eec
Merge pull request #81631 from tedyu/vol-local-rmdir
...
Log the error return from dir removal
2019-08-22 11:13:28 -07:00
Patrick Ohly
8270fe81e4
bazel update
2019-08-22 08:57:53 +02:00
Travis Rhoden
a7830a2c6e
mv HasMountRefs from mount pkg to vol/util
...
HasMountRefs is only used internal to K8s and should not be moved out
with the mount package. move it to pkg/volume/util instead.
2019-08-21 14:53:34 -06:00
Kubernetes Prow Robot
bfb69dbb8f
Merge pull request #81562 from andyzhangx/azurefile-trim
...
fix: trim new line for azure storage account name
2019-08-21 04:35:17 -07:00
Michelle Au
fa822f3c51
Use VisitContainers instead of directly accessing pod container fields
...
Change-Id: I354513683e7b5bf4d1837f567ef0e84b17f6e174
2019-08-20 11:16:35 -07:00
Kubernetes Prow Robot
d6035f3e0d
Merge pull request #81505 from justaugustus/update-azure-imports
...
Update Azure API versions in go imports
2019-08-20 04:43:32 -07:00
Kubernetes Prow Robot
1719ce7883
Merge pull request #81266 from andyzhangx/fix-detach-azuredisk-issue
...
fix: detach azure disk issue using dangling error
2019-08-20 00:16:33 -07:00
Ted Yu
dad86eb4cb
Log the error return from dir removal
2019-08-19 20:51:24 -07:00
andyzhangx
193ad96f21
fix: trim new line for azure storage account name
...
fix: comments
2019-08-20 03:42:46 +00:00
Stephen Augustus
a8ea88960d
Update Azure imports to latest API versions
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com >
2019-08-19 13:27:27 -04:00
Kubernetes Prow Robot
5df8781ee3
Merge pull request #80904 from fredkan/fix-flexvolume-volumename-issue
...
Fix flexvolume volumename issue
2019-08-19 07:35:32 -07:00
fredkan
11d83dfdc1
change GetVolumeName log level
2019-08-19 17:27:34 +08:00
andyzhangx
1335f6470c
fix: detach azure disk issue using dangling error
...
fix: unit test failure
2019-08-18 03:43:16 +00:00
Kubernetes Prow Robot
e319abf274
Merge pull request #81163 from jsafrane/skip-unused-volumes
...
Skip unused volumes in VolumeManager
2019-08-16 17:02:36 -07:00
Kubernetes Prow Robot
4e7fd98763
Merge pull request #81471 from ethan-daocloud/patch-11
...
cleanup: fix typos in rbd_util.go
2019-08-15 23:09:11 -07:00
Kubernetes Prow Robot
d8c8c8eded
Merge pull request #79931 from skarthiksrinivas/vsphere_volume_selectednode
...
Provision vSphere volume as per selectedNode
2019-08-15 11:06:35 -07:00
Guangming Wang
c718ba6871
cleanup: fix typos in rbd_util.go
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io >
2019-08-15 22:39:15 +08:00
Jan Safranek
8d580262f9
Refactor makeMountsMap into GetPodVolumeNames
...
The function will be handy in subsequent patches. Also change custom maps
into sets.String.
2019-08-15 10:48:38 +02:00
Kubernetes Prow Robot
d23b2c7d83
Merge pull request #81215 from zouyee/iscsi
...
remove iSCSI volume storage cleartext secrets in logs
2019-08-14 03:28:38 -07:00
Patrick Ohly
7bbc06fcd4
storage: check CSIDriver.Spec.VolumeLifecycleModes
...
Using a "normal" CSI driver for an inline ephemeral volume may have
unexpected and potentially harmful effects when the driver gets a
NodePublishVolume call that it isn't expecting. To prevent that mistake,
driver deployments for a driver that supports such volumes must:
- deploy a CSIDriver object for the driver
- set CSIDriver.Spec.VolumeLifecycleModes such that it contains "ephemeral"
The default for that field is "persistent", so existing deployments
continue to work and are automatically protected against incorrect
usage.
For the E2E tests we need a way to specify the driver mode. The
existing cluster-driver-registrar doesn't support that and also was
deprecated, so we stop using it altogether and instead deploy and
patch a CSIDriver object.
2019-08-13 23:12:52 +02:00
Kubernetes Prow Robot
0eb2e21352
Merge pull request #81013 from Madhu-1/fix-err
...
Fix logging message during unmounting
2019-08-13 02:28:07 -07:00
Kubernetes Prow Robot
76e19a1619
Merge pull request #81204 from codenrhoden/rename-hu-pathexists
...
Rename HostUtils.ExistsPath to PathExists
2019-08-12 20:12:12 -07:00
Madhu Rajanna
ec5ff52b88
Fix logging message during unmounting
...
use errors.New() if formatting is not required
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2019-08-12 09:18:35 +05:30
Kubernetes Prow Robot
37647eb88a
Merge pull request #79978 from cwdsuzhou/July/hostpath_cleanup
...
Fix host path test clean up
2019-08-10 02:59:13 -07:00
Kubernetes Prow Robot
1d812991b6
Merge pull request #81230 from codenrhoden/rename-GetFSGroup
...
Rename HostUtils.GetFSGroup to HostUtils.GetOwner
2019-08-09 23:57:26 -07:00
Travis Rhoden
0e73131ca6
Rename HostUtils.GetFSGroup to HostUtils.GetOwner
...
This patch renames GetFSGroup (a process property) to GetOwner (a file
property), returning both the uid and gid of the given pathname. This
method is only used in one place in the k/k codebase, but having
"GetOwner" instead of "GetGroup" seems to have more utility.
2019-08-09 13:20:35 -06:00
Travis Rhoden
14e25b7c04
Rename HostUtils.ExistsPath to PathExists
2019-08-09 12:40:19 -06:00
Travis Rhoden
4574473753
Rename mount.NewOsExec to mount.NewOSExec
2019-08-09 12:30:56 -06:00
zouyee
b85516bb9a
remove iSCSI volume storage cleartext secrets in logs
2019-08-09 15:37:02 +08:00
caiweidong
41bb76bb88
make hostpath configurable for test
2019-08-09 10:59:29 +08:00
Kubernetes Prow Robot
2b7b6713b1
Merge pull request #79137 from qingsenLi/k8s-190618-golint
...
fix golint failures for pkg/volume/scaleio and pkg/volume/storageos
2019-08-07 20:09:28 -07:00
Kubernetes Prow Robot
07afde1559
Merge pull request #80935 from wongma7/initcsinode-error
...
Return error returned by CSINode Get if initialization failed
2019-08-06 23:57:29 -07:00