Repository navigation
[Automated] Draft docs (kagent): feat(ui): manage EgressPolicies from the UI - #726
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
… the UI Signed-off-by: GitHub Action <action@github.com>
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.
The target's own content scan fails where the base build passed (docs-theme-extras
markdown-leaks/built-html-integrity):kagent-dev/kagent#3542 — feat(ui): manage EgressPolicies from the UI
Docs versions:
mainNo code-path rule covers 8 touched file(s). The planner could route these only by identifier search, so the candidate pages may miss what they changed, including in the other mode:
go/api/gen/kagent/api/v1/egress_policies.pb.gogo/api/gen/kagent/api/v1/egress_policies_grpc.pb.gogo/core/internal/grpcserver/egresspolicy.gogo/core/internal/grpcserver/policy.gogo/core/internal/grpcserver/server.gogo/core/internal/service/kubecrud/service.goWhat changes for users: The kagent UI can now list, create, edit, and delete EgressPolicy resources from the Policies page. Users can inspect each policy's destinations and usage, select namespace-local policies from the Agent form, and reload before saving if an edit is based on a stale policy version.
What the docs now say: The Egress policies guide now expands the Manage policies in the UI section with the details page, Used by table, form validation, stale-save reload prompt, and Agent form selection behavior.
How
kagent-3542was draftedPlan, and what changed it
docs-site/content/kagent/main/agents/egress-policies.mdalready had a short UI section, so the specific edit belonged there rather than on the broader UI or networking pages.Why a documentation change is necessary
The pull request adds an Egress Policies tab to the kagent UI, an EgressPolicy details page, create and edit forms, Agent form selection, and stale-save handling through the EgressPolicyService API. The target guide already documented EgressPolicy resources and had one UI paragraph, but that paragraph did not tell readers what the new UI pages show or how the form behaves. The new prose keeps the UI information beside the existing
kubectlworkflow for the same resource.How to verify this change
ui/directory, setENABLE_MOCK_UI=truein.env, runyarn dev, and open/policies. The Egress Policies tab lists policies with origins, authentication type, and Used by counts.Applied, and deleting the policy warns that one visible Agent or SandboxTemplate uses it.Proposed release note
No
proposed-release-note.md:markers.notes_placeableis false for this item.Suggested text: The kagent UI now includes an Egress Policies tab on the Policies page. You can list, create, edit, and delete EgressPolicy resources, inspect destinations and usage, and select policies from the Agent form.
Files in this pull request
docs-site/content/kagent/main/agents/egress-policies.mdHow the pages were chosen (triage report)
Draft a documentation change
kagent-dev/kagent#3542 — feat(ui): manage EgressPolicies from the UI
kagent-dev/websitego/api/gen/kagent/api/v1/egress_policies.pb.gogo/api/gen/kagent/api/v1/egress_policies_grpc.pb.gogo/core/internal/grpcserver/egresspolicy.gogo/core/internal/grpcserver/policy.gogo/core/internal/grpcserver/server.gogo/core/internal/service/kubecrud/service.goDraft branch:
pr-tracker-draft-kagent-3542Important
The test suite has not run on this pull request. It was opened by
github-actions[bot], and GitHub does not start workflows for pull requests opened with the repository's own token. This repository's checks are held asaction_requireduntil somebody presses Approve and run on the Checks tab. Checks that come from GitHub Apps rather than Actions, such as DCO, run on their own.Please approve the checks before reviewing the content: an absence of failures here means the tests have not run, not that they passed.