-
Story
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
False
-
None
-
False
-
OCPSTRAT-402 - Unified Console
-
HAC Infra OCP - Sprint 227, HAC Infra OCP - Sprint 228
As a partner which has experience with React but has no experience with patternfly/ocp/dynamic plugins, I want to have an example plugin which I can use as a starting point for my development so I will get off to a good start.
A customer use case:
- customer has an operator and custom resources (what custom resource to use? something basic? would secure control constraint be a good example for this custom resource?)
- wants to expose those to the ui
- walk through the steps to accomplish that with
- list pages
- detail pages
- actions - custom action / create / delete
- create/edit form for a custom resource
- add a tab to an existing resource detail page (ie adding pdb to pods page)
Start with sams plugin template:
https://github.com/spadgett/console-plugin-template
(Need input on suggested steps below. IE mimic the flow if we wanted to add a new resource to the console ui, what would be the route for completing that task.)
Staged outline of how to build a plugin:
stage 1: template to create a plugin with a single nav item
stage 2: add a list view
stage 3: add actions to the page
In the end bring in a new resource that is managed by your new dynamic plugin
Acceptance criteria:
- Create stories that will cover work necessary to create plugins that will provide real world examples for partners to learn from
Conclusion:
- Minimal Dynamic Plugin for the CronTab CRD which is also used in official k8s docs for various examples
- Advanced Dynamic Plugin for the VerticalPodAutoscaler
- In co-op with Node team (Ryan Phillips's team) - Deliver part of their operator