Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3fc8cff

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request #35071 from thockin/volume-mount-merge-key
Automatic merge from submit-queue Change merge key for VolumeMount to mountPath Fixes #34800
2 parents 743e068 + 837443d commit 3fc8cff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/api/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ type Container struct {
14031403
// Pod volumes to mount into the container's filesystem.
14041404
// Cannot be updated.
14051405
// +optional
1406-
VolumeMounts []VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,9,rep,name=volumeMounts"`
1406+
VolumeMounts []VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,9,rep,name=volumeMounts"`
14071407
// Periodic probe of container liveness.
14081408
// Container will be restarted if the probe fails.
14091409
// Cannot be updated.

0 commit comments

Comments
 (0)