Update content/en/docs/concepts/storage/volumes.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
parent
bf1fd3adc0
commit
e79296d47b
|
|
@ -308,7 +308,10 @@ third party storage driver instead.
|
|||
### gitRepo (deprecated) {#gitrepo}
|
||||
|
||||
{{< warning >}}
|
||||
The `gitRepo` volume type is deprecated. To provision a container with a git repo, mount an
|
||||
The `gitRepo` volume type is deprecated.
|
||||
|
||||
To provision a Pod that has a Git repository mounted, you can
|
||||
mount an
|
||||
[`emptyDir`](#emptydir) volume into an [init container](/docs/concepts/workloads/pods/init-containers/) that
|
||||
clones the repo using Git, then mount the
|
||||
[EmptyDir](#emptydir) into the Pod's container.
|
||||
|
|
|
|||
Loading…
Reference in New Issue