Commit Graph

2705 Commits

Author SHA1 Message Date
Westly Wright bf8f5071b5
Add conditions list to PVC detail page
rancher/rancher#30319
2020-12-03 11:46:47 -07:00
Westly Wright 78ff7f8a96
EKS import cluster command only on priv true pub false
rancher/rancher#30332
2020-12-03 11:00:43 -07:00
Westly Wright 4979065793
Fix issue with non-private clusters not redirecting after save 2020-12-03 10:48:18 -07:00
Westly Wright dc8de5c435
prevent users from changing vpc/sub net choice after selected
previously we prevented users from changing the choice of standard or custom vpc which also loads the security groups, this adds the same logic back in for eks v2

rancher/rancher#30301
2020-12-02 17:05:22 -07:00
Westly Wright 9a38d546f7
Expose Import Command for EKS v2 Clusters with Private Access
rancher/rancher#28356
2020-12-02 12:09:33 -07:00
Cody Jackson 9a4a58d1b8 Fixing azure k8s version dropdown from breaking when selecing uae-central
When selecting UAE central parseCloudProviderVersionChoices was returning 2 undefined elements which then broke the dropdown. It seemed that parseCloudProviderVersionChoices should only return valid choices so I filtered out falsey values.

rancher/dashboard#28341
2020-11-30 11:41:56 -07:00
Westly Wright cc83938284
Update PV and PVC pages to allow volume expansion
rancher/rancher#27746
2020-11-30 09:31:52 -07:00
Westly Wright c5d18a650c
Add clusterName qp to fetchTemplate call
in order to get a fresh version list of compat k8s version for this cluster
2020-11-25 11:30:21 -07:00
Westly Wright 55a6f13d32
Merge pull request #4301 from westlywright/bug.windows.worker.reg
Custom Clusters Windows Command
2020-11-25 09:06:53 -07:00
Westly Wright cd22ffa9c0
Ensure windows command works in edit and modal for custom clusters
rancher/rancher#30111
2020-11-24 15:20:39 -07:00
Westly Wright 1e649553f1
clear errors and loadFailedAllClusters when refetching clusters
rancher/rancher#30065
2020-11-23 12:03:10 -07:00
Westly Wright 276d9e2fda
fix undefined in error message
rancher/rancher#29104
2020-11-23 11:31:55 -07:00
Westly Wright 46fe6ccefd
EKS v2 Sg's are not required as a default is created
rancher/rancher#30083
2020-11-23 10:48:52 -07:00
Westly Wright bdb8530f4d
fix new eksv2 nodegroup creating flag logic for new ng on edit
check to see if we have a ng in the upstream spec with the matching name, if not its new.

rancher/rancher#29431
2020-11-23 10:17:59 -07:00
Cody Jackson 2bcef688c0 Adding uaecentral and uaenorth to aks regions
rancher/rancher#28341
2020-11-19 12:05:05 -07:00
Westly Wright 23fb79245e
Merge pull request #4265 from westlywright/bug.exit.container.shell
Send exit to container exec on close of container-shell
2020-11-12 13:56:01 -07:00
Westly Wright 3a463377d7
Merge pull request #4263 from westlywright/feature.2.node.delete.warning
2 ETCD Node Delete Warning
2020-11-12 13:55:15 -07:00
Westly Wright 44e66cf8e7
Merge pull request #4261 from westlywright/feature.register.host.command
Expose cluster registration token
2020-11-12 13:54:43 -07:00
Westly Wright 5018793ce4
set lb sku after config is set so select & config have correct value
rancher/rancher#29908
2020-11-06 15:59:34 -07:00
Westly Wright b4279bcb8b
update load balancer sku to be computed to deal with empty values
for this field anything other than 'standard' is the same as 'basic'
update the ui default to basic, the UI should always send a value not empty string but for clusters created outside the ui we will display basic if not standard

rancher/rancher#29908
2020-11-06 10:14:39 -07:00
Westly Wright e530580341
aks create set default loadBalancerSku
default on the backend was change from `standard` to `""` to alievate issues with upgrading clusters that didn't have a lb sku before

rancher/rancher#29908
2020-11-05 09:30:33 -07:00
Westly Wright 4ac036aa90
rollback disabling publicAcess on eks, leave tooltip warning
rancher/rancher#29921
2020-11-04 11:53:50 -07:00
Westly Wright 89c3e308c6
Disabled EKS public access checkbox
rancher/rancher#29921
2020-11-03 15:47:14 -07:00
Westly Wright 2054ba1df6
wrap lb sku in input-or-display 2020-11-03 15:09:59 -07:00
Westly Wright a6561bd1d0
Expose loadBalancerSku on Azure AKS cluster driver
rancher/rancher#29908
2020-11-03 14:49:19 -07:00
Westly Wright 73ecfcba8c
Send exit to container on close of container-shell
Rather than add a warning the user needs to exit I've added a send to the socket for `exit\r\n` to disconnect the process before the socket closes

rancher/rancher#16192
2020-10-30 12:21:17 -07:00
Westly Wright 823117606b
template format 2020-10-30 10:35:04 -07:00
Westly Wright 7a278f31fc
show warning when deleting node from 2 node etcd cluster
rancher/rancher#29665
2020-10-30 10:32:09 -07:00
Westly Wright f48b5c6b05
lint errors 2020-10-29 15:39:01 -07:00
Westly Wright c84090835d
Expose cluster reg token 4 cluster w/o nodes
For imported or custom clusters that never had a host register there was
never a way to get back to the registration command. This exposes a new
modal and button ont he cluster dashboard the allows the user to fetch
this command if the cluster doesn't have any nodes.

rancher/rancher#28548

Add import-command component the import command on imported clusters

this is the first step to exposing the command as an action in the modal for show command

Create CustomCommand component for modal show command

add custom input to show command modal

translations
2020-10-29 15:31:41 -07:00
Westly Wright 5ab5beb2e5
change volatile computed property to native getter
volatile was deprecated, during the ember 3.12 -> 3.20 upgrade the headers computed property was incorrectly changed to a regular computed property when it should have actually been converted to a native getter as this property is not intended to be tracked.

rancher/rancher#29751
2020-10-28 09:20:47 -07:00
Westly Wright 77d6d3bee7
check for correct destroy prop 2020-10-22 16:53:16 -07:00
Westly Wright b8ae49352b
hide local cluster from header & global clusters list if hide local true
if the new setting hide-local-cluster exists and is true we will hide the local cluster in the UI. this doesnt prevent api access.
additionally if the setting is true and a user attempts to navigate directly to a cluster or project route we will redirect them to the authenticated index route which redirects to global admin.

rancher/rancher#29325
2020-10-22 16:04:31 -07:00
Westly Wright 0abb2bdb4e
fix broken azure cloud provider inputs 2020-10-22 13:16:50 -07:00
Westly Wright e227ba4e6e
Fix selecting cloud provider logic
rancher/rancher#29685
2020-10-22 11:42:37 -07:00
Westly Wright 692fe8514e
Add catch for nullable drain status and ember upgrade errors 2020-10-22 09:34:20 -07:00
Westly Wright 8906dd18cd
gke project id not set before fetching cluster resources
this issue cropped up after a large dependency upgrade and I believe it has to do with some underlying ember changes. Basically we'd hit a race condition where we'd click next before the observer has had a chance to update the project id.
Found an additional issue where the observer on zone change would cause all the fetchs to fire again after the cluster has saved because we merge the results, I added checks to see if we'd saved as saving was already set false but we hadn't started destroying yet.

rancher/rancher#29646
2020-10-22 08:55:12 -07:00
n313893254 5af4c4668a Synchronize logging form to file
https://github.com/rancher/rancher/issues/29562
2020-10-16 16:04:14 +08:00
Westly Wright 790231ff80
remove conflicting close action on page-header-project
when i ugpraded ember basic dropdown the mechanism we previously used to close the dropdown on click was removed and as a result I added the recommended method closing the dropdown.
the problem was that page-header-project and hover-drowndown worktogether to close the dropdown as well and the conflict was causing a full page refresh due to the close method.
ive dropped the conflicting action and instead moved the close logic to hover dropdown in the routeWillChange method since its knows its context in regards to the dropdown.
at this point the `a` in page header project will have been magically clicked and the component is done with publicDropDownApi so it can be set null.
2020-10-15 11:23:54 -07:00
Jacob Payne bb50346b97 added 1.18 and 1.14 eks versions 2020-10-13 17:46:04 -07:00
Westly Wright d3d78e87c8
Upgrade Ember & Dependencies for LTS support >3.12
There are changes required for the ember upgrade but additional changes
for individual libs are also present. Commit has been squashed, see
individual commits if needed.

There are a bunch of HBS changes as well. These are to deal with a
couple new rules and there impact is low. The button one has bitten us a
few time so this seemed great to add IMO.

update ember 3.12.4

ember 3.13

fixes for new eslint rules

ember 3.13->3.14

ember3.14->3.16

ember3.16->3.20

3.20 lint rules

yarn upgrade

update ember-optional-feature

update deps that can go to patch versions

upgrade major versions that are possible

update ansi_up

only reset term var if we're not destroying

prevents new ember 'same computation' error

update async

upgrade dot-object

new-catalog - add set to deal with new warning
marked-down - drop call into next to ensure its called at the correct time

upgrade ember-assign

update ember-cli-clipboard

remove unused & deprecated ember-cli-release

remove unused drag-drop lib

use set on tracked prop

update ember-flatpickr && cli-test-loader

upgrade ember-href-to

update filesaver

update liquid-fire and ipaddr

upgrade jsondiffpatch

upgrade marked

upgrade semver

update xterm

Update ember-basic-dropdown

the library has changed quite a bit and no longer provides an addon for the content-item where we handling the click event to close the dropdown,
thus click events must be added manually to the items being clicked to close the dropdown.

udpate dompurify

fix page header project styles

Bump ember api store, remove npm-run-all

Autofix button types from hbs linting

this change looks large but only adds `type` button to any buttons that dont have a type, which should help to reduce weird side effects

more hbs lint changes for no-negate-condition

turned off a couple rules that could be too much to test right now
2020-10-07 16:52:22 -07:00
Westly Wright 362f9ced32
fix incorrect comparison operator for no worker role check
rancher/rancher#28758
2020-09-26 13:13:10 -07:00
Westly Wright 0701ece406
fix external cloud provider options
drop empty awsCloudProvider config and empty config answers

rancher/rancher#26118
2020-09-26 12:01:36 -07:00
Westly Wright 742301f7b3
Default new node pools to worker role, set node pool w/o role to worker
rancher/rancher#28758
2020-09-26 11:14:33 -07:00
Westly Wright 35eb211d8d
update connecting styles for modal shell
rancher/rancher#28569
2020-09-26 09:47:52 -07:00
Westly Wright bc90e0b936
Sync from clean source
rancher/rancher#29170
2020-09-26 09:26:42 -07:00
Westly Wright 1128d2be61
add extra version upgrade logic for eks v2
Cluster version can only deviate from node group versions by 1, so if any node group version is more than 1 behind the cluster can not upgrade until the node groups upgrade
New node groups should version set to that of the cluster not the other node groups

rancher/rancher#28968
rancher/rancher#29166
2020-09-25 16:06:19 -07:00
Westly Wright 37fa8e6ef7
Highlight connection message on kubectl shell
rancher/rancher#28569
2020-09-25 15:02:10 -07:00
Westly Wright a80dcefbc3
lint 2020-09-24 17:04:51 -07:00
Westly Wright e8425ff414
Update editable fields
rancher/rancher#29137
2020-09-24 17:01:22 -07:00