Commit Graph

30 Commits

Author SHA1 Message Date
Westly Wright d3d78e87c8
Upgrade Ember & Dependencies for LTS support >3.12
There are changes required for the ember upgrade but additional changes
for individual libs are also present. Commit has been squashed, see
individual commits if needed.

There are a bunch of HBS changes as well. These are to deal with a
couple new rules and there impact is low. The button one has bitten us a
few time so this seemed great to add IMO.

update ember 3.12.4

ember 3.13

fixes for new eslint rules

ember 3.13->3.14

ember3.14->3.16

ember3.16->3.20

3.20 lint rules

yarn upgrade

update ember-optional-feature

update deps that can go to patch versions

upgrade major versions that are possible

update ansi_up

only reset term var if we're not destroying

prevents new ember 'same computation' error

update async

upgrade dot-object

new-catalog - add set to deal with new warning
marked-down - drop call into next to ensure its called at the correct time

upgrade ember-assign

update ember-cli-clipboard

remove unused & deprecated ember-cli-release

remove unused drag-drop lib

use set on tracked prop

update ember-flatpickr && cli-test-loader

upgrade ember-href-to

update filesaver

update liquid-fire and ipaddr

upgrade jsondiffpatch

upgrade marked

upgrade semver

update xterm

Update ember-basic-dropdown

the library has changed quite a bit and no longer provides an addon for the content-item where we handling the click event to close the dropdown,
thus click events must be added manually to the items being clicked to close the dropdown.

udpate dompurify

fix page header project styles

Bump ember api store, remove npm-run-all

Autofix button types from hbs linting

this change looks large but only adds `type` button to any buttons that dont have a type, which should help to reduce weird side effects

more hbs lint changes for no-negate-condition

turned off a couple rules that could be too much to test right now
2020-10-07 16:52:22 -07:00
Westly Wright 139cfcd960
Remove valueIsPatchVersion check as its not needed here
rancher/rancher#25335
2020-03-10 10:58:39 -07:00
Westly Wright 912dc006f0
Refactor form-version init val method
Improves the readabliity and ensures that if the initialVersion is good we use
that version rather that max version.

rancher/rancher#25335
2020-03-09 11:11:13 -07:00
Westly Wright 8a519e9143
add help text to form version on edit
rancher/rancher#24829
2020-01-02 15:39:58 -07:00
Westly Wright 9c2a73a261
Prevent downgrade k8s version on edit cluster
rancher/rancher#24071
2019-12-17 16:11:14 -07:00
Westly Wright 8058d3de4d
refactor form-versions logic to reduce complexity and bugs
I think the file it self may look more verbose as I've broken several of the
confusing portions into pure(ish) functions. I think this reduces the complexity
of the logic and makes it easier to read. Hopefully this will reduce the bugs
that keep cropping up.
2019-10-29 14:07:49 -07:00
Westly Wright b5173c2e46
Select correct k8s version when changing templates
rancher/rancher#23682
2019-10-25 09:27:07 -07:00
Westly Wright 702eb261ff
Fix k8s version dropdown when editing cluster with prohibitied k8s v
When a user upgraded there rancher install to >2.3 with clusters on now
unsupported versions of k8s we would show them the label that is used when
launching with a cluster template instead of the unsupported label

rancher/rancher#23085
2019-09-25 14:56:50 -07:00
Westly Wright 9bb9f17668
Show 'Latest' version label rather then derived version on temp view
When viewing or cloning a template version the form-versions component would
select the derived version rather then the semver version the template was
created with. Now we will display the correct label or select the correct semver
version when in a view or clone of RKE templates.

rancher/rancher#23065
2019-09-25 11:13:25 -07:00
n313893254 9226c5e983 Fix cannot edit v1.14 k8s EKS cluster
https://github.com/rancher/rancher/issues/22894
2019-09-17 11:06:10 +08:00
Vincent Fiduccia b209d16efc
Unsupported vs not allowed 2019-08-16 13:48:42 -07:00
Vincent Fiduccia d39b00ee22
Cluster template bugs 2019-08-13 17:28:17 -07:00
n313893254 54958afa25 UI Cloud Providers Should Add Kubernetes Version to Dropdown If Not Present
https://github.com/rancher/rancher/issues/19478
2019-08-13 12:13:11 +08:00
Westly Wright 107e86ad12
Cluster template revision detail page
rancher/rancher#23734
2019-08-09 09:11:53 -07:00
Westly Wright 814a04bdce
allow k8s version to check if editing only when using cluster templ 2019-08-07 09:29:43 -07:00
Westly Wright c44e9ca6e6
Add date created & default label to the cluster temp revision select 2019-08-07 09:29:43 -07:00
Westly Wright 4ef13c8119
remove erroneous check in init form-versions for ctr create
rancher/rancher#21882
2019-08-02 11:53:52 -07:00
Westly Wright 3b65839c06
check if override has satisfies
rancher/rancher#21898
2019-08-02 11:53:52 -07:00
Westly Wright 53a31f7a3d
fix bug applying default values of cluster template kube version
rancher/rancher#21721
2019-07-31 15:11:58 -07:00
Westly Wright 9c315341fa
fix undefined errors when no cluster config exists
rancher/rancher#21816
2019-07-30 09:26:21 -07:00
Westly Wright 654d125b17
fix incorrect version selection bug with patch version selection
rancher/rancher#21715
rancher/rancher#21721
2019-07-30 09:26:21 -07:00
Westly Wright 6304e50370
fix typo 2019-07-19 14:11:33 -07:00
Westly Wright 9b04d50180
Fix bug where default version was not updating
rancher/rancher#21442
2019-07-19 12:30:50 -07:00
Westly Wright 00b2e2a8f3
Kubernetes versions with patch support for cluster templates
First itteration of new kube versions w patch support

fix alias issue

satisfies working with no override, hide questions, uniq questions

add templates service, add additional satisfies logic

cluster template translation

add setdefault action to cluster template revisions

Add cluster template link to clusters index page

apply cluster templates satisifies logic
2019-07-16 10:15:38 -07:00
Westly Wright 2a66489f83
New cluster launch page
Refactor and decouple launch cluster

adds new routes for selecting cluster, selecting cluter template, and launching
cluster

Add first version of cluster template selection logic

WIP - First version of cluter-template resource pages & components

cluster template index

adds cru-cluster-template

save cluster template and cluster template revision

refactor rke cluster driver and add rke cluster driver to clust temp

add cluster template revision page

template revision changes

more questions

refactor cluster networking into component

cluster template questions components

first itteration of working add question

fixups for ct and ctr's

general fixes

quick revision select on new revision page

Move name, expose ctr name, move ctr source

Refactor ct/ctr table to use grouped form

share member added

single template no revisions rows

translations

translation changes

css toggle

css toggle on all elements

inline override

initial apply cluster template

initial show or lock when applying a cluster template

validation bug

first run at windows support overrides

abstract check override with component that yields

add check for override to most sections

bulk remove cluster template revision

more check override

handle errors better for ctrs

translations

bugs

add toggle to azure cloud provider

auth endpoint fix

computed override check and refactor

fixup question override inputs

remove cluster launch route

review fixups

cluster edit

fixup alias properties for overrides
2019-07-08 14:45:44 -07:00
loganhz 296375bbc0 Fix edit yaml k8s version issue 2019-05-05 16:03:30 +08:00
n313893254 741a1fc14e Hide GKE field when upgrade form 2.1
https://github.com/rancher/rancher/issues/18464
2019-02-28 19:12:09 +08:00
n313893254 a5e83f6dc4 Update for review 2019-01-23 15:19:56 +08:00
n313893254 ffa0a388ee Unable to edit existing cluster K8s version
https://github.com/rancher/rancher/issues/17141
2018-12-18 17:49:57 +08:00
Westly Wright 786f5182a7
Consolidate version checking cluster logic
rancher/rancher#16113

remove experimental
2018-12-13 15:05:29 -07:00