Commit Graph

1028 Commits

Author SHA1 Message Date
Westly Wright ef002be770
Merge pull request #3432 from westlywright/feature.feature.flags
Feature Flags UI
2019-10-23 11:49:03 -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 5242a1fb7f
First run on Feature Flags ui
rancher/rancher#23184

Translation changes

Failing tests

cleanup
2019-10-17 10:15:04 -07: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
Westly Wright 7004f1e500
Merge pull request #3407 from codyrancher/cloud-credential
[2.3.2] Add # Node Templates column to cloud credentials
2019-10-02 14:01:04 -07:00
Westly Wright 0ef600f737
Merge pull request #3405 from westlywright/issue.21099
[2.3.2] Dynamically change version label on node dashboard
2019-10-02 14:00:17 -07:00
Cody Jackson 16fc847790 Fix linter warnings 2019-10-02 13:49:17 -07:00
Cody Jackson 6e1c472af6 Add # Node Templates column to cloud credentials
We want to provide a quick way to delete unused cloud credentials.
To do this we're going to show the user the number of node templates
that each cloud credential is associated with.

rancher/rancher#23064
2019-10-02 13:48:51 -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
Westly Wright 1c30a15ee1
general cleanup 2019-10-01 09:00:56 -07:00
Westly Wright 5fce14597a
Dynamically change version label on node dashboard for dock/contd
Checks the os info to see if its docker or container d and display the
appropriate label in each case.

rancher/rancher#21099
2019-10-01 09:00:56 -07:00
Cody Jackson 3bc195603b Use more appropriate keys to watch on @computed
The cluster upgrade notification wasn't properly updating when
the user enabled and disabled a revision. It required that the
page was refreshed before display the fresh data.

This resolves this issue by watching more appropriate keys
int he relevant computed properties. The most relevant
being the revision.@each.enabled on the latestRevision property.

rancher/rancher#23126
2019-09-30 14:44:56 -07:00
Cody Jackson acc6145586 Improve robustness of showing template/revision
- We will only conditionally render template/revision section on the
monitoring page if the cluster is using a template. This was
crashing the page before.
- We will now make sure there's a string when invoking replace
when generating the template and revision display names.
- We will now respect the enable flag of template revisions
when determining if an upgrade is available.

rancher/rancher#23126
2019-09-27 12:20:29 -07:00
Cody Jackson 71a7fb8d2d Include Template/Revision in cluster table
We want to make it easier for someone that is managing multiple
clusters to see what template and template revision a cluster
is using. We also want to make it easy for a user to notice
that a cluster isn't using the latest revision.

To achieve this we added the template and revision to a column
in the clusters table to display both. We also indicate add
a warning badge beside a revision when the revision isn't
the latest.

rancher/rancher#22047
2019-09-26 09:20:45 -07: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
Vincent Fiduccia 5dac97299a
Only show disabled global catalogs on global level, gray out 2019-09-19 10:13:21 -07:00
Vincent Fiduccia 466f699c9b
Regular rows for special catalogs 2019-09-19 04:31:50 -07:00
Cody Jackson 348c1c38e2 Hide unsupported storage providers
We want to make it more difficult to use unsupported storage providers
to reduce the likelihood of a user accidently using one of these
storage providers.

rancher/rancher#22895
2019-09-17 16:49:12 -07:00
loganhz 70b503bf1d Show related workloads in cert detail page 2019-09-10 10:16:26 +08:00
张浩 d95adf4404 Show related workloads in secret detail page 2019-09-10 10:01:32 +08:00
张浩 3e96c324e0 Show related workloads in config map detail page 2019-09-10 10:01:32 +08:00
张浩 b6bdc15505 Show related workloads in PVC detail page 2019-09-10 10:01:32 +08:00
loganhz b699be2c0b Fix undefined issues 2019-09-07 10:00:02 +08:00
Vincent Fiduccia ce07edfd98
Edit clusters using node templates you can't see (rancher/rancher#22080) 2019-08-30 14:15:24 -07:00
loganhz 6e5875ef9b Show warning for node has disk pressure 2019-08-30 19:08:59 +08:00
n313893254 bf696ebc34 Use disable/enable actions on ClusterTemplateRevision object
https://github.com/rancher/rancher/issues/22374
2019-08-28 11:24:23 +08:00
Vincent Fiduccia 81eb4933ee
Merge pull request #3292 from n313893254/24438
Fix node driver issue
2019-08-27 13:15:57 -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
n313893254 0dd0b6a1d1 Fix node driver issue
https://github.com/rancher/rancher/issues/22333
2019-08-23 17:48:34 +08:00
n313893254 4b451a2f0f Fix TKE alert and get max and min disk size from TKE 2019-08-23 16:56:11 +08:00
Vincent Fiduccia c958770ea8
Enable default cluster tempalte checkbox (rancher/rancher#22230) 2019-08-19 12:57:33 -07:00
loganhz bcd4d00afd Show confirm popup when deactivating driver
https://github.com/rancher/rancher/issues/19876
2019-08-16 10:22:36 +08:00
Vincent Fiduccia d39b00ee22
Cluster template bugs 2019-08-13 17:28:17 -07:00
Vincent Fiduccia 1d135d0f73
Cleanup cluster template rows 2019-08-13 16:36:47 -07: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 fecf5c346e
Merge pull request #3182 from n313893254/istio
Istio UX change
2019-08-05 08:56:57 -07:00
n313893254 b3035335e3 Rebase and bugfix 2019-08-05 14:25:19 +08:00
n313893254 96b2aa862a Add auto inject action for namespace 2019-08-05 14:25:19 +08:00
loganhz b65eee8c49 Show inactive nodes and unhealthy components in cluster list
https://github.com/rancher/rancher/issues/21933
2019-08-03 07:21:28 +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
Westly Wright 461700a2a9
fix cluster/cluster template validation
rancher/rancher#21616
2019-08-02 11:53:52 -07:00
loganhz 73336b817f Use windowsPreferedCluster for windows cluster 2019-08-02 06:20:26 +08:00
Westly Wright cba95c6470
cluster template revision enabled/disabled error handler
rancher/rancher#21699
2019-07-31 09:42:00 -07:00
Westly Wright 72816be833
set rke cached config correctly when cluster launch error
rancher/rancher#21723
2019-07-23 17:15:09 -07:00
Westly Wright c2350593f2
Fix some bugs in enforcementChanged and showing cluster template
rancher/rancher#21717
2019-07-23 15:56:09 -07:00
Vincent Fiduccia 95be7fe62e
Merge pull request #3132 from n313893254/access
Istio GA
2019-07-23 11:35:18 -07:00
Westly Wright 408546484d
lint 2019-07-23 11:12:47 -07:00
Westly Wright e7da5287b0
rollback read-only check, should be done via dynamic rbac 2019-07-23 10:56:08 -07:00