* remove error icon when the condition is Ready and Waiting
* fixed importing clean tooltip directive
* change testing component name
* use replace instead of replaceAll to fix node version support issue on GH's unit test action
* added more unit tests
* import replaceAll polyfill and clean tooltip directive to jest setup
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* 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>
* HARVESTER: only change priority by select component
* apply weight input fix to node affinity and add unit tests
* fix node affinity unit test name
---------
Co-authored-by: Nancy Butler <42977925+mantis-toboggan-md@users.noreply.github.com>
* Added test for preventDefault
* Added test for prevent default event on keypress Enter in CruResource component
* Removed test console log
* Fixed lint
* Added data-testid to form
* Fixed lint
* Add new line on pressing enter
* Test enter new line
* Test textarea Enter button in CruResource form
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
---------
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Francesco Torchia <francesco.torchia@suse.com>
* Add additional permission check for cluster and project member admin
* Fixes the projectMembership editor on the edit project page
* per-project filtering for managing project-members on cluster/project
* Fixed admin behavior, simplified PRTB mgmt check,
* Optimise code
- Exit from cluster part early if
- we're not ready to calc it
- we've already calc'd it
- Move back calc of per project current user permissions to original loop
- Exit from project part early if
- existing checks
- we've already approved the
---------
Co-authored-by: Richard Cox <richard.cox@suse.com>
- In epinio world defaultNamespace isn't valid
- This would be undefined, which was probably handled as a falsy which matched the 'create a ns' option
- So fall back on something sensisble
* remove extra weight field from matchExpressions[].preference
* remove extra weight field from podAffinityTerm
* fix fleetAgentDeploymentCustomization payload data
* remove ui-only matching field from matchexpression and matchfield terms
* rm cypress numTestsKeptInMemory config change
* Changes to support custom node driver UI extensions
* Fix bad merge
* Fix merge
* Fix bad merge
* Revert changes that are more impactful for now
* Add mock for $plugin
* Fix lint issue
* Address PR feedback
* Fix bad rebase
* Fix merge issues
* Removed unused import
* Fix merge issue
* Add back in missing validation for roles
* Fix unit test
* account and api keys tests
* account & api keys tests: updates made per review
* account and api keys tests: added checkRowCount fn and added step to make test deterministic
* account and api keys tests: removed unused import
* account and api keys tests: update assertion
* account and api keys tests: update navigation test
* account and api keys tests: move deleteButton function, update selector value
---------
Co-authored-by: Yonas Berhe <yberhe@Yonass-MacBook-Pro.local>
- Make switching between github/gitlab in all scenarios simpler
- in git picker whenever the value changes ... we reset and reload
- in app source ensure the value only changes when there's been a required reload
- this includes forcing one when type changes from any type to any type
- this does mean there will be more http requests to gitX when switching between types