dashboard/shell/scripts
Neil MacDougall c9e1a19396
Extension support for custom provisioning (#9246)
* Extension support for custom provisioning

* FIx lint issues

* Discovery / Tweaks
- fix issue where namespacesOverride was lost
- tidy up PROVIDER
- try to handle missing provider=type url param (could be missing extension-params)
- added a few comments to comments to come back to

* Names and typings
- change param --> customParam to make it clearer it's not url params
- add labels-annotations to shell types

* Wire in provider detailTabs
- as per original readme this should be made generic (extension point working directly with ResourceTabs)

* Update IClusterProvisioner & docs

* Improvements / Changes to support proving out DO extension
- cluster hooks optional
- buff up save hook (and pass in cluster when calling apply fn)
- move normalizeName into generic place
- bring back async create machine config
- hack for do extension (map example provider to do provider)

* updates, add optional saveCluster, add missing kube file
- saveCluster complements hooks, doesn't skip handling of addons, etc
- ensure register hooks take the `this` context in all worlds

* Adding docs

* Updates
- location config based changes
  - change customParams to context
  - add query param
- add new extention point to add tabs to cluster create cluster config section
- fixed some typing
- fixed issue where cluster was not passed to before / after hooks (only important if 'this' changes

* Changes following review, fix `t` in plugins

* Fix linting

* Docs updates, pass through more edit/view things

* Conditionally show the namespace grouping in the cluster list
- means users can differentiate between clusters with same name in different namespaces
- useful when clusters created via extension provisioner where ns can be selected

* docs tweaks, actually include the provisioning page in docs

---------

Co-authored-by: Richard Cox <richard.cox@suse.com>
2023-07-11 22:17:57 +01:00
..
extension bump kube version (#9139) 2023-06-20 19:11:34 +01:00
build-pkg.sh Removing nuxt 2023-03-03 11:49:26 +00:00
clean Extensions: Add publish script to shell (#8198) 2023-02-21 20:06:48 +00:00
drone-build-pkg.sh Fix drone-build-pkg script for `master` branch 2022-09-12 19:19:28 +01:00
pkgfile.js Plugins: Initial codebase refactor and plugin support (#4779) 2022-05-10 10:00:39 +01:00
publish-pkg.sh Plugins: Initial codebase refactor and plugin support (#4779) 2022-05-10 10:00:39 +01:00
publish-shell.sh Fix plugin pkg tsconfig (#6930) 2022-11-24 10:03:42 +00:00
record-deps.js Fix plugin pkg tsconfig (#6930) 2022-11-24 10:03:42 +00:00
serve-pkgs Adding a descriptive error message to the serve-pkgs script 2023-05-01 19:54:27 +02:00
sync-shell-deps Fix shell package dependencies (#7070) 2022-10-04 12:02:45 +01:00
test-plugins-build.sh Ensure build fails when it fails! (#8201) 2023-02-17 17:09:29 +00:00
typegen.sh Extension support for custom provisioning (#9246) 2023-07-11 22:17:57 +01:00