Commit Graph

403 Commits

Author SHA1 Message Date
Westly Wright 9f277d7534
Allow edit of ascii like secret data
rancher/rancher#27439
2020-06-16 14:59:40 -07:00
Ian Moroney d6942baf30
Fixed formatting 2020-06-01 17:37:25 +01:00
Ian Moroney f850502838
Added UAE regions 2020-06-01 17:16:57 +01:00
loganhz a859b0547d Use external UI for Aliyun ACK cluster 2020-05-27 22:49:26 +08:00
Vincent Fiduccia 7a6c5c7a91
Merge pull request #4004 from codyrancher/feature.file.issue.email
Expose new ui setting for issues email link
2020-05-26 16:33:53 -07:00
Westly Wright a427b345af Expose new ui setting for issues email link
rancher/rancher#27047
2020-05-22 15:08:45 -07:00
Rich Edelman 0926d578e1 Add Cape Town (af-south-1) as a supported AWS region. 2020-05-12 16:05:30 +00:00
Westly Wright 2509327067
Add new classifier banner component
rancher/rancher#25694

add ui-banners to allowed settings

move banners to settings

refactor names on settings component

update ui-banners translation text
2020-04-21 14:34:24 -07:00
Westly Wright 3f3715f3e3
make catalog app for longhorn use consistent name
so users can only launch one longhorn catalog app per cluster

rancher/rancher#26627
2020-04-15 11:02:31 -07:00
Westly Wright aabf5976cd
Change volume expansion for longhorn storage class
rancher/rancher#26617
2020-04-14 14:18:41 -07:00
Westly Wright 87204118e2
Add additional helm3 id to catalog constants and update checks
rancher/rancher#26560
2020-04-10 11:57:46 -07:00
Westly Wright 9400ca31e7
If etcd component status unavailable, grey out
rancher/rancher#26402
2020-04-09 10:37:25 -07:00
Westly Wright b0a3788e78
Merge pull request #3871 from westlywright/updating.events.map
updating state map and transitions map for rke workers
2020-03-25 09:13:40 -07:00
Westly Wright 32cb1393ba
updating state map and transitions map for rke workers
rancher/rancher#25917
2020-03-25 09:00:49 -07:00
Vincent Fiduccia 1ff76c67c9
Non-PDF EULA link 2020-03-24 14:40:50 -07:00
Westly Wright 0c01433984
Ensure any k3s labels/annotations are read-only
rancher/rancher#25958
2020-03-11 13:32:14 -07:00
Vincent Fiduccia 2a7c0ae0ff
Rename steve flag 2020-03-10 10:45:07 -07:00
Westly Wright a5cf9b3f32
add new helm3 and system keys to catalog canClone
rancher/rancher#25850
2020-03-08 12:17:04 -07:00
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 f58807bff1 Wired up the scheduling for cis 2020-03-06 12:16:06 -07:00
Cody Jackson 9dddea78c9 Adding support for N/A state and creating a better profile 2020-03-06 12:15:27 -07:00
Westly Wright 2766d4c56d
add helm versions to constants 2020-03-05 16:23:13 -07:00
Cody Jackson d4d03a4239 Change the way extra_args are excluded
The original intent of ecluding extra_args was actually
to exclude the children of extra_args from being
removed when empty according to https://github.com/rancher/rancher/issues/24794#issuecomment-570043854.

This will now properly handle that intent while also
removing empty extra_args properties.

rancher/rancher#25612
2020-03-03 14:06:11 -07:00
Westly Wright c4cc97c64a
Expose node info on K3S Cluster Upgrade 2020-02-25 15:31:54 -07:00
Westly Wright 191ebd31dd
Expose k3s node args and env vars for imported k3s clusters
rancher/rancher#25400
2020-02-25 10:42:09 -07:00
Vincent Fiduccia 6f7d5368c6
Agree to eula on first login 2020-02-21 17:34:54 -07:00
Vincent Fiduccia 0bc2e1241d
Add toggle to dashboard if Steve is enabled 2020-02-20 16:20:09 -07:00
Westly Wright a3f1bc996b
Fix bugs that prevent cluster cr8 when editing yaml
Adds an empty name to the cluster model creation so it isn't missing if the user
opens yaml editor and knows they should input it
Removes incorrect next usage
Adds logic to handle overriding the name in name-desc when updateYaml is called
Updates form-name-description model observer to watch the two props it actually
cares about
Fixes bug in removeEmpty util which would remove excludedKeys during filter phase

rancher/rancher#24971
2020-02-05 15:03:13 -07:00
hypnotortoise 8e23eb5d0d
add Switzerland locations to AKS as well (supported. see https://azure.microsoft.com/en-us/global-infrastructure/services/?regions=non-regional,switzerland-north,switzerland-west&products=kubernetes-service) 2020-01-19 15:34:53 +01:00
hypnotortoise b180dd3fe1
dont add swiss as a region, add locations with AzurePublicCloud Enviornment instead 2020-01-19 15:09:52 +01:00
hypnotortoise 9182a9444e
add switzerland region to azure location selection 2020-01-19 13:47:57 +01:00
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
loganhz c02283f544 Use iframe for kiali 2019-07-23 10:50:20 +08:00
loganhz 446c9d5a72 Delete kiali dependency 2019-07-23 10:50:20 +08:00
loganhz d8f12a6110 Allow exec shell to not ready container
https://github.com/rancher/rancher/issues/20493
2019-07-22 10:05:56 +08:00
Westly Wright 3672d97914
Limit cluster template and revision actions for read-only users 2019-07-19 11:57:34 -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
Eric Tokatlian 5aaff9f0d2 Bugfix #21384 adds proper principal id. 2019-07-09 12:39:34 -07:00
loganhz 5843273906 Update M5 and support M5a 2019-07-09 17:27:38 +08:00
loganhz 0694319e3d Add AWS t3a support 2019-07-09 17:15:02 +08: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
Westly Wright 271de7910e
Merge pull request #3103 from etokatlian/feature/google-oauth
Adds google auth
2019-07-08 11:55:28 -07:00
Eric Tokatlian 0670441dbc Fixes requests from review 2019-07-08 10:27:23 -07:00
Vincent Fiduccia d8370e7240
Consider *-head and *-rcN dev builds 2019-07-03 13:12:54 -07:00
Sebastiaan van Steenis 1f479fcff8 Update AKS regions 2019-07-01 09:39:26 +02:00
n313893254 750e5fc482 Fix gauge greater 100 and unit
https://github.com/rancher/rancher/issues/19413
2019-06-13 14:43:25 +08:00
Westly Wright 619bfecd06
Add support for special fields in 3rd party Node Drivers
rancher/rancher#20787
2019-06-11 10:19:03 -07:00
loganhz 384aa95ae2 Bug fix for enabling istio and registry page 2019-06-06 00:22:45 +08:00
loganhz 5769f7c972 Save OS Target in user's preferences
https://github.com/rancher/rancher/issues/20333
2019-06-04 10:53:53 +08:00
Westly Wright ecacce2f82
Merge pull request #3026 from loganhz/azure
Support loadBalancerSku Azure cp param
2019-06-03 09:46:28 -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