Commit Graph

271 Commits

Author SHA1 Message Date
Westly Wright afcb5c482f
remove version check as it happens later in istio upgrade
it was causing the edit to fail

rancher/rancher#25114
2020-01-27 10:34:46 -07:00
Westly Wright 476fda4eed
Ensure Istio app version is upgraded correctly during upgrade process
rancher/rancher#24956
2020-01-14 16:09:53 -07:00
loganhz 8e9746b345 Fix upgrade version issue
https://github.com/rancher/rancher/issues/18118
2020-01-10 10:54:50 +08:00
Westly Wright d555aedc77
expose forceUpgrade option for istio upgrade 2019-12-30 09:13:00 -07:00
Cody Jackson a93febe01f Make special case for the 'running' state colorI originally changed the color in transitioning which changed thecolor elsewhere like the workload progress bars. We decided tomake the color of running an exceptional case in CIS scans since themeaning of running differs here.rancher/rancher#24440rancher/rancher#24639 2019-12-17 16:46:43 -07:00
Cody Jackson 49a6a2f555 Fix running cis scan and change the color of running state
The new API required that I pass null instead of an empty array
as the skiplist if nothing is supposed to be skipped when
running a scan.

Updated the color of the running state to info instead of success
as requested.
2019-12-14 22:08:41 -07:00
Westly Wright 6656c6601d
Setup observed property on init rather than default to object @ boot
`templateChanged` which loads the content of what we need for a MC app was
updated to watch a new property, `editable: { selectedTemplateUrl } `. The new
property was declared on the component as a object. Observers watching a static
object and that have never been fetched do not recompute. If we set the property
on init to the object it would have been declared with then additional sets on
the watched property cause the observer to recompute.

rancher/rancher#24057
2019-11-14 10:55:44 -07:00
Westly Wright aa2188d8ac
pass answers to validation method for catalog apps
rancher/rancher#24084
2019-11-13 15:06:57 -07:00
Westly Wright 01df2b7f61
Fix node/pod counts that were not updating correctly
rancher/rancher#23866
rancher/rancher#24034
2019-11-11 14:24:19 -07:00
Westly Wright 5bc4737743
Fix sorting on cloud credentials page
While I was cleaning this up I found that groupByRef in cc this case did nothing
so I removed it. This exposed a bug in the sortable-table code where groupByRef
was coming back null but when we tried to get it, using embers getter, it would
fail because we passed a null value instead of an empty string.

Additionally I found that when using presorts we were continuously pushing into
the sort array on the component, which never gets reset, so I decided to clone
the array. We rarely use preSorts so it was never caught.

Additionally we never add/remove the descending key to our presorts so I've
added that. Without these when we pass the sort to embers sort we'd never
correctly sort any presorts based the descending flag.

rancher/rancher#23828
2019-11-01 09:14:20 -07:00
Cody Jackson 53681e397e Prevent App editing from modifying state on cancel
When editing both single and multi-cluster apps if you modified the
Template Version or the Target Projects and then cancelled it the
underlying store was still modified which then reflected those changes
on other pages like the single and multi-Cluster Apps pages.

To change this I cloned and nested the fields into a nested object named
'editable' and updated the primarySource on willSave for the relevant
targets subfield.

rancher/rancher#21228
2019-10-31 10:03:36 -07:00
loganhz b7d55ba58d Fix catalog app icon issue
https://github.com/rancher/rancher/issues/23291
2019-10-10 10:56:47 +08:00
Westly Wright 1616b54aa4
remove other missing apis 2019-10-07 12:05:22 -07:00
Cody Jackson 6718c4886e Addressing a number of ember deprecations
- Moved from Ember.$() to importing jquery.
- Moved from fn().on() to on(fn())
- Moved from fn().observes() to observer(fn())

This got /g/clusters from 27 warnings to 5 warnings for me.
2019-10-03 10:53:36 -07:00
Cody Jackson 16fc847790 Fix linter warnings 2019-10-02 13:49:17 -07:00
Westly Wright 5f572f3674
Upgrade Ember to 3.12
Remove ember object and use regular object instead

Found durning upgrade to 3.12, I'm not sure why we'd even need to declare an
ember object for this return anyway.

Get the current cluster's id from scope servervice

Found durning upgrade to 3.12, not sure how this ever worked as I looked on live
and it was failing but the system didn't explode on 3.8. In 3.12
transistion.params is undefined and the whole system explodes. We were never
passing the queryparams so they wouldn't have come through. I changed this so we
fetched the current cluster id from the scope service and everything seems to
work correctly.

Ensure that accordion items only try to expand once during the init

Found durning upgrade to 3.12, expanded was being double rendered.

lint fix

test fixes

lint
2019-10-02 13:33:15 -07:00
loganhz f95c884acb Fix current version missing issue
Show current version even it doesn't match min max Rancher version
2019-09-13 10:11:01 +08:00
loganhz b5be539948 Show all available versions for istio and monitoring
https://github.com/rancher/rancher/issues/22789
2019-09-11 15:33:54 +08:00
loganhz 0dc78208e1 Fix monitoring issue 2019-09-09 11:42:51 +08:00
loganhz 67ca2a4e0f Show k8s role taints and remove unschedule label 2019-08-31 08:25:07 +08:00
loganhz 37dd827c04 Sort display taints 2019-08-30 17:49:02 +08:00
loganhz e7c8d8f900 Hide k8s role taints 2019-08-30 17:35:41 +08:00
loganhz 3881f5809a Do not pass hiden fields in catalog answers
https://github.com/rancher/rancher/issues/22265
2019-08-21 09:58:47 +08:00
Vincent Fiduccia 749e39a3d3
Cache translated states 2019-08-19 17:18:00 -07:00
loganhz d5f5d4a55d Fix tooltip issue
https://github.com/rancher/rancher/issues/22154
2019-08-14 13:59:32 +08:00
Vincent Fiduccia 1d135d0f73
Cleanup cluster template rows 2019-08-13 16:36:47 -07:00
Vincent Fiduccia 5c4e05fb56
Merge pull request #3235 from loganhz/azure-node
Show azure node template location for region
2019-08-13 10:32:28 -07:00
loganhz f4681b12c9 Show azure node template location for region
https://github.com/rancher/rancher/issues/19565
2019-08-13 15:00:25 +08:00
n313893254 5f4d3fc308 Fix Istio error handle
https://github.com/rancherlabs/rancher-security/issues/182
2019-08-13 14:47:30 +08:00
Westly Wright 92c40f667d
Merge pull request #3216 from westlywright/cluster.templates.bugs
Cluster Templates
2019-08-09 16:16:50 -07:00
phillc 8449b7f115 Add instanceType as size in Node Templates 2019-08-09 14:28:38 -04:00
Westly Wright 36c8102f79
remove the ability to add arbitrary overrides
rancher/rancher#22084
2019-08-09 09:14:25 -07:00
loganhz aeb9f7e47f Fix auto-reconnect ws issue 2019-08-07 06:48:58 +08:00
loganhz 5e085b9d99 Fix catalog file issue
https://github.com/rancher/rancher/issues/20828
2019-08-06 19:52:50 +08:00
Westly Wright c4392a5ef9
allow users to create cluster template with azure fields empty
rancher/rancher#21759
2019-08-02 11:53:52 -07:00
loganhz 5be5abfded Support taints 2019-07-26 19:49:31 +08:00
loganhz 0576f45453 Fix the issue that project owner cannot enable mon 2019-07-23 10:50:21 +08:00
n313893254 e480d683b2 Display Istio version 2019-07-23 10:50:21 +08:00
Westly Wright b8b28e94db
Merge pull request #2834 from displague/feature/linodeCloudCredential
add Linode cloud credential
2019-07-16 09:36:24 -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 ce203bbcca Add suspend and resume actions for cronjob
https://github.com/rancher/rancher/issues/18945
2019-07-02 18:02:42 +08:00
n313893254 d29be94e93 Support one click upgrade for Istio
https://github.com/rancher/rancher/issues/20617
2019-06-26 14:11:37 +08:00
loganhz 17bfa0225d Rename updatePreRequest 2019-06-07 01:11:48 +08:00
n313893254 4566f21c1a Istio and reservation check bug fix 2019-06-06 17:03:18 +08:00
loganhz 384aa95ae2 Bug fix for enabling istio and registry page 2019-06-06 00:22:45 +08:00
Logan 74bbe0171e Registry and Istio (#3014)
* Add vendors for istio

* Add istio lib

* Add kiali UI vendor

* Expose components in shared lib

* Istio css

* Support kiali graph in Rancher UI

* Show traffic metrics from istio

* Enable istio in cluster level

* Toggle for istio sidecar auto injection

* Support add istio config

* Reuse catalog for istio config

* Support enable global registry in local cluster

* Rename traffic rule

* Not upgrade template version for istio

* Fix istio project level routing issue

* Fix comments

* Bug fix

* Add kiali copyright

* App name is not required in schema

* Use cytoscape dagre from npm

* Bug fix

* Hide traffic rule
2019-06-03 09:44:28 -07:00
loganhz a9f9b34c8e Upgrade UX for one click upgrade 2019-05-25 23:31:38 +08:00
Westly Wright 7cde6d4d00
Add handling logic for missing template versions
rancher/rancher#19592

project level catalogs and upgrade for missing catalog issues
2019-05-23 16:56:33 -07:00
loganhz d69d07469e Support upgrade monitoring
https://github.com/rancher/rancher/issues/20304
2019-05-22 07:14:07 +08:00
Marques Johansson fea112e1b8 export DynamicDependentKeysProperty from shared/addon/mixins/node-driver 2019-05-20 17:13:09 -04:00