We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1fd3a commit e79296dCopy full SHA for e79296d
content/en/docs/concepts/storage/volumes.md
@@ -308,7 +308,10 @@ third party storage driver instead.
308
### gitRepo (deprecated) {#gitrepo}
309
310
{{< warning >}}
311
-The `gitRepo` volume type is deprecated. To provision a container with a git repo, mount an
+The `gitRepo` volume type is deprecated.
312
+
313
+To provision a Pod that has a Git repository mounted, you can
314
+mount an
315
[`emptyDir`](#emptydir) volume into an [init container](/docs/concepts/workloads/pods/init-containers/) that
316
clones the repo using Git, then mount the
317
[EmptyDir](#emptydir) into the Pod's container.
0 commit comments