Commit Graph

217 Commits

Author SHA1 Message Date
Cody Jackson 79c283fd5e Resolve RKE Template issue caused by CIS
The profile helper methods were attached to the cluster model.
Unfortunately, the cluster isn't available when creating a new rke
template.

To resolve this I moved all of the cis helpers out of the cluster model
and utils and moved them into a cisHelpers service so they could be
used without access to the cluster itself.
2020-03-06 15:36:29 -07:00
Cody Jackson 355d592051 Large refectoring of CIS to improve UX
- Added Set Alert button
  - This will set the appropriate options for cis
- Added Set Schedule button
  - This will scroll the settings into view
- Added a modal so profiles can be picked
2020-03-06 12:15:27 -07:00
Westly Wright 629856df8f
add k3s version service 2020-02-27 11:11:32 -07:00
Westly Wright f718b13afe
add node args component 2020-02-25 14:25:18 -07:00
Westly Wright 4eb82ace5b
Expose k3sConfig on k3s imported cluster edit
rancher/rancher#25401
2020-02-25 12:59:08 -07:00
Cody Jackson 143bbe8738 Add zero downtime upgrade options to rke driver
This required refactoring the drain modal into a reusable component
since these fields were going to be used in more than one place.

rancher/rancher#24110
2020-02-05 12:58:54 -07:00
Westly Wright 54940982e9
add logic to determine kiali port for kiali links in istio
rancher/rancher#24701
2020-01-02 16:52:09 -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
loganhz 8b892ce009 Support creating storage class for local persistent volumes
https://github.com/rancher/rancher/issues/24082
2019-12-16 17:36:04 +08:00
Cody Jackson 91bd0498d7 Provide more feedback when a security config is malformed
We provide an error notification when the security config is malformed and
the user attempts to run a scan. We also prevent the scan from running.

We also added a default sort by 'id' on the scan detail table.

rancher/rancher#24495
rancher/rancher#24496
2019-12-11 16:42:07 -07:00
Westly Wright 87cd611652
Merge pull request #3513 from westlywright/fp.cr8.template.from.cluster
[Forwardport] Convert Existing Cluster to RKE Cluster Template
2019-11-13 15:25:36 -07:00
Cody Jackson 76adaf8658 Notify user of value missing from options
When using an older vsphere node template in the latest version it was
possible that a user entered value would not be a valid option. When
the value isn't a valid option the dropdown has nothing selected. To
improve the UX we now notify the user that the current value is no
longer valid and sask them to select a new value.

rancher/rancher#23920
2019-11-07 16:51:15 -07:00
Westly Wright 231c9b6f1f
remove maybe-t helpers because t has default (fallback) built in 2019-10-30 12:14:43 -07:00
Westly Wright 281a922cb4
Add save as rke template action to clusters
rancher/rancher#23752
2019-10-29 13:51:31 -07: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 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
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
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 9f8acf0d39 Show Kubernetes events in UI 2019-09-12 14:44:30 +08:00
loganhz 8a825860a1 Support search in apps and multi-cluster apps list page 2019-09-11 20:32:43 +08:00
loganhz eeea7ce159 Fix cluster tempalte table text issue
https://github.com/rancher/rancher/issues/22250
2019-08-17 08:50:06 +08:00
lvuch 86d3582688 22163 2019-08-14 13:17:29 -07:00
ellisbenjamin 28a9f5b31e Linode uses cloud credentials and meta proxy
https://github.com/rancher/rancher/issues/21838

Co-authored-by: phillc <15082+phillc@users.noreply.github.com>
2019-08-09 14:18:18 -04:00
n313893254 c832f12676 Make sure FluentServer.weight is int
https://github.com/rancher/rancher/issues/20640
2019-08-05 15:57:26 +08:00
loganhz 5be5abfded Support taints 2019-07-26 19:49:31 +08:00
n313893254 c500bff699 Add toleration 2019-07-23 10:50:21 +08:00
loganhz 446c9d5a72 Delete kiali dependency 2019-07-23 10:50:20 +08:00
loganhz db2488602f Support virtual service and destination rule 2019-07-23 10:50:20 +08:00
n313893254 9ec45e5dbd Access control for Kiali, Jaeger, Grafana and Prometheus UI
https://github.com/rancher/rancher/issues/20899
2019-07-23 10:50:20 +08:00
n313893254 657435625b Remove github service 2019-07-22 15:15:56 +08:00
Westly Wright 87d22bc40e
Fix cancel bug when launching template from cluster index
added parentRoute and moved the cancel action to the controller so we can
access goToPrevious.

rancher/rancher#21626
2019-07-19 16:46:35 -07:00
Westly Wright 531c112539
Add edit action to cluster template 2019-07-17 16:51:10 -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 550ed2b9f0
Expose DeleteNotReadyAfterSecs on node pool
rancher/rancher#20862
2019-07-12 14:59:57 -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
Eric Tokatlian 0670441dbc Fixes requests from review 2019-07-08 10:27:23 -07:00
Eric Tokatlian dfac8fb538 Adds google auth 2019-07-03 11:18:33 -07:00
Westly Wright 530845a91a
Add ui warning about expiring certificates 2019-06-28 15:07:23 -06:00
loganhz 384aa95ae2 Bug fix for enabling istio and registry page 2019-06-06 00:22:45 +08:00
Logan 039eb879cd Support HPA (#3015)
* Support HPA

* Fix comments

* fix merge issue

* bug fix
2019-06-03 09:45:10 -07: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
Westly Wright 314ec7ae2f
Refactor generic icon fetching on apps to a mixin
rancher/rancher#17668
2019-05-16 13:59:18 -07:00
Westly Wright a5474a4b70
Project level catalog answer yaml->form sync
rancher/rancher#19060

add modal confirmation for yaml -> form editing App Q/A's

validate yaml answers

formatting

more formatting

update custom answers component to handle yaml sync
2019-04-30 09:13:35 -07:00
Westly Wright c6cf2fb50d
Upgrade Ember to latest stable release
upgrade to 3.5

upgrade to 3.6

upgrade to ember 3.7

upgrades for 3.7

package upgrades

eslint changes

upgrade to 3.8

HanlderInfos deprecation

logger deprecations

shadowed block param deps

route fixes

upgrade engines and add workaround for infinite loop query params

refresh issue

ember-engines/ember-engines number 614

update read me
2019-03-25 13:22:38 -07:00
Westly Wright c4a47f7944
Refactor GDNS project target logic to reduce complexity
rancher/rancher#18954
2019-03-15 15:51:59 -07:00
Westly Wright 209b624ac4
update mc app rbac to allow only 2 roles and def to project-member
rancher/rancher#18326
2019-03-04 10:29:34 -07:00
Westly Wright 01125b63c4
Merge pull request #2534 from n313893254/17040
Add current cpu/memory usage in cluster dashboard
2019-02-22 09:47:56 -07:00
n313893254 8e6e8109e5 Show the current cpu/memory usage in cluster dashboard https://github.com/rancher/rancher/issues/17040 2019-02-22 11:17:04 +08:00
Westly Wright c957f662c2
Add partial support for cloud key validation
rancher/rancher#18037

add amazon key validation
2019-02-16 08:31:24 -07:00
Westly Wright 935521482d
Add Global DNS Provider and Entry RBAC
rancher/rancher#17976
2019-02-14 15:33:48 -07:00