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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
This commit is contained in:
Balaji 2024-03-21 02:57:12 -07:00 committed by GitHub
parent bf1fd3adc0
commit e79296d47b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -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.