Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moves hostpath driver from kubernetes-csi/drivers monorepo #1

Merged
merged 164 commits into from
Jan 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
0acaecd
first commit
chakri-nelluri Nov 15, 2017
055d1a6
Update README.md
chakri-nelluri Nov 15, 2017
d4f5324
Add support for flex adapter
chakri-nelluri Nov 16, 2017
1576909
Fix file names
chakri-nelluri Nov 16, 2017
5129616
Create app layout
chakri-nelluri Nov 16, 2017
87c6f69
Add CSI NFS driver
chakri-nelluri Nov 20, 2017
27bd7b8
add hostpath driver to test create/delete volume
rootfs Nov 20, 2017
8d71f47
Merge pull request #1 from rootfs/dev
rootfs Nov 20, 2017
4ee4699
hostpath: create and delete volume
rootfs Nov 21, 2017
faa0d1d
Merge pull request #2 from rootfs/dev
rootfs Nov 21, 2017
81ff93c
Rename lib to csi-common
chakri-nelluri Nov 22, 2017
7124f88
Fix gogland package naming with _
chakri-nelluri Nov 22, 2017
ff648cf
hostpath: mount volume
rootfs Nov 27, 2017
7e30f0d
Merge pull request #3 from rootfs/dev
rootfs Nov 27, 2017
87996b6
Update readme to indicate drivers are examples
saad-ali Nov 29, 2017
5c655eb
Refactor based on feedback from @jsafrane
chakri-nelluri Nov 30, 2017
b39803e
Merge pull request #4 from chakri-nelluri/refactor
chakri-nelluri Nov 30, 2017
4d1267f
CSI based ISCSI driver
Dec 1, 2017
8f9c2bd
Merge pull request #5 from shilpamayanna/iscsi
chakri-nelluri Dec 3, 2017
391a326
- Add csi-nodeplugin-simplenfs-flexdriver dockerfile & kubernetes dep…
chakri-nelluri Nov 30, 2017
903248f
Merge pull request #6 from chakri-nelluri/k8s-deploy
chakri-nelluri Dec 4, 2017
c5a2663
Fix annotation
chakri-nelluri Dec 4, 2017
0b11066
Merge pull request #8 from chakri-nelluri/k8s-deploy
chakri-nelluri Dec 4, 2017
5bef3a4
Refactor to app & pkg directories
chakri-nelluri Dec 4, 2017
332baae
Merge pull request #11 from chakri-nelluri/refactor1
chakri-nelluri Dec 4, 2017
6f9c800
add csi cinder driver
edisonxiang Dec 4, 2017
4e41335
rebuild cinder driver by new architecture
edisonxiang Dec 5, 2017
21f6767
add unit test for csi cinder driver
edisonxiang Dec 8, 2017
c443497
add license block in files
edisonxiang Dec 8, 2017
e983709
Merge pull request #7 from edisonxiang/addcsicinderdriver
rootfs Dec 8, 2017
ad3512d
hostPath docker files
lpabon Dec 11, 2017
580e841
Add NFS deployment files
chakri-nelluri Dec 11, 2017
2fdba55
support reading config in csi cinder driver
edisonxiang Dec 11, 2017
5a3fb96
Merge pull request #13 from chakri-nelluri/nfs
lpabon Dec 11, 2017
a85bb24
add travis ci for project
edisonxiang Dec 11, 2017
4541051
Merge pull request #16 from edisonxiang/addtravisci
chakri-nelluri Dec 11, 2017
73ce12f
Merge pull request #15 from lpabon/hostpathdocker
chakri-nelluri Dec 12, 2017
0f51c59
fix some bugs and add unit tests
edisonxiang Dec 12, 2017
820817a
Merge pull request #14 from edisonxiang/supportreadconfigincinder
rootfs Dec 12, 2017
84e1bbd
Add some unit tests & improve logging
chakri-nelluri Dec 13, 2017
0de2236
Merge pull request #18 from chakri-nelluri/test
chakri-nelluri Dec 13, 2017
a38958b
Update README.md
lpabon Dec 14, 2017
3b98bf5
Merge pull request #20 from kubernetes-csi/lpabon-patch-1
lpabon Dec 14, 2017
5aeeebb
Update README.md
lpabon Dec 20, 2017
1f3111b
add deploy and example instructions
edisonxiang Dec 27, 2017
82f1cfc
Merge pull request #29 from edisonxiang/adddeployandexample
chakri-nelluri Dec 27, 2017
99f0fe0
Add code-of-conduct.md
spiffxp Jan 2, 2018
62e4942
Merge pull request #30 from spiffxp/add-code-of-conduct
chakri-nelluri Jan 5, 2018
c84b1a8
Remove defaults and fix some logging
dims Dec 21, 2017
658f57f
Merge pull request #28 from dims/remove-cinder-defaults
chakri-nelluri Jan 5, 2018
f5df842
Fix for seg fault in hostpathplugin
sbezverk Jan 6, 2018
3cd1f83
Merge pull request #32 from sbezverk/hostpath_seg_fault_fix
rootfs Jan 8, 2018
232e220
Fix Readmes
chakri-nelluri Jan 10, 2018
22148d8
Merge pull request #35 from chakri-nelluri/fix-readme
rootfs Jan 10, 2018
ad969e7
Update spec dependency to point to 0.1.0 tag
Jan 11, 2018
822ddbb
Merge pull request #36 from NickrenREN/spec-0.1.0
rootfs Jan 12, 2018
d8f0606
NFS driver: Change attribute on NodePublish() to reflect the examples.
humblec Jan 15, 2018
7fe4aa9
Merge pull request #37 from humblec/patch-1
chakri-nelluri Jan 15, 2018
8b42dbb
Correct NFS driver deployment artifacts.
humblec Jan 15, 2018
7cb2705
Merge pull request #38 from humblec/nfs-driver
chakri-nelluri Jan 15, 2018
511ea8d
update readme and fix ci problems
edisonxiang Jan 19, 2018
d044e35
Merge pull request #41 from edisonxiang/updatereadme
chakri-nelluri Jan 22, 2018
fa343d2
Use mountdevice callout based on plugin capability
chakri-nelluri Jan 10, 2018
6c65a63
Address review comments
chakri-nelluri Jan 22, 2018
98240e8
Address review comments
chakri-nelluri Jan 22, 2018
6267f6b
Merge pull request #34 from chakri-nelluri/flexupdates
rootfs Jan 22, 2018
384b30c
Fix README typo
prateekpandey14 Jan 23, 2018
a862fcb
Merge pull request #43 from prateekpandey14/fix-readme
lpabon Jan 25, 2018
9d1d448
e2e: HostPath sanity tests
lpabon Jan 20, 2018
e63f753
hostpath: Pass csi-sanity tests
lpabon Feb 8, 2018
1dcee30
Merge pull request #44 from lpabon/sanity
lpabon Feb 9, 2018
5b2ec31
Merge pull request #48 from lpabon/sanity_hostpath
lpabon Feb 10, 2018
000ace2
Added CSI nfsplugin build process.
gyliu513 Feb 7, 2018
c1e7459
add hostpath README.md
Feb 13, 2018
5e6fcc3
Update README.md
Feb 13, 2018
7707a2b
Merge pull request #47 from gyliu513/nfs
rootfs Feb 13, 2018
1ce522c
Merge branch 'master' into hostpath
Feb 14, 2018
87ec6c4
Merge pull request #52 from haoqing0110/hostpath
lpabon Feb 14, 2018
7e3911b
refactor for csi 0.2.0 support
sbezverk Feb 11, 2018
d1ab787
Merge pull request #50 from sbezverk/v0.2.0_refactor
lpabon Feb 14, 2018
c7016e3
hostpath umount fix
sbezverk Feb 19, 2018
7f7b597
Merge pull request #53 from sbezverk/hostpath_umount_fix
rootfs Feb 19, 2018
2002b71
fix URL for drivers
pohly Feb 21, 2018
b76dcb2
Merge pull request #54 from pohly/drivers-link
rootfs Feb 21, 2018
7a17c9a
refactor csi-common and hostpath plugin for CSI 0.2.0 spec
sbezverk Mar 1, 2018
1853bd0
Merge pull request #56 from sbezverk/0.2.0_v0
rootfs Mar 6, 2018
e8d6358
Update CSI Plugins README
xing-yang Mar 7, 2018
84b8d47
csi 0.2.0: update nfs CSI PV example
rootfs Mar 12, 2018
e792b85
NFS plugin does not support ControllerServiceCapability
xing-yang Mar 13, 2018
6388189
Merge pull request #62 from xing-yang/nfs_controller
rootfs Mar 13, 2018
c59e566
Add LICENSE
Mar 14, 2018
c32810c
Merge branch 'master' into nfs-v0.2.0
rootfs Mar 14, 2018
59926e5
Merge pull request #61 from rootfs/nfs-v0.2.0
rootfs Mar 14, 2018
44b3122
fix nfs ddriver.go formating
sbezverk Mar 14, 2018
b676c72
Update image links for NFS
xing-yang Mar 14, 2018
ab7acce
Merge pull request #65 from sbezverk/fix_nfs_formating
lpabon Mar 14, 2018
0c936c6
Update README.md
lpabon Mar 14, 2018
8dc141a
Fixing hostpath csi sanity failures
sbezverk Mar 14, 2018
a92aa12
Merge branch 'master' into livenessprobe
lpabon Mar 14, 2018
3af84b6
Merge pull request #60 from sbezverk/livenessprobe
lpabon Mar 14, 2018
e18c7cf
Changing default identity server
sbezverk Mar 14, 2018
acd25ea
Merge branch 'master' into license
lpabon Mar 14, 2018
5265c2d
Merge branch 'master' into nfs
lpabon Mar 14, 2018
ce407a9
Merge branch 'master' into update_nfs_images
lpabon Mar 14, 2018
611508b
Merge pull request #69 from sbezverk/default_identity_server
lpabon Mar 14, 2018
f41ad4d
Merge branch 'master' into license
lpabon Mar 14, 2018
f65d2bb
Merge pull request #63 from haoqing0110/license
lpabon Mar 14, 2018
82a0b16
Merge branch 'master' into nfs
lpabon Mar 14, 2018
96942d3
Merge pull request #59 from xing-yang/nfs
lpabon Mar 14, 2018
6a2f0ae
Merge branch 'master' into update_nfs_images
lpabon Mar 14, 2018
584f9de
Merge pull request #67 from xing-yang/update_nfs_images
lpabon Mar 14, 2018
e721c37
hostpathplugin: Automated Docker build
lpabon Feb 8, 2018
6212fc9
Merge pull request #49 from lpabon/docker_hostpath
lpabon Mar 20, 2018
ffb2a9e
Update .travis.yml
lpabon Mar 21, 2018
4b898a3
bump cinder deployments to v0.2.0
edisonxiang Apr 11, 2018
e3305c4
typo
nstott Apr 28, 2018
96cd797
consistent Docker image creation
pohly May 9, 2018
09afd89
Merge pull request #84 from pohly/docker-image
lpabon May 18, 2018
283f078
Fix mount/unmount path of iscsi driver.
princerachit May 21, 2018
ecd4460
Merge pull request #90 from princerachit/master
vladimirvivien May 21, 2018
7914adf
Merge branch 'master' into patch-1
lpabon May 31, 2018
e9a2c6b
Merge pull request #82 from nstott/patch-1
lpabon May 31, 2018
e495cec
Merge pull request #80 from edisonxiang/bumpcinder
lpabon May 31, 2018
ef7bf48
Fix logging args in hostpath driver
codenrhoden Jun 29, 2018
907b108
Merge pull request #96 from codenrhoden/bugfix/hostpath-log-args
lpabon Jun 29, 2018
62ceb08
Update .travis.yml
lpabon Jun 30, 2018
54c0d76
Update to CSI 0.3
wongma7 Jun 18, 2018
842e037
Return NOT_FOUND if volume DNE
wongma7 Jul 11, 2018
d8f283c
Merge pull request #95 from wongma7/csi0.3
lpabon Jul 13, 2018
f87e28e
Create OWNERS File
saad-ali Aug 6, 2018
5fa2f16
Merge pull request #102 from kubernetes-csi/saad-ali-patch-1
saad-ali Aug 6, 2018
030bbab
Add CONTRIBUTING.md
nikhita Sep 1, 2018
b384589
Merge pull request #107 from nikhita/contributing.md
k8s-ci-robot Sep 4, 2018
0910c66
hostpath snapshot implemention
wackxu Jun 11, 2018
26506de
add restore volume from snapshot for hostpath
wackxu Sep 4, 2018
9ed907a
Merge pull request #108 from wackxu/restorevolume
k8s-ci-robot Sep 11, 2018
67abb54
Update Gopkg.toml to point to kubernetes-1.12.0-beta.1
xing-yang Sep 21, 2018
64b585b
Merge pull request #112 from xing-yang/update_vendor_files
k8s-ci-robot Sep 24, 2018
fd6971e
Add version to Hostpath
lpabon Sep 26, 2018
7d3e438
Merge pull request #113 from lpabon/update-version
lpabon Sep 26, 2018
4f1dca2
Update Gopkg.toml to point to kubernetes-1.12.0
xing-yang Oct 11, 2018
1ea392e
Merge pull request #115 from xing-yang/update_vendor
k8s-ci-robot Oct 15, 2018
f8270b3
Add vendor dir
lpabon Oct 15, 2018
a38ee85
Merge pull request #117 from lpabon/add-vendor
lpabon Oct 16, 2018
a72e14e
Update vendor dep for CSI v1.0.0-rc2
saad-ali Nov 14, 2018
caf96bd
Code changes for CSI v1.0.0-rc2
saad-ali Nov 14, 2018
b6cd774
Merge pull request #118 from saad-ali/updateCSI1.0.0
k8s-ci-robot Nov 15, 2018
4ba2313
Update travis
lpabon Nov 15, 2018
2ef5279
Merge pull request #119 from lpabon/update-travis
lpabon Nov 15, 2018
40bc4c5
Update to CSI v1.0.0 release
lpabon Nov 15, 2018
c41f406
Moving hostpath yamls to be part of driver project
vladimirvivien Nov 29, 2018
8a7f2d3
Merge pull request #122 from vladimirvivien/sync-yamls-1.0
k8s-ci-robot Nov 29, 2018
dd25fd6
deploy: add README, fix typos
pohly Dec 4, 2018
6820279
hostpath: refuse to create block volumes
pohly Dec 5, 2018
5f164ac
Merge pull request #125 from pohly/block-volume-check
k8s-ci-robot Dec 7, 2018
c1e71bd
Merge pull request #124 from pohly/rbac-rules
k8s-ci-robot Dec 7, 2018
115504d
Adds vendor directory
vladimirvivien Dec 19, 2018
1bd707d
Adds dep Gopkg
vladimirvivien Dec 19, 2018
660c357
Adds source code
vladimirvivien Dec 21, 2018
06be288
Update deployment
vladimirvivien Dec 21, 2018
2bd6115
Adds README documentation
vladimirvivien Dec 20, 2018
76766f1
deploy: update to node-driver-registrar 1.0.2
pohly Jan 21, 2019
557d126
deploy: sidecar versions from .yaml
pohly Jan 21, 2019
23656aa
Merge pull request #1 from pohly/pr-1-fixes
vladimirvivien Jan 23, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_output
.Makefile.swp
196 changes: 196 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 73 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
vladimirvivien marked this conversation as resolved.
Show resolved Hide resolved
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"

[prune]
go-tests = true
unused-packages = true

[[constraint]]
name = "github.com/container-storage-interface/spec"
version = "1.0.0"

[[constraint]]
branch = "master"
name = "github.com/golang/glog"

[[override]]
revision = "5db89f0ca68677abc5eefce8f2a0a772c98ba52d"
name = "github.com/docker/distribution"

[[constraint]]
name = "github.com/pborman/uuid"
version = "1.1.0"

[[constraint]]
branch = "master"
name = "golang.org/x/net"

[[constraint]]
name = "google.golang.org/grpc"
version = "1.10.0"

[[constraint]]
name = "k8s.io/kubernetes"
version = "v1.12.0"

[[override]]
version = "kubernetes-1.12.0"
name = "k8s.io/api"

[[override]]
version = "kubernetes-1.12.0"
name = "k8s.io/apiserver"

[[override]]
name = "github.com/golang/protobuf"
version = "v1.1.0"

[[override]]
name = "github.com/json-iterator/go"
version = "1.1.4"

[[override]]
name = "gopkg.in/square/go-jose.v2"
version = "2.1.7"
37 changes: 37 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

REGISTRY_NAME=quay.io/k8scsi
IMAGE_NAME=hostpathplugin
IMAGE_VERSION=canary
IMAGE_TAG=$(REGISTRY_NAME)/$(IMAGE_NAME):$(IMAGE_VERSION)
REV=$(shell git describe --long --tags --dirty)

.PHONY: all hostpath clean hostpath-container

all: hostpath

test:
go test github.com/kubernetes-csi/csi-driver-host-path/pkg/... -cover
go vet github.com/kubernetes-csi/csi-driver-host-path/pkg/...
hostpath:
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-X github.com/kubernetes-csi/csi-driver-host-path/pkg/hostpath.vendorVersion=$(REV) -extldflags "-static"' -o _output/hostpathplugin ./cmd/hostpathplugin
hostpath-container: hostpath
docker build -t $(IMAGE_TAG) -f ./cmd/Dockerfile .
push: hostpath-container
docker push $(IMAGE_TAG)
clean:
go clean -r -x
-rm -rf _output
Loading