Skip to content

Commit

Permalink
Merge pull request #67087 from xing-yang/datasource
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Add DataSource and TypedLocalObjectReference

**What this PR does / why we need it**:
This PR adds TypedLocalObjectReference in the core API and adds DataSource in PersistentVolumeClaimSpec.

It also enables feature gate for VolumeSnapshotDataSource.

This is part of the CSI snapshot design proposal to support restoring a volume from a snapshot: 
kubernetes/community#2495

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
kubernetes/enhancements#177

**Special notes for your reviewer**:

**Release note**:

```release-note
Added support to restore a volume from a volume snapshot data source. 
```

Kubernetes-commit: d97ece0f36578b3af1c9ce275d184d711aa29baf
  • Loading branch information
k8s-publishing-bot committed Aug 29, 2018
2 parents d150a58 + 938b48e commit 71b49c2
Show file tree
Hide file tree
Showing 5 changed files with 1,390 additions and 1,061 deletions.

0 comments on commit 71b49c2

Please sign in to comment.