Skip to content

Commit 10d6437

Browse files
authored
Merge branch 'master' into status-52
2 parents 95fc4bc + 567d14c commit 10d6437

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+603
-263
lines changed

Gopkg.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/csi-snapshotter/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var (
6666
snapshotNamePrefix = flag.String("snapshot-name-prefix", "snapshot", "Prefix to apply to the name of a created snapshot")
6767
snapshotNameUUIDLength = flag.Int("snapshot-name-uuid-length", -1, "Length in characters for the generated uuid of a created snapshot. Defaults behavior is to NOT truncate.")
6868
showVersion = flag.Bool("version", false, "Show version.")
69-
csiTimeout = flag.Duration("timeout", defaultCSITimeout, "The timeout for any RPCs to the CSI driver. Default is 10s.")
69+
csiTimeout = flag.Duration("timeout", defaultCSITimeout, "The timeout for any RPCs to the CSI driver. Default is 1 minute.")
7070

7171
leaderElection = flag.Bool("leader-election", false, "Enables leader election.")
7272
leaderElectionNamespace = flag.String("leader-election-namespace", "", "The namespace where the leader election resource exists. Defaults to the pod namespace if not set.")
@@ -184,9 +184,9 @@ func main() {
184184
snapClient,
185185
kubeClient,
186186
*snapshotterName,
187-
factory.Volumesnapshot().V1alpha1().VolumeSnapshots(),
188-
factory.Volumesnapshot().V1alpha1().VolumeSnapshotContents(),
189-
factory.Volumesnapshot().V1alpha1().VolumeSnapshotClasses(),
187+
factory.Snapshot().V1alpha1().VolumeSnapshots(),
188+
factory.Snapshot().V1alpha1().VolumeSnapshotContents(),
189+
factory.Snapshot().V1alpha1().VolumeSnapshotClasses(),
190190
coreFactory.Core().V1().PersistentVolumeClaims(),
191191
*createSnapshotContentRetryCount,
192192
*createSnapshotContentInterval,

deploy/kubernetes/rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rules:
2525
verbs: ["get", "list", "watch"]
2626
- apiGroups: [""]
2727
resources: ["persistentvolumeclaims"]
28-
verbs: ["get", "list", "watch"]
28+
verbs: ["get", "list", "watch", "update"]
2929
- apiGroups: ["storage.k8s.io"]
3030
resources: ["storageclasses"]
3131
verbs: ["get", "list", "watch"]

deploy/kubernetes/setup-csi-snapshotter.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ spec:
7272
serviceAccount: csi-snapshotter
7373
containers:
7474
- name: csi-provisioner
75-
image: quay.io/k8scsi/csi-provisioner:v1.0.1
75+
image: quay.io/k8scsi/csi-provisioner:v1.1.0
7676
args:
7777
- "--provisioner=csi-hostpath"
7878
- "--csi-address=$(ADDRESS)"
@@ -85,7 +85,7 @@ spec:
8585
- name: socket-dir
8686
mountPath: /csi
8787
- name: csi-snapshotter
88-
image: quay.io/k8scsi/csi-snapshotter:v1.0.1
88+
image: quay.io/k8scsi/csi-snapshotter:v1.1.0
8989
args:
9090
- "--csi-address=$(ADDRESS)"
9191
- "--connection-timeout=15s"
@@ -98,7 +98,7 @@ spec:
9898
- name: socket-dir
9999
mountPath: /csi
100100
- name: hostpath
101-
image: quay.io/k8scsi/hostpathplugin:v1.0.1
101+
image: quay.io/k8scsi/hostpathplugin:v1.1.0
102102
args:
103103
- "--v=5"
104104
- "--endpoint=$(CSI_ENDPOINT)"

pkg/apis/volumesnapshot/v1alpha1/doc.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ limitations under the License.
1515
*/
1616

1717
// +k8s:deepcopy-gen=package
18+
// +groupName=snapshot.storage.k8s.io
1819

1920
package v1alpha1

pkg/apis/volumesnapshot/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/clientset.go

Lines changed: 10 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/doc.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/fake/clientset_generated.go

Lines changed: 6 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/fake/doc.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)