Repository navigation
kubectl-ate: add delete egress-policy - #1808
Merged
Bowei Du (bowei) merged 1 commit intoSep 30, 2026
Merged
Conversation
haiyanmeng
reviewed
Sep 22, 2026
Yuan Gao (ygao-g)
force-pushed
the
kubectl-ate-egress-delete
branch
from
September 23, 2026 20:17
261da2f to
605b126
Compare
haiyanmeng
approved these changes
Sep 23, 2026
Yuan Gao (ygao-g)
marked this pull request as draft
September 24, 2026 17:00
Yuan Gao (ygao-g)
force-pushed
the
kubectl-ate-egress-delete
branch
from
September 24, 2026 18:40
605b126 to
bf2cca9
Compare
Yuan Gao (ygao-g)
marked this pull request as ready for review
September 24, 2026 18:41
Yuan Gao (ygao-g)
force-pushed
the
kubectl-ate-egress-delete
branch
from
September 25, 2026 16:42
bf2cca9 to
4580b18
Compare
Bowei Du (bowei)
previously approved these changes
Sep 29, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 29, 2026
Yuan Gao (ygao-g)
force-pushed
the
kubectl-ate-egress-delete
branch
from
September 29, 2026 20:08
4580b18 to
5c2aeb4
Compare
Yuan Gao (ygao-g)
force-pushed
the
kubectl-ate-egress-delete
branch
from
September 29, 2026 20:08
5c2aeb4 to
9046ea6
Compare
Collaborator
Author
|
Bowei Du (@bowei) PTAL as github dismisses previous approvals after rebase |
Yuan Gao (ygao-g)
marked this pull request as draft
September 29, 2026 21:19
Yuan Gao (ygao-g)
force-pushed
the
kubectl-ate-egress-delete
branch
2 times, most recently
from
September 29, 2026 22:09
c5a81bc to
e506267
Compare
Yuan Gao (ygao-g)
force-pushed
the
kubectl-ate-egress-delete
branch
3 times, most recently
from
September 29, 2026 22:17
3628de2 to
48ee436
Compare
"delete egress-policy <actor> -a <atespace>" removes the actor's egress policy. Fails if the actor is missing, or the actor has no policy. Optional --uid and --version flags guard the delete: the server refuses it when either no longer matches the stored policy.
Yuan Gao (ygao-g)
force-pushed
the
kubectl-ate-egress-delete
branch
from
September 29, 2026 23:37
48ee436 to
216b19f
Compare
Yuan Gao (ygao-g)
marked this pull request as ready for review
September 29, 2026 23:39
Bowei Du (bowei)
approved these changes
Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #1550.
Adds
kubectl ate delete egress-policy <actor-name> -a <atespace>The command removes the actor's policy. It exits 1 when the actor does not exist
or has no policy. Also add optional
--uidand--versionflags, when specified,the server refuses the delete when either no longer matches.
Testing
Tested on a kind cluster with the egress demo
and an API server built from this branch, using a CLI built from this branch:
updatebumps the policy🤖 This PR was developed with AI assistance. I have reviewed and tested all changes.