Commit Graph

322 Commits

Author SHA1 Message Date
Cody Jackson 0ea2b645b7 Putting extractUniqueStrings util back in
This was erroneously removed during a revert.
2020-01-16 10:29:19 -07:00
Cody Jackson 07ccfc733c Better handle rejected promises in StatefulPromise
When the promise was rejected it took the error value and
set that as the value of the promise.

This lead to code expecting one shape to completely fail. This
now assigns the errorValue to an errorValue property on the
promise and the defaultValue to value when a promise is rejected.

rancher/rancher#24620
2020-01-02 15:13:50 -07:00
Cody Jackson 9c30e3ac15 The great reversion of awsCloudProvider changes 2020-01-02 10:21:08 -07:00
Westly Wright ecb8139b94
Merge pull request #3655 from westlywright/bug.pipeline.setup.error
Pipeline Setup Error
2019-12-20 09:10:22 -07:00
Cody Jackson 3fb931ee46 Update the downloaded report
The downloaded report now has:
- A column for passed_nodes
- A column for failed_nodes
- A column for all nodes the test ran against
- The benchmark version in the header

rancher/rancher#24671
2019-12-19 16:52:33 -07:00
Westly Wright 1cb6d5b7ba
prevent unhandled error when no number sent with input
If a input without a number value was passed into the parser
e.g. 'Mi', the destructure would blowup.
2019-12-19 16:46:07 -07:00
Cody Jackson 2bbe8035b0 Ensure awsCloudProvider presense for custom clusterawsCloudProvider was being removed from custom clusters when editingthe YAML. This change ensures that the field is still present. It alsorequired modifying the removeEmpty method as it was removing fields thatwere in the excludedKeys argument.rancher/rancher#24515 2019-12-12 16:21:52 -07:00
wj fda89eb4aa Too many annotations are read-only
https://github.com/rancher/rancher/issues/23849
2019-11-07 13:27:03 +08:00
n313893254 796baf2f54 Incorrect node memory usage gauge when cluster monitoring is enabled
https://github.com/rancher/rancher/issues/23786
2019-11-01 20:18:31 +08:00
Cody Jackson 4b2c79ea3d Improve vsphere driver UX
-We now prepopulate fields as select component instead of just
free-form text fields.
-We added support for cloning from different sources.
-We also added support for custom attributes and tags.

To implement the above features we also added support for promise
based content for new-select and search-select and created a new
component contextual-select-array which provides a method for
filtering content based on previous selections.

rancher/rancher#21580
2019-10-21 13:19:14 -07:00
Westly Wright ccd9d740ac
Ensure template computed prop is watching intl locale
rancher/rancher#23322
2019-10-17 10:43:38 -07:00
Westly Wright 849b1f6380
Add missing c5.* instance types to amazon utils
rancher/rancher#22907
2019-10-09 14:35:08 -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
Westly Wright d145445d25
Upgrade ember-intl to latest version
remove prototype extension

Remove translations from engines

The motivation behind this change stems from this issue ember-intl issues/797
and the current implmentation of engine support in ember-intl. The translations
essentially get bundled twice. Until ember-intl removes the second bundle it
makes sense to keep the translations in the main ui file.
2019-10-02 13:46:37 -07:00
loganhz 02deb50669 Istio Virtual Service feature flag 2019-09-28 12:14:55 +08:00
loganhz cc7d1bb477 Add Alibaba App Hub in catalog list 2019-09-24 11:19:07 +08:00
Cody Jackson 72a60c44ea Improve and fix supported storage filtering
Editing was failing when an existing unsupported storage type had
already been used and the ferature flag unsupported-storage-drivers
was false. Adding a volume as part of a workload was also broken
when attempting to use an unsupported storage type.

To remedy this I decided to refactor the code and make the filtering
happen explicitly only for the dropdowns.

I also decided to make feature checking reusable and either to use
by adding a service to check if a flag is enabled.

rancher/rancher#22895
rancher/rancher#22998
2019-09-20 17:13:47 -07:00
loganhz 33cf620675 Fix label missing issue
https://github.com/rancher/rancher/issues/22913
2019-09-19 11:46:20 +08:00
Cody Jackson 2f990ced40 Add more context to the title of deletion modals
Adds the resource types "namespace", "cluster", "project" as
additional context to the titles of the respective deletion modals
in order to reduce the likelyhood of a user accidentally deleting
an unintented resource.

We changed the title from "Are you sure you want to delete" to
"Are you sure you want to delete the namespace:" with namespace
being bold. The same is true for cluster and project as well.

rancher/rancher#17619
2019-09-13 12:47:38 -07:00
Vincent Fiduccia b625771b61
Search text should always return an object so that it works when subFields is conditonal 2019-09-11 11:20:18 -07:00
loganhz 8a825860a1 Support search in apps and multi-cluster apps list page 2019-09-11 20:32:43 +08:00
Vincent Fiduccia 39b1bd98ce
Merge pull request #3331 from loganhz/label
[2.3.0]Hide failure-domain label in node list
2019-09-06 10:26:02 -07:00
loganhz 5e4a7091ad Hide failure-domain label in node list 2019-09-05 10:42:57 +08:00
Gábor Lipták 2536b39d47
Add Bahrain/me-south-1 to EKS regions
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2019-09-04 14:20:11 -04:00
张浩 dd679885b6 Show setting `rke-metadata-config` under settings
https://github.com/rancher/rancher/issues/22573
2019-09-04 08:56:03 +08:00
loganhz 67ca2a4e0f Show k8s role taints and remove unschedule label 2019-08-31 08:25:07 +08:00
loganhz bae8f1cca8 Make k8s taints readonly 2019-08-30 17:45:57 +08:00
loganhz e7c8d8f900 Hide k8s role taints 2019-08-30 17:35:41 +08:00
Vincent Fiduccia 71f9c44c4d
Merge branch 'master' into labels 2019-08-27 13:20:04 -07:00
Vincent Fiduccia 44a34702b0
Merge pull request #3289 from n313893254/22137
[TKE] Add diskConfigSet and fix subnetId
2019-08-27 13:12:33 -07:00
loganhz d3f73b74bd Make standard labels and annotations readonly 2019-08-26 14:31:15 +08:00
n313893254 4b451a2f0f Fix TKE alert and get max and min disk size from TKE 2019-08-23 16:56:11 +08:00
loganhz 78fe52569e Remove access type Member for cluster template
https://github.com/rancher/rancher/issues/22280
2019-08-20 07:04:55 +08:00
loganhz 109f92e715 Add setting to edit user session TTL
https://github.com/rancher/rancher/issues/22136
2019-08-15 13:31:46 +08:00
Vincent Fiduccia 6e6edbe07d
Merge pull request #3220 from loganhz/gke-cp
Fix cluster yaml issue
2019-08-12 11:04:53 -07:00
Vincent Fiduccia 87a2a846ca
Merge pull request #3200 from n313893254/21790
Support exist condition for metric alert
2019-08-12 10:07:23 -07:00
loganhz 9da4836eda Fix cluster yaml issue
https://github.com/rancher/rancher/issues/22119
2019-08-12 16:29:57 +08:00
n313893254 ba711d4936 Support exist condition for metric alert
https://github.com/rancher/rancher/issues/21790
2019-08-12 16:04:51 +08:00
Westly Wright f42929105f
Merge pull request #3209 from loganhz/selector
Fix node selector issue
2019-08-08 09:22:45 -07:00
loganhz a80558b22b Fix node selector issue 2019-08-08 15:37:18 +08:00
loganhz a341022d2e Support China AKS
https://github.com/rancher/rancher/issues/21668
2019-08-08 10:45:26 +08:00
Westly Wright 705a863c58
Fix private registry display and default issues
rancher/rancher#21567
2019-08-07 14:48:06 -07:00
loganhz a51ac5e03e Fix the issue that edit yaml cause Windows failed 2019-08-02 12:01:28 +08:00
loganhz 73336b817f Use windowsPreferedCluster for windows cluster 2019-08-02 06:20:26 +08:00
Vincent Fiduccia e77ad9afdf
You are in a maze of twisty catalog logic, all slightly different 2019-08-01 10:30:34 -07:00
Westly Wright 9fa2f1d116
backup strategy default values when applying cluster template
rancher/rancher#21724
2019-07-31 09:42:00 -07:00
Westly Wright bb2c2af9c2
First itteration of cluster template yaml
rancher/rancher#21579
2019-07-29 09:49:02 -07:00
Vincent Fiduccia 95be7fe62e
Merge pull request #3132 from n313893254/access
Istio GA
2019-07-23 11:35:18 -07:00
n313893254 e481e4b344 Should show a warning when deleting a system chart app
https://github.com/rancher/rancher/issues/19170
2019-07-23 11:00:38 +08:00
n313893254 c500bff699 Add toleration 2019-07-23 10:50:21 +08:00