Commit Graph

1154 Commits

Author SHA1 Message Date
Aaron Crickenberger d23a16cb74 Port over information from kubernetes/org 2019-01-16 11:19:16 -08:00
Aaron Crickenberger b41cac350d Add files from github.com/pohly/csi-build-rules 2019-01-16 10:51:52 -08:00
Aaron Crickenberger 0535c0d4f1 Initial commit from kubernetes-template-project 2019-01-16 10:47:35 -08:00
Humble Chirammal 0421d1dc7a Correct markdown linter errors.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-11 16:03:32 +05:30
Kubernetes Prow Robot a7c6dec2ac Merge pull request #81 from humblec/clean
Correct error variables and fix other golint errors.
2019-01-06 06:13:53 -08:00
Kubernetes Prow Robot 7d3b3ec1af Merge pull request #82 from humblec/clean-2
Update exported function details with source code comments.
2019-01-06 06:12:18 -08:00
Humble Chirammal 546cafabdc Remove redundant else blocks
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 19:23:42 +05:30
Humble Chirammal 164d10a824 Update exported function details with source code comments.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 19:09:51 +05:30
Kubernetes Prow Robot c9f5e3c37e Merge pull request #83 from humblec/clean-3
Fix error formatting in snapshot controller.
2019-01-06 05:23:42 -08:00
Humble Chirammal 6a4dfa47e5 Fix error formatting in snapshot controller.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 14:53:24 +05:30
Humble Chirammal 0e4d11b0fb Correct error variables and fix other golint errors.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-06 14:31:02 +05:30
Xing Yang 8a62135453 Update images to 1.0.1
This PR updates images in yaml files to v1.0.1.
2019-01-02 07:21:48 -08:00
Kubernetes Prow Robot 9708a1b090 Merge pull request #75 from wackxu/pvclister
add pvcLister to snapshot controller
2019-01-02 07:17:24 -08:00
Kubernetes Prow Robot 1e1a432d5e Merge pull request #78 from xing-yang/csi_secret
Add new reserved prefixed parameter keys
2018-12-04 00:52:54 -08:00
Xing Yang 0cf36adb91 Add new reserved prefixed parameter keys
This PR adds new reserved prefixed parameter keys which are stripped
out of parameter list, and adds deprecation notice for old keys and
keep their behavior the same.

```
csiParameterPrefix = "csi.storage.k8s.io/"
prefixedSnapshotterSecretNameKey      = csiParameterPrefix + "snapshotter-secret-name"
prefixedSnapshotterSecretNamespaceKey = csiParameterPrefix + "snapshotter-secret-namespace"
```
2018-12-03 17:38:53 -08:00
k8s-ci-robot f3b2562724 Merge pull request #76 from msau42/use-logging-util
Use logging util
2018-11-30 13:51:36 -08:00
Michelle Au d41ad8a10b vendor protosanitizer 2018-11-30 13:32:10 -08:00
Michelle Au 097a4b897c use protosanitizer library 2018-11-30 13:29:40 -08:00
xushiwei 85504e1220 add pvcLister to snapshot controller
This reverts commit 96b6f495d3.
2018-11-30 17:19:47 +08:00
Xing Yang 7cd3ef6f55 Update README to clarify snapshot support status
This PR updates README to clarify that volume snapshot supports CSI v1.0 and it is an Alpha feature in Kubernetes since 1.12 release.
2018-11-29 16:15:40 -05:00
k8s-ci-robot daf75a0a25 Merge pull request #69 from wackxu/patch-1
add myself as approver for snapshotter
2018-11-28 11:24:16 -08:00
Xing Yang c4fd4d7c88 Merge pull request #73 from kubernetes-csi/revert-72-pvclister
Revert "add pvcLister to snapshot controller"
2018-11-27 19:40:51 -05:00
Xing Yang 96b6f495d3 Revert "add pvcLister to snapshot controller" 2018-11-27 19:38:09 -05:00
k8s-ci-robot a40dc65b96 Merge pull request #72 from wackxu/pvclister
add pvcLister to snapshot controller
2018-11-27 11:58:37 -08:00
k8s-ci-robot 840095d4b0 Merge pull request #39 from xing-yang/content_protect
Add Finalizer for VolumeSnapshot and VolumeSnapshotContent
2018-11-27 10:59:58 -08:00
Xing Yang ea17039454 Add Finalizer for VolumeSnapshot/VolumeSnapshotContent
This PR adds a Finalizer for VolumeSnapshotContent.
If the VolumeSnapshotContent is bound to a VolumeSnapshot,
the VolumeSnapshotContent is being used and cannot be
deleted.
This PR also adds a Finalizer for VolumeSnapshot.
If a volume is being created from the snapshot,
the VolumeSnapshot is being used and cannot be deleted.
2018-11-27 10:35:44 -08:00
k8s-ci-robot 6089ba3f31 Merge pull request #71 from xing-yang/ReadyToUse
Rename Ready to ReadyToUse
2018-11-27 10:06:30 -08:00
xushiwei e4997e5fb8 add pvcLister to snapshot controller 2018-11-27 21:43:09 +08:00
Xing Yang bfba4cba0f Rename Ready to ReadyToUse
This PR renames Ready to ReadyToUse in VolumeSnapshot Status
to be consistent with the name in CSI spec.
2018-11-26 19:21:43 -08:00
XsWack 3c25a174bd add myself as approver for snapshotter 2018-11-22 17:30:53 +08:00
xushiwei 94855066cb update cluster role for snapshot status 2018-11-21 14:56:45 +08:00
xushiwei ad5dd2b45d add status Subresources for volumeSnapshot 2018-11-21 14:30:51 +08:00
k8s-ci-robot 2840dd887f Merge pull request #50 from wackxu/patch-1
fix WaitForCacheSync and initializeCaches bug
2018-11-20 11:25:55 -08:00
k8s-ci-robot 6341e4cad3 Merge pull request #67 from wackxu/fixut
fix fail UT
2018-11-20 11:23:54 -08:00
xushiwei 89a64c9b92 fix fail UT 2018-11-20 20:54:07 +08:00
Xing Yang 806104ca1d Merge pull request #66 from xing-yang/update_yaml
Update images to v1.0.0 in yaml file
2018-11-20 10:26:03 +08:00
Xing Yang 11f716f6ee Update images to v1.0.0 in yaml file
This PR updates the images to v1.0.0 in example yaml files.
2018-11-19 17:58:26 -08:00
k8s-ci-robot db31474324 Merge pull request #40 from jingxu97/deletionpolicy
Add volumesnapshot content deletion policy
2018-11-19 17:54:12 -08:00
Jing Xu 96e3bd1818 Add volumesnapshot content deletion policy
This PR adds DeletionPolicy which describes a policy for end-of-life maintenance of volume snapshot contents.
There are two types of policies, delete and retain. By default, the
policy is delete. In this case, when volume snaphsot is deleted, the
volume snapshot content for it should be deleted, as well as the
physical snapshot. If the policy is set the retain, the volume snapshot
content will remain even if the volume snapshot it binds to is deleted.
2018-11-19 17:15:07 -08:00
Jing Xu 7a374a3838 Generated files
This comment includes the generated file changes.
2018-11-19 17:04:42 -08:00
k8s-ci-robot 30701bb0d5 Merge pull request #65 from xing-yang/content_name
Use existing content name
2018-11-19 15:31:41 -08:00
Xing Yang fddc5547f3 Use existing content name
If content name is already in snapshot object, just use it.
This may be the case for static provisioning. Otherwise construct
new name for content for dynamic provisioning.
2018-11-19 15:20:57 -08:00
k8s-ci-robot 799fb952e1 Merge pull request #61 from xing-yang/csi_snapshot_status
Call CreateSnapshot to check if snapshot is processed
2018-11-19 15:07:28 -08:00
k8s-ci-robot 33190f0890 Merge pull request #64 from verult/k8s-1.13.0-beta.1
Bumping k8s version to 1.13.0-beta.1
2018-11-19 14:39:34 -08:00
Cheng Xing e2f1bdc372 Bumping k8s version to 1.13.0-beta.1 2018-11-19 14:13:47 -08:00
Xing Yang c01fb649f2 Call CreateSnapshot to check if snapshot is processed
This PR calls CreateSnapshot to check if the snapshot post-cut
processing (uploading) is complete and update status accordingly.
2018-11-19 13:02:21 -08:00
k8s-ci-robot 01bd7f356e Merge pull request #59 from verult/k8s-1.13
Bumping k8s dependencies to 1.13
2018-11-16 15:25:12 -08:00
Cheng Xing 06b4d4ec0d Updating generated API clients 2018-11-16 14:30:00 -08:00
Cheng Xing b4c0b68ec7 Bumping k8s dependencies to 1.13 2018-11-16 14:09:40 -08:00
k8s-ci-robot 305407125c Merge pull request #56 from wackxu/fixrole
fix RABC rule
2018-11-16 05:12:45 -08:00