File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
content/en/docs/concepts/storage Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ third party storage driver instead.
352
352
# ## gitRepo (deprecated) {#gitrepo}
353
353
354
354
{{< warning >}}
355
- The `gitRepo` volume type is deprecated.
355
+ The `gitRepo` volume plugin is deprecated and is disabled by default .
356
356
357
357
To provision a Pod that has a Git repository mounted, you can mount an
358
358
[`emptyDir`](#emptydir) volume into an [init container](/docs/concepts/workloads/pods/init-containers/)
@@ -372,6 +372,10 @@ part of a policy to reject use of `gitRepo` volumes:
372
372
373
373
{{< /warning >}}
374
374
375
+ You can use this deprecated storage plugin in your cluster if you explicitly
376
+ enable the `GitRepoVolumeDriver`
377
+ [feature gate](/docs/reference/command-line-tools-reference/feature-gates/).
378
+
375
379
A `gitRepo` volume is an example of a volume plugin. This plugin
376
380
mounts an empty directory and clones a git repository into this directory
377
381
for your Pod to use.
You can’t perform that action at this time.
0 commit comments