* add e2e tests for #10389 and #9926
* disable eslint for massive blueprint schema file
* fix e2e test issue + sneaky improvement for carousel unit test
* uncomment missing e2e test
* simplify schemas data and logic to generate a V2 monitoring on a local cluster for e2e tests
* minor code cleanup
* add permission warning to all auth providers
* convert to ts component
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* fix syntax
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* remove labeledselect ability to detect stale option labels in order to improve performance
* add key rerender hack to fix psa dropdown option labels not refreshing
* fix lint
* resource edit AS yaml
* fix cruresource (yaml from form)
- lazy load the schemaDefinitions when needed, avoids sync all to createYaml before we have an async chance to fetch schemaDefinitions
* Fix questions
- there are only four places we use questions, none of which use schema, this is just to be safe
* cluster scan, plugins/fieldsForDriver, defaultFor, validationErrors
* pathExistsInSchema
- used to optionally show conditions tab/list in resource detail view
- logs of things in ingress list/edit
* createPopulated / defaultFor
defaultFor requires resourceFields, it's only used by createPopulated in one place to support machine configs without components
* wip
* WIP MONITORING.SPOOFED
- these aren't spoofed types, but secondary schemas
- testing fix blocked, primary schema's have resourceFields
* Move steve specific (resourceField) code to steve models
- create models for steve schemas and apply to cluster and management stores
- move resoureField based validationto steve model
- move pathExistsInSchema to steve store getter
- don't fetch schemaDefinitions on start up when saving prefs (not needed and blocking)
* comments / improvements
* (untested) refactoring
* Fix alertmanager definitions, add retry definition fetch
* Fix pathExistsInSchema for path length > 2
* Fix questions that accept schemas
- tested by adding Questions to random page and the node schema
* Fix to saving configmap part 1
- the save works but doesn't show data. the yaml is the same as before. debug info added
* Validation by resourceFields is a norman specific thing, so make it such
* small refactor
* Tidying up
* Remove rebase junk
* fix linting and unit tests
* fix unit tests
* fix linting from fix for test....
* Tidying up, fix alertmanagerconfig
* Remove unit test todos
* add unit tests for resource fields
* sdssdf
* Add unit tests for pathExistsInSchema
* JS --> TS
* Store schemas in local singleton cache to avoid hitting store
* fix minor changes from review
* cruresource changes following review
- improvement - remove spurious canDiff
- createResourceYaml - pass in resource to use instead of calc in code
* WIP changes to parseType
* Fix generic cloud credential and node driver forms
* handle missing reactivity given schema definitions not in store
* fix and add unit tests for `parseType`
* Fix create-yaml test
* Changes following review
- improved comments
- SchemaDefinitionCache is now per store (and is reset as such)
- typeRef now uses parseType
* Fix dep loop by moving route based helps in auth out to utils file
* fix unit tests
* Changes following review
* fix displaying false vsphere errors
* rename variables
* fix default values not being set when a new pool is added in edit mode
* minor refactor
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* fix issue with squashed custom box in Checkbox + add tests + sneaky fix for prop as computed
* fix e2e test + add test to a couple of more areas
* add another test
* remove important
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* add option of 'none' for Container Network select in Basics tab of RKE2 provisioning + add e2e test to check that option is available and can be selected
* add correct logic to include none as a CNI option
* address pr comments
* fix small bug with missing optional chaining
* add banner to Basics component when CNI option selected is 'none' to warn user about the need of additional configuration
* update e2e to test banner
* fix issue
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* fix registry host not being synced with its secret
* lint
* refactor landing on Create Custom page
* refactor creating cluster name in e2e test
* pass index to selectors
* reuse clickTabWithSelector
* lint
* refactor registries e2e po
* lint
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
This reverts changes made by Aws In-tree support (#9643). While testing, it appears that the intent of this PR (to handle upgrade cases and display a banner) can never be triggered.
fixes#10426
* amazon ec2 rke2 cluster tests
* update saveAndWaitForRequest fn
* add loading po and use in test
* updates per change requests
---------
Co-authored-by: Yonas Berhe <yberhe@Yonass-MacBook-Pro.local>