Skip to content

Commit

Permalink
Added support for raw block volumes for iSCSI PVs
Browse files Browse the repository at this point in the history
Added Trident logo
  • Loading branch information
kangarlou committed Jan 15, 2019
1 parent 1a8dc04 commit 469e356
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
**Fixes:**

**Enhancements:**
- **Kubernetes:** Added support for raw block volumes for iSCSI PVs.
- **Kubernetes:** Enhanced the Trident installer to automatically add the backend with which Trident was installed for subsequent volume provisioning.

**Deprecations:**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Trident
<img src="logo/trident.png" alt="NetApp Trident" width="100" height="100">

[![Support](https://img.shields.io/badge/support-official-0067C5.svg)](http://mysupport.netapp.com/info/web/ECMLP2619434.html)
[![Chat](https://img.shields.io/badge/chat-slack-4C9689.svg)](http://netapp.io/slack/)
Expand Down
4 changes: 4 additions & 0 deletions frontend/kubernetes/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,10 @@ func (p *Plugin) createVolumeAndPV(uniqueName string, claim *v1.PersistentVolume
return
}
pv.Spec.ISCSI = iscsiSource
if claim.Spec.VolumeMode != nil &&
*claim.Spec.VolumeMode == v1.PersistentVolumeBlock {
pv.Spec.VolumeMode = claim.Spec.VolumeMode
}
case driverType == drivers.OntapNASStorageDriverName ||
driverType == drivers.OntapNASQtreeStorageDriverName ||
driverType == drivers.OntapNASFlexGroupStorageDriverName:
Expand Down
Binary file added logo/trident.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 469e356

Please sign in to comment.