Skip to content

Commit e79296d

Browse files
SaranBalaji90Tim Bannister
andauthored
Update content/en/docs/concepts/storage/volumes.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent bf1fd3a commit e79296d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/en/docs/concepts/storage/volumes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,10 @@ third party storage driver instead.
308308
### gitRepo (deprecated) {#gitrepo}
309309

310310
{{< warning >}}
311-
The `gitRepo` volume type is deprecated. To provision a container with a git repo, mount an
311+
The `gitRepo` volume type is deprecated.
312+
313+
To provision a Pod that has a Git repository mounted, you can
314+
mount an
312315
[`emptyDir`](#emptydir) volume into an [init container](/docs/concepts/workloads/pods/init-containers/) that
313316
clones the repo using Git, then mount the
314317
[EmptyDir](#emptydir) into the Pod's container.

0 commit comments

Comments
 (0)