Commit Graph

557 Commits

Author SHA1 Message Date
Westly Wright f4bb720d10
rke template s3 cert styles
rancher/rancher#27165
2021-02-01 15:13:16 -07:00
Westly Wright 5eeb3fa03a
lint 2021-02-01 11:07:16 -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 83af50577f
fix undefined check on eks v2
rancher/rancher#31048
2021-01-29 08:41:12 -07:00
Westly Wright fd074f63c0
fix editing view for eks v2 cluster that are pending
rancher/rancher#31013
2021-01-28 11:17:57 -07:00
Westly Wright 2bcdac6698
remove empty set causing broken managed node groups
rancher/rancher#31008
2021-01-28 10:29:16 -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
Phillip Campbell 960da87b24
Bring Linode UI in tree (#4386)
* Add LKE string constants

Supersedes https://github.com/rancher/ui/pull/4298

* New cluster driver boilerplate

* Pull assets from from https://github.com/linode/ui-cluster-driver-lke

* Convert from skeleton format

* Add LKE to build_in_ui

- refactored to have the two locations match

* Replace " with '

* Translations for labels

* Language was moved to translations file

* Linter errors

* replace multiple sets with setProperties

* Move bare strings to translations

* Swap this.setProperties for ember/object's version

* Remove custom language change reactions

* remove dollar sign in favor of format-number

* Convert node pool list to a sortable table

Co-authored-by: Tamal Saha <tamal@appscode.com>
2021-01-13 11:03:02 -07:00
Westly Wright 831957bcce
Adds in one off check for secretsEncryption.customConfig
custom config has a type of `map[json]` and when we process this for the edit yaml view we can goof some of the keys in the arbitrary JSON.
specifically the `Resources` key gets dasherized and lower cased which borks  the cluster on save.

rancher/rancher#30555
2020-12-18 16:32:32 -07:00
Westly Wright f54b4f65e9
lint 2020-12-17 11:48:26 -07:00
Westly Wright c2d84f3ad9
update rotate encryption key logs for new requirements
exposes the kubeApi Secrets config enabled property which allows users to rotate keys
disable rotate action when prop is not set, we are rotating or, the cluster is transitioning

rancher/rancher#30077
2020-12-17 11:42:33 -07:00
Westly Wright 128c07e7d7
Use double bang comparitor and add provisioning to pending state eksv2
rancher/rancher#30403
2020-12-15 14:10:18 -07:00
Westly Wright ab3ccb1b49
Merge pull request #4324 from jlamillan/jlamillan/oke_auth_regions
Add static region list for (bootstrap) authentication to a subscribed…
2020-12-14 11:08:46 -07:00
Westly Wright 205f71cc8e
Update eks cluster to redirect when going from pending to active
when the cluster is private access only. similar to regular import
2020-12-09 15:02:13 -07:00
Westly Wright 69d6f04001
Revert nested comment indenting, disable comments on edit
rancher/rancher#28532
2020-12-08 10:32:25 -07:00
Westly Wright 2e7df1e169
Embed comments at the correct nesting level to prevent issues ml string
rancher/rancher#28532
2020-12-08 10:20:51 -07:00
Westly Wright f356f8df69
Expose rke ingress defaultBackend param
rancher/rancher#30272
2020-12-04 13:42:35 -07:00
Westly Wright 449fb55c81
Update import command to remove gke ref's and add banner info for eks
rancher/rancher#30337
2020-12-03 16: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
jesse.millan c2239d5c14
Add static region list for (bootstrap) authentication to a subscribed region. 2020-12-02 15:30:25 -08: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
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 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 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 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 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
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 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 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
Cody Jackson 4a8e45e1ce Fixing tags
- The entire tag collection needs to be sent if it changed
- I noticed that when editing a tag key each letter was added so I resolved that as well

rancher/rancher#28949
2020-09-18 12:49:44 -07:00
Denise d0597645ba
Merge pull request #4161 from westlywright/feature.eksv2.syncing
EKS V2 Clusters Syncing & Save
2020-09-13 21:01:06 -07:00
Denise Schannon 78d99c73ac AKS only works with lowercase "calico" 2020-09-11 20:34:30 -07:00
Westly Wright 79c00cf7d7
Rework for new requirements that node groups need the entire object. 2020-09-11 16:13:41 -07:00
Westly Wright 42a8ce7cad
EKS cluster new can no longer have null values 2020-09-11 13:46:37 -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 0d75d59d31
Generalize error handling for kms keys
rancher/rancher#28734
2020-09-04 09:46:29 -07:00