* eks initial
* k8s options
* eks node group component
* add config and networking components
* fix default region on initial load
* use .sync modifier in network tab
* launch templates
* node group styling
* spot instances/launch template instance type
* fix selectcredential footer when not showing the rest of the form
* cluster name description and options
* iam listRoles
* subnets
* k8s version dropdown custom
* logging tab
* agent deployment customization, labels and annotations
* working default values
* fix edit eks/aks
* instance types dropdown improvements and spot instance type filtering
* validation;
localization
* todos
* tests
* move diffUpstreamSpec
* clean up
* improve launch template loading appearance
* fix kms key fetch
* fix custom role radio
* fix failing nodegroup test
* fix lint
* fix typescript errors in crueks
* nodegroup ts
* cache ec2 instance types
* cache instance types in vuex
* nodegroup ts
* ts errors in eks networking
* eks config ts errors
* tweak nodegroup input sizing
* reset nodegroup default values if the launch template is cleared
* add tooltips and userdata file upload button to node groups
* add networking tooltips; make credential dropdown half width when not showing credential form controls
* fix rancher managed launch template detection
* fix networking tooltip
* show when a node group has a rancher-managed launch template
* fix error filtering for ec2 iam roles
* add system labels and annotations for norman clusters
* lint
* lint
* fix labels and annotations getters in norman cluster model
* added tests for norman cluster system labels and annotations
* fix some eks typescript and hide cluster name when no credential
* fix userdata sublabel link
* fix networking info banner translation typo
* node group size labels and tags should be editable
* Correct file naming and small TS issues
Correct TS related issues
* Manual replacement of :is on standard HTML tags
* Add missing required in the code dependencies
* Correct SCSS import
* Correct test file naming
* Correct typo in markup
* Use alias for types import
* 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
* change condition to show registration tab only on hosted providers with private endpoint/network + adds unit tests
* address pr comments
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* update logic of hasError in prov cluster model
* working on unit tests
* fix code logic and finish unit tests
* fix lint issue
* address pr comments
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* add CSI suffix to all non-builtin storageClass provisioners
* improve unit test
* fix issue with storybook build a spec.ts files
* update main.js to exclude
* revert changes to storybook config + rewrite unit test
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* update logic to decide if a namespace is a system one + improve curated list of system namespaces
* fix and extend unit tests for isSystem namespace model prop
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* disable scale down to zero
* scaling down to zero restrictions for RKE1
* removed extra optional chaining
* removed wrong condition for minus button
* added unit tests
* combined rke1 and rke2 scale down modals + more tests + minor refactor
* delete unused file ScaleRke1NodeDownDialog.vue
* moved logic from created to data + used nameDisplay for both rke1 and rke2
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* Heavy code cleanup: move function to utils, config and types to their own file
* Add fallback and tests for version comparison not retrieving values
* Fix refactoring
* Add partial case of array filterBy
* Replace multiple functions handling the same case with single getter; add covering tests
* Add no parameter case to be correctly handled
* Add case with different chart values, e.g. Epinio issue case
* Prevent issues if retrieved version is undefined; Add unit tests for upgrade cases
* Filter out charts if lack parameters
* Add list of cases to be covered for the model tests
* Create test cases for Namespace
* Pass empty object when creating new Namespace
* Add test about projectId in Namespace
* Remove mock for CI
* Remove unnecessary code