Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Update all k8s.io dependencies to 1.8.2 and add support for Retain reclaim policy to lib/controller #419

Merged
merged 4 commits into from
Oct 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions ceph/cephfs/cephfs-provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,12 @@ func (p *cephFSProvisioner) Provision(options controller.VolumeOptions) (*v1.Per
v1.ResourceName(v1.ResourceStorage): options.PVC.Spec.Resources.Requests[v1.ResourceName(v1.ResourceStorage)],
},
PersistentVolumeSource: v1.PersistentVolumeSource{
CephFS: &v1.CephFSVolumeSource{
CephFS: &v1.CephFSPersistentVolumeSource{
Monitors: mon,
Path: res.Path[strings.Index(res.Path, "/"):],
SecretRef: &v1.LocalObjectReference{
SecretRef: &v1.SecretReference{
Name: secretName,
// TODO https://github.com/kubernetes-incubator/external-storage/issues/309
},
User: user,
},
Expand Down
Loading