Commit Graph

187 Commits

Author SHA1 Message Date
Westly Wright ff34d90fb8
Expose cluster labels on gke v2 create
rancher/rancher#32433
2021-04-30 10:46:06 -07:00
Westly Wright a105ef6476
Min/Max Node counts should be null 2021-04-27 11:00:06 -07:00
Westly Wright ac0cea1f07
Fix typo in displaying the import/reg command for GKE v2 private cluster
rancher/rancher#32303
2021-04-23 11:12:45 -07:00
Westly Wright 69cd83b906
set autoRepair and autoUpgrade on gke node pool default true 2021-04-21 15:32:26 -07:00
Westly Wright 9517b5f698
Only show registration command if imported cluster or private cluster
rancher/rancher#32150
2021-04-16 16:54:11 -07:00
Westly Wright 8e95ca821b
more node pool autoscale changes 2021-04-16 16:54:11 -07:00
Westly Wright 72bf5f58c1
Show warning if on edit either logging or monitoring is changed gkev2
rancher/rancher#32148
2021-04-16 16:52:39 -07:00
Westly Wright 20b2b518e9
change defaults on gke v2 np autoscale config to 1, 3
rancher/rancher#32169
2021-04-16 16:52:38 -07:00
Westly Wright 89d9d943a1
Show registration command regardless of node count
rancher/rancher#31529
rancher/rancher#32031
2021-04-13 14:55:51 -07:00
Westly Wright 2541240ed9
node version update 2021-04-13 13:51:20 -07:00
Westly Wright 0b77c0f6e4
change default location type to zone for gke v2 clusters
rancher/rancher#32098
2021-04-13 11:46:27 -07:00
Westly Wright 58a8260d55
fix edit sync upstream config
rancher/rancher#32060
rancher/rancher#32068
2021-04-13 11:12:46 -07:00
Westly Wright 575cf0c897
remove logic that auto-sets secondary range names on gke cluster
rancher/rancher#32046
2021-04-12 16:47:17 -07:00
Westly Wright 657737657c
GKE V2 Provisioner
rancher/rancher#31221

initial creation of gke driver

create shared google service for v1/v2 driver

wip

all fetch methods for google to shared service

cluster/kubernetes options

ippolicy conditionals

private nodes observer so can force ipaliases true

subnetwork logic

cru-private-cluster for gke

initial values

gke node pools

default configs and service cleanup

node group changes

subnet work

hide private nodes config if not enabled

useIpAliases work

 master authorized network component

loggings

no initial master version

gke node pool fixups

input-cidr component and validation

wip - new np logic

node pool updates

fix ups from launching

edit mode changes

more edit updates

more fix ups

node pool edits

import gke

reset auto-scale

implment cloud credentials in gke v2

Cloud cred changes for gke nice to haves

imp fetch clusters

Implement Shared Subnets

cleanup

Import private cluster work and other fixes

private cluster changes

More import/register changes

Null values and node pool version changes

gke private networks warning

fixups
2021-04-09 15:03:26 -07:00
Westly Wright 075a6f49f9
Added extra logic for excluding docker cluster from edit/upgrade
k3s clusters that do not have a config should not allow editing of items on the config.
A null k3s config indicates a docker installed cluster so I've added extra logic
to check if the config exists and if it does not we don't show the manage import cluster info component.

I also added logic to the final save method in cru cluster to only show the registration step if the cluster is pending
and not a null k3s config.

rancher/rancher#30977
2021-04-07 08:50:17 -07:00
Westly Wright 2ab6db46c2
explicitly pass import provider for edit import
rancher/rancher#31547
2021-03-01 17:14:52 -07:00
Westly Wright c6ad401988
refactor public and private access checks for eks imported clusters
rancher/rancher#31258
2021-02-12 14:45:41 -07:00
Westly Wright 9b2648458f
do not show edit if there is no configname
when adding RancherD as a display provider, for some reason the check for configName got removed.
this caused a regression in the form of users being able to edit local clusters
2021-02-05 15:37:21 -07:00
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