kpt-backstage-plugins icon indicating copy to clipboard operation
kpt-backstage-plugins copied to clipboard

Add the Network Policy resource editor

Open ChristopherFry opened this issue 2 years ago • 0 comments

Feature Suggestion

Add a first-class Network Policy resource editor.

Possible Implementation

The Network Policy resource editor does not need to implement every field present on the resource. The editor should allow updates to the metadata (name, namespace, labels, annotations), the policy type to be updated to deny all ingress and egress traffic, and use match labels on the pod selector to limit the group of pods to which the network policy will apply.

Context

Currently, the Config as Data UI has first-class resource editors for many resources, including for Deployments, Stateful Sets, Services, Service Accounts, Ingress, Roles, and Role Bindings, however, a first-class resource editor has yet to be created for Network Policies. First-class resource editors allow users to add and update Kubernetes resources with a UI versus using YAML.

ChristopherFry avatar Jan 31 '23 17:01 ChristopherFry