Skip to content

Commit 178e61e

Browse files
committed
deploy: use subPath in hooks for volumes when defined
1 parent 49df2d6 commit 178e61e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/deploy/strategy/support/lifecycle.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ func makeHookPod(hook *deployapi.LifecycleHook, rc *kapi.ReplicationController,
373373
Name: mount.Name,
374374
ReadOnly: mount.ReadOnly,
375375
MountPath: mount.MountPath,
376+
SubPath: mount.SubPath,
376377
})
377378
}
378379
}

0 commit comments

Comments
 (0)