Skip to content

Commit 1b6cfb2

Browse files
committed
fixup! fix: merge projected volumes
Signed-off-by: Oleksii Kurinnyi <[email protected]>
1 parent 1325c96 commit 1b6cfb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/provision/automount/projected.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ func mergeProjectedVolumes(resources *Resources) (*Resources, error) {
5555
}
5656

5757
// Map of merged volume names -> bool, for not merging the same volume twice
58+
// This can happen due to different subpath volume mounts, where the mount path is the same. In this case, there should be only one volume.
5859
mergedVolumeNames := map[string]bool{}
5960
for _, mountPath := range mountPathOrder {
6061
volumeMounts := mountPathToVolumeMounts[mountPath]

0 commit comments

Comments
 (0)