https://rancher.com/ logo
#developer
Title
# developer
n

numerous-apple-85303

11/16/2022, 12:42 PM
Hey folks, I am dabbling into how to develop a UI Plugin. I want to create an experience similar to creating NetworkPolicy (image for reference). But for my Custom Resource. I checked out https://github.com/rancher/ui-plugin-examples but it seems to be for multicluster apps? Can someone guide me how can I do this or refer me to some Document if it will be possible.
👀 1
b

billions-vase-14972

11/16/2022, 2:48 PM
UI extensions are still being developed, but you can find some documentation here (keep in mind these docs may be slightly outdated and will continue to be updated). You don't need to use Verdaccio to create a pkg or app as the npm packages can be found here, namely
@rancher/create-app
or
@rancher/create-pkg
depending on your use case. As for an extension that could be used on a cluster level you can reference this repo, the routes you create for your extension will determine the scope. See these routes as an example.
1
n

numerous-apple-85303

11/16/2022, 5:04 PM
Tried out the kubewarden ui. The experience was great, and similar to what I wanted. Thanks a lot for sharing. Helps me make much more sense.
🎉 1
6 Views