Commit Graph

169 Commits

Author SHA1 Message Date
Westly Wright ca45166add
Subnets can not be undefined
rancher/rancher#31087
2021-02-02 09:01:24 -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 36e3fca379
change add host label to registration command
rancher/rancher#30920
2021-02-01 15:13: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 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 82d85545b6
add isActive to computed check for canRotateEncryptionKey
Transtion doesn't always update as often or as fast and is active. I dont see a downside to checking both though its unlikely we'd ever get into a state where they are both not true or false.

rancher/rancher#30552
2020-12-18 15:01:51 -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 e5fb9b1102
lint 2020-12-16 16:44:42 -07:00
Westly Wright 6c459cc8d0
Expose rotate encryption keys action and modal
rancher/rancher#30077
2020-12-16 16:18:47 -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 9f39a0bb6c
fix logic to show Add Host command when in the correct cluster
rancher/rancher#30447
2020-12-14 09:42:14 -07:00
Westly Wright e454ddd38f
Update display provider to account for RKE windows
rancher/rancher#30046
2020-12-03 15:52:47 -07:00
Anton Kachurin 9008a43584
Add OTC CCE label translation 2020-12-03 22:38:26 +03: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 1eb0e8301f
lint 2020-12-02 13:17:15 -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
Westly Wright 09187d8a45
Add imported check to name check eks v2 clusters
rancher/rancher#30262
2020-11-30 13:54:19 -07:00
Westly Wright 084bc17488
Merge pull request #4270 from westlywright/feature.rancherd.displaydriver
RancherD Display Provider
2020-11-12 13:59:42 -07:00
Westly Wright ed21f3ffbc
Add rancherd to displayproviders
rancher/rancher#28651
2020-11-02 09:53:56 -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 10ea146135
ensure eksconfig display name always matches cluster name
rancher/rancher#29353
2020-10-14 15:00:52 -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 9ea6d2e86f
fix node group check 2020-09-27 12:51:14 -07:00
Westly Wright b5d836ee06
use semver for compare
rancher/rancher#29180
2020-09-27 11:42:26 -07:00
Westly Wright 3a6bbe3ad3
fix node group version update check for eks clusters 2020-09-25 16:05:28 -07:00
Westly Wright 1f029206a7
sanitize eks configs when upstreamspec is empty
rancher/rancher#29163
2020-09-25 14:33:04 -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 fdc3fb6d9d
dont loop over empty arrays for upstream config sync
rancher/rancher#28994
2020-09-24 09:29:29 -07:00
Westly Wright 56f48e0ec0
Drop empty upstream spec error check on cluster save
rancher/rancher#28933
2020-09-23 17:23:26 -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
Cody Jackson c69a3a258d Changing the implementation of isObject.
https://github.com/rancher/rancher/issues/28541
2020-09-15 19:27:10 -07:00
Cody Jackson 1d566d5713 Correct the value of ec2SshKey to be an empty string instead of null
For some reason the local variable eksConfig is undefined when
not running locally but the value is present on 'this'. I'm attempting
to just use the eksConfig attached to 'this.

https://github.com/rancher/rancher/issues/28541#event-3770683823
2020-09-15 17:32:29 -07:00
Cody Jackson 4e247794fd Fix translation method call
rancher/rancher#28903
2020-09-14 12:54:45 -07:00
Vincent Fiduccia f9b313b0a9
Cluster save completely broken except for EKS 2020-09-14 11:06:46 -07:00
Westly Wright 1824efeb5a
lint 2020-09-11 16:55:15 -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 a924518c51
comments re: eks syncing function 2020-09-11 09:20:02 -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 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 44ceaedaef
Update cluster model param provider
backend added there own provider param so this just renames the provider to clusterProvider

rancher/rancher#28355
2020-08-14 09:55:27 -07:00
Westly Wright af16527ff9
Exposes edit for RKE2 imported clusters 2020-07-23 10:24:31 -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
loganhz a859b0547d Use external UI for Aliyun ACK cluster 2020-05-27 22:49:26 +08:00
jesse.millan 84410805f2
Add Oracle Container Engine (OKE) as a builtin cluster driver. 2020-04-22 12:17:49 -07:00
loganhz d7376e21cb Display hosted k8s cluster region in cluster dashboard 2020-03-31 00:14:33 +08:00
Cody Jackson d3c0f5dfe2 Adding yet another condition to the CIS Add Schedule button
This now checks to see if there's and RKE template.
If there is an RKE template and the scheduleScanned is disabled
the button will be disabled unless there's an override available for
the scheduledClusterScan.enabled field.

rancher/rancher#26150
2020-03-21 02:17:28 -07:00
Cody Jackson 30c0a9afa0 Make CIS schedule and alert buttons disabled more in line with run scan button
rancher/rancher#25997
2020-03-17 11:28:25 -07:00
Cody Jackson 9485a3c4b4 Improve the UX of our Snapshots page
- Added a Snapshot Now button to the top of the table
- Added a Restore Snapshot option to the actions of each row which will
  select the current row when opening the modal

rancher/rancher#25511
2020-03-15 03:22:32 -07:00