rancher / kubewarden-ui

Kubewarden's User Interface
Apache License 2.0
11 stars 13 forks source link

Support ability to create policies from yaml #6

Closed jordojordo closed 2 years ago

jordojordo commented 2 years ago

2

Is your feature request related to a problem?

I would like to be able to create a ClusterAdmissionPolicy from YAML in the UI without the use of kubectl

Solution you'd like

Add a button on the Create screen for ClusterAdmissionPolicies that would take the user to a creation screen that has the necessary YAML for any given policy.

Alternatives you've considered

Currently we don't have the ability to generate the YAML for policies with Helm charts, so this would be the next best thing until that is an option.

Anything else?

No response

jordojordo commented 2 years ago

Creation of a policy with YAML is now possible. When creating you will be given default values for a policy with the most necessary information for any given policy.

To test


https://user-images.githubusercontent.com/40806497/155329837-9a99d424-5e3a-4383-82a9-c52c56c37dd4.mp4