Commit Graph

29 Commits

Author SHA1 Message Date
Nancy Butler 126703f1f7 add ability to select custom node role during eks creation 2022-12-08 15:11:45 -07:00
Westly Wright f50bce60c7
fix undefined check for InstanceTypes in eks node group row
also removed some unneeded else statements that were doing nothing

rancher/rancher#32057
2021-04-14 10:56:51 -07:00
Westly Wright 31e65617c2
ensure spot instance types and instance type are set correctly eksv2
rancher/rancher#31908
2021-04-05 11:13:22 -07:00
Westly Wright cee4ecb63d
lint 2021-02-22 11:12:15 -07:00
Westly Wright 887b02eefd
allow set on managed fields with a rancher launch templates
rancher/rancher#31415
2021-02-22 11:05:34 -07:00
Westly Wright 1ddaff8d87
fix incorrect lt name display and resource tags 2021-02-18 17:13:02 -07:00
Westly Wright bda3dbd716
refactor node group row to handle new data source when lt is used 2021-02-18 15:29:43 -07:00
Westly Wright 695ce8737f
refactor filteredLaunchTemplates to remove unnecessary mapping 2021-02-17 15:30:24 -07:00
Westly Wright a53c885cbd
only count rancher launch template if matching version
rancher/rancher#31279
2021-02-12 14:45:41 -07:00
Westly Wright 509e41d448
rework the spot instance types ux
updated the spot instance to make spot instance types required along with adding a default row
during the process I also found that the nodegroups data was being reset on a failure so added some wrappers around the observer for this.

rancher/rancher#31213
rancher/rancher#31288
2021-02-12 14:45:41 -07:00
Westly Wright a57342b542
Ensure correct launch template name is selected
rancher/rancher#31205
2021-02-10 11:08:17 -07:00
Westly Wright eb7c7ab06d
node group doesn't have sshKey it has ec2SshKey
rancher/rancher#31191
2021-02-09 11:32:21 -07:00
Westly Wright a2dc6b4aef
create computed for launchTemplate.version
since the property has to be an int and the select component doesn't work with anything but strings

rancher/rancher#31190
2021-02-09 09:36:01 -07:00
Westly Wright 227f73c290
Template version was not correct scalar type
prevented the correct choice from being selected on init.

rancher/rancher#31146
2021-02-08 11:29:15 -07:00
Westly Wright 5caabc7f38
Don't overwrite node group details to defaults when cycling lts
these details are not loaded from EKS

rancher/rancher#31078
2021-02-01 15:59:06 -07:00
Westly Wright f0ab4fa7f5
handle spot instance type coming in from eks launch template
rancher/rancher#31077
2021-02-01 15:42:14 -07:00
Westly Wright 7c2327e191
reset nodegroup schema when moving id/version changes
rancher/rancher#31064
2021-02-01 10:31:49 -07:00
Westly Wright 495a596eb1
when requesting spot instances you can not include instance type
rancher/rancher#31049
2021-01-29 09:19:34 -07:00
Westly Wright e56fb69396
EKS Launch Templates
rancher/rancher#30613

Initial seperation of the node instance info and group info EKS v2

Template versions

inputs enabled for eks launch templates

build files

Resource instance tags

resource template cleanup

lint fix

dont disable gpu or spot during create

launch template pr feedback

Add example user data and removal on save logic
2021-01-26 15:52:24 -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
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 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 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
Westly Wright 5c9bd91cb4
Rework node group upgrade ux
This makes the node group upgrade ux closer to the ux of AWS console.
Removes the node group version select, replaces with a radio.
Adds logic to set the new nodegroup version on edit to the version of other nodegroups
Adds logic to prevent node group version upgrade when cluster version is being upgraded.

rancher/rancher#28965
rancher/rancher#28966
rancher/rancher#28968
2020-09-24 12:06:03 -07:00
Westly Wright 2e3d110ea6
Update cluster save to handle eks v2 sync
also makes eks v2 node group names uneditable

rancher/rancher#28541
2020-09-11 09:20:01 -07:00
Westly Wright 955b1820c2
always set full obj for node group labels and anno 2020-08-17 09:53:51 -07:00
Westly Wright 4925f54ef7
Expose node group versions on eks v2 node groups
adds both tooltip warning on cluster row and alert warning on cluster dashboard

version can only be updated on edit when cluster version is different from node group version
all other times we set the node group version to the clusters version

rancher/rancher#28335
2020-08-14 16:38:02 -07:00
Westly Wright 3d13864e53
Amazon EKS V2
error handler

wip - dev for aws cloud creds

wip - refactor aws login

wip - kms key

wip - encrypt secrets

wip - private access & vpcs

wip - translations and formatting

wip - more cleanup

remove unneeded code

wip - node groups

add ability to disable value label

fix double import, fix double negative disable add button and expose
addbuttonenabled

clean up public access and node groups

cleanup variable names and default config

eks regions

wip - eks v2 select

differentiate v1/2 amazon eks providers

clean up node groups, translations

unionize top errors

Consolidate aws util statics

WIP - Import/Cloud Creds

tweak cloud cred events for eks driver

WIP new import selector

drop unneeded variables eks import

kms keys cleanup

allow user to enter if the kms keys call fails

firefox styles

drop vpc selection and group subnets by vpcs

import cluster name input if allClusters fails to load from eks

make eks import a bit more dynamic

fix bug in driver eks for default subnet

more imported cleanup

eks v2 edit

eks v2 vendors

remove use cloud creds temp branchs

push current version to version choices if it doesnt exist

eks v2 rename cloudcred param

fix eks v2 versions

clean up for pr
2020-07-22 16:09:14 -07:00