File tree 2 files changed +8
-1
lines changed 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ package volume
2
+
3
+ import "k8s.io/kubernetes/pkg/api/v1"
4
+
5
+ // we carry a patch which allows us to reset this function selectively when we run openshift start, but *not*
6
+ // when we run `kube-controller-manager`. We have it in this separate file to avoid conflicts during a rebase
7
+ var NewPersistentVolumeRecyclerPodTemplate func () * v1.Pod = newPersistentVolumeRecyclerPodTemplate
Original file line number Diff line number Diff line change @@ -552,7 +552,7 @@ func (pm *VolumePluginMgr) FindAttachablePluginByName(name string) (AttachableVo
552
552
// before failing. Recommended. Default is 60 seconds.
553
553
//
554
554
// See HostPath and NFS for working recycler examples
555
- func NewPersistentVolumeRecyclerPodTemplate () * v1.Pod {
555
+ func newPersistentVolumeRecyclerPodTemplate () * v1.Pod {
556
556
timeout := int64 (60 )
557
557
pod := & v1.Pod {
558
558
ObjectMeta : metav1.ObjectMeta {
You can’t perform that action at this time.
0 commit comments