Skip to content

KEP-5040: Disable git_repo volume driver.#54528

Merged
k8s-ci-robot merged 1 commit into
kubernetes:dev-1.36from
vinayakankugoyal:gitrepo
Apr 3, 2026
Merged

KEP-5040: Disable git_repo volume driver.#54528
k8s-ci-robot merged 1 commit into
kubernetes:dev-1.36from
vinayakankugoyal:gitrepo

Conversation

@vinayakankugoyal

Copy link
Copy Markdown
Contributor

Description

Update the documentation for gitRepo volumes to highlight that the gitRepo volume plugin has been disabled and cannot be enabled starting v1.36.

Issue

xref: kubernetes/enhancements#5040

@k8s-ci-robot k8s-ci-robot added this to the 1.36 milestone Feb 17, 2026
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language labels Feb 17, 2026
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 17, 2026
@vinayakankugoyal

Copy link
Copy Markdown
Contributor Author

/cc @xing-yang

@netlify

netlify Bot commented Feb 17, 2026

Copy link
Copy Markdown

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit e9552e6
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/69cd6cccf0820e0008d8265b
😎 Deploy Preview https://deploy-preview-54528--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread content/en/docs/concepts/storage/volumes.md Outdated
Comment thread content/en/docs/concepts/storage/volumes.md
Comment thread content/en/docs/concepts/storage/volumes.md Outdated
@dipesh-rawat

Copy link
Copy Markdown
Member

/sig storage

@k8s-ci-robot k8s-ci-robot added the sig/storage Categorizes an issue or PR as relevant to SIG Storage. label Feb 18, 2026
@vinayakankugoyal vinayakankugoyal force-pushed the gitrepo branch 2 times, most recently from 1d93b5c to ef1d4dc Compare February 18, 2026 15:31
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 18, 2026
@xing-yang

Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 25, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: 83cb58a68e09186b722fa836e240969c51855832

@singh1203 singh1203 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Comment thread content/en/docs/concepts/storage/volumes.md Outdated
enable the `GitRepoVolumeDriver`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/).

A `gitRepo` volume is an example of a volume plugin. This plugin

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, delete from this line (inclusive) to blank line the start of the next level 3 heading (glusterfs).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thanks!

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 1, 2026
@k8s-ci-robot k8s-ci-robot requested a review from singh1203 April 1, 2026 18:53
@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 1, 2026
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 1, 2026
@singh1203

Copy link
Copy Markdown
Contributor

Hello @vinayakankugoyal 👋,
I'm reaching out from the v1.36 Docs team.
Just checking in as we approach Docs Freeze on Wednesday 8th April 2026 (AoE) / Thursday 9th April 2026, 12:00 UTC.
This documentation appears to still be under review.
To meet the Docs Freeze, this PR must have a technical review as well as lgtm and approve labels applied, without any unaddressed comments or concerns from SIG Docs.
Thank you!

@vinayakankugoyal

Copy link
Copy Markdown
Contributor Author

@xing-yang could you please take another look and provide your LGTM

@xing-yang

Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 2, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: 73cb895fbeb1cd0c0eb9d6ec6ab1647259f9644f

@lmktfy lmktfy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should drop this too:

You can restrict the use of `gitRepo` volumes in your cluster using
[policies](/docs/concepts/policy/), such as
[ValidatingAdmissionPolicy](/docs/reference/access-authn-authz/validating-admission-policy/).
You can use the following Common Expression Language (CEL) expression as
part of a policy to reject use of `gitRepo` volumes:
`!has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))`

But that can be a separate PR.

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lmktfy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 3, 2026
@k8s-ci-robot k8s-ci-robot merged commit 6d4e552 into kubernetes:dev-1.36 Apr 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/storage Categorizes an issue or PR as relevant to SIG Storage. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants