Commit Graph

713 Commits

Author SHA1 Message Date
Westly Wright f1487f12b0
User can edit GKE cluster labels
rancher/rancher#32433
2021-05-03 11:52:10 -07:00
Westly Wright 5bb0ebe73d
Merge pull request #4605 from westlywright/bug.eks.gke.partial.updates
V2 Clusters Changed Deltas
2021-04-30 14:25:32 -07:00
Westly Wright 35bcdbc436
fix undefined intermediate value
caught this while editing an imported cluster before the full sync
2021-04-30 14:12:52 -07:00
Westly Wright ff34d90fb8
Expose cluster labels on gke v2 create
rancher/rancher#32433
2021-04-30 10:46:06 -07:00
Westly Wright 2a7a8c69a5
Release channels can be changed on the gke side during edit
so we need to fire the gkeClusters call and logic for finding the channel on every gke cluster edit

rancher/rancher#32360
2021-04-30 10:46:06 -07:00
Westly Wright 854a91ab7e
Rework GKE versions missing initial version logic
put the version in the versions list and sort before we parse the list to a map of labels/values.

rancher/rancher#32360
2021-04-30 09:14:37 -07:00
Westly Wright bab2d5dc31
Lookup imported gke cluster object on edit to find release channels
If the imported cluster is on a release channel we can then limit the versions available to the user for upgrade scenarios to those that exist in the release channel.

rancher/rancher#32360
2021-04-28 17:07:53 -07:00
Westly Wright 5167f68f0f
Change default on imported gke to be zonal and match fresh create page
rancher/rancher#32439
2021-04-28 15:44:03 -07:00
Westly Wright 23f72b792d
expose cluster description
rancher/rancher#32430
2021-04-28 15:44:03 -07:00
Westly Wright a4f927f66d
Merge pull request #4576 from westlywright/bug.gke.edit.error.cluster
GKE V2 Add logic to handle error never provisioned editing case
2021-04-28 15:43:17 -07:00
Westly Wright a4c4b134c6
fix minor version label
rancher/rancher#32339
2021-04-27 10:42:27 -07:00
Westly Wright 6c96d99f92
GKE V2 Update secondary range labels
rancher/rancher#32346
2021-04-26 16:28:08 -07:00
Westly Wright 4c34f09723
fix editable state for error edit gke 2021-04-26 16:05:39 -07:00
Westly Wright 8674084aa9
Add logic to handle error never provisioned editing case
If a user launches a new GKE cluster but chooses something alignment of options that fails before the cluster ever starts provisioning
we now allow them to edit the cluster and all its fields.

rancher/rancher#32207
2021-04-26 15:04:52 -07:00
Westly Wright 37130b5c86
remove fieldrequired from subnetworkname
rancher/rancher#32351
2021-04-26 14:14:12 -07:00
Westly Wright 3b4398cd11
Move cluster and service ranges back out of conditional
they should only be disabled when a range name exists or a shared subnet is selected
2021-04-26 14:14:11 -07:00
Westly Wright bb1bbe2ef4
Update GKE version dropdowns to match EKS on edit 2021-04-26 10:31:21 -07:00
Westly Wright 6d6c676e45
Use searchable select for locations 2021-04-23 11:12:45 -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 c0a273e7be
Move ipAllocationPolicy cluster and service cidr blocks to conditional
only want to show them when auto creating a subnetwork, otherwise the values are ignored
2021-04-22 10:28:32 -07:00
Westly Wright 66da4b523b
revert min/max range changing for cidr input
out of scope of the ui requirements
2021-04-21 15:32:26 -07:00
Westly Wright dc523dcad9
Update master auth networks enable logic
if private endpoint is enabled master auth networks must be enabled too

rancher/rancher#32251
2021-04-21 15:32:26 -07:00
Westly Wright c962c348b8
add min max check to clusterIpv4CidrBlock 2021-04-19 15:35:34 -07:00
Westly Wright eaa5e76775
Add validation logic surrounding ipAllocationPolicy min/max cidr ranges
rancher/rancher#32207
2021-04-19 15:27:50 -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 4c30fcb9b5
Remove unneeded case to set createSubnet true
rancher/rancher#32082
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 25645a90b8
Fix is new node pool check to avoid locking up name field on nodepool
rancher/rancher#32172
2021-04-16 16:52:38 -07:00
Westly Wright 670f8adcc5
fix duplicate object reference for node pools
the default nodePool object was not being cloned properly when creating a new record so the second np object was just referencing the first one.
renamed model to nodePool because I find it less confusing.

rancher/rancher#32167
2021-04-16 16:52:38 -07:00
Westly Wright 46589bc644
Fix bug with node upgrage checkbox not showing up when should
Versioned the parseCloudeProviderVersion choices for a more robust and native implmentation.
Discards coerce versions and just passes the raw versions around because semver can handle this.
Adds include prerelease input as well.
2021-04-14 16:30:13 -07:00
Westly Wright 99783fda56
Merge pull request #4540 from westlywright/bugs.gke
GKE Bugs
2021-04-14 12:06:29 -07:00
Westly Wright f1209d5e83
set gke network to default if it exists
rancher/rancher#32136
2021-04-14 12:00:17 -07:00
Westly Wright 11aea27668
Refactor GKE v2 version choices to remove unneeded watcher
which caused the version choices to recompute and add anything less that then selected version to the can't downgrade list before the cluster was saved

rancher/rancher#32135
2021-04-14 11:44:30 -07:00
Westly Wright 721eadf430
display correct subnets & security group values on eks edit
rancher/rancher#32004
2021-04-14 10:56:51 -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 d6736d7e42
update secondary range dropdowns when subnet updates
this updates the old gke UI (for upgrades going forward) and the new v2 prvisioner UI.

rancher/rancher#27696
2021-04-12 16:47:17 -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 cb6d89391b
ensure masterIpv4CidrBlock is required when creting priv gke cluster
rancher/rancher#32032
2021-04-12 16:47:17 -07:00
Westly Wright afcfb8fee4
location type observer should only observe locationType
to prevent reseting the region or zone when changing those params and allow users to switch locations

rancher/rancher#32044
2021-04-12 16:47:16 -07:00
Westly Wright cc723f7d5d
fix import command for gke v2 private cluster 2021-04-09 16:30:09 -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 9b6ce16bcc
Fix edit custom cluster step 2 btn state and two way bindings 2021-03-15 16:04:14 -07:00
Westly Wright 6e4dde97f5
change post save logic for custom clusters to be able to have postsave 2021-03-15 15:42:28 -07:00
Westly Wright 444937a4aa
Refactor logic for showing CustomCommand and ImportCommand 4 env var
Since the env vars have to be saved on a cluster there is no easy way of dynamically updating the cluster command without trying to split the string and do all kinds of nasty things.
I refactored the logic for when we show the command for both Custom and Import clusters until after the cluster has been saved. This ensures the user is required to save the cluster before fetching the command on an edit action

rancher/rancher#31529
2021-03-15 14:48:14 -07:00
Cody Jackson c96c4e1828 Switching over to having the envVars just be keyValues
After some discussions we decided to simplify things since all that's actually needed are keyValues.

I made the changes within the existing component instead of switching to keyValue to reduce risk at this stage of the release.

rancher/rancher#31545
2021-03-01 17:56:26 -07:00
Cody Jackson fa989bd394 Disabling all reference types on rke create for agentenvvar and marking variable name field as required
Since the reference types can't exist until the cluster is created I added an option to disable all reference types and use it during RKE create

Even though the backend doesn't indicate the variable name is required we're marking it as such because it casues cluster to fail. No validation will be done at this time.

rancher/rancher#31528
2021-03-01 12:45:08 -07:00
Cody Jackson 5adfae361f Adding agent env vars to import cluster
rancher/rancher#31505
2021-02-26 10:12:43 -07:00
Cody Jackson a6156fa4ed Fixing several issues with agentEnvVars
- Fixed issues with determining the provider when editing clusters that are still provisioning.
- Fixed empty values causing problems
- Fixed an issue where the default value wasn't getting set properly for configmaps and secrets when selecting the type and nothing else

https://github.com/rancher/rancher/issues/31023#issuecomment-784717552
2021-02-26 02:45:38 -07:00
Westly Wright 17c508d6b0
Merge pull request #4467 from codyrancher/agent-env-vars
Adding the agent env vars to rke drivers.
2021-02-23 13:14:43 -07:00
Cody Jackson ef5afd4007 Adding the agent env vars to rke drivers.
rancher/dashboard#31023
2021-02-23 12:44:52 -07:00
jesse.millan e5b23b1a21
Ensure latest version of k8s first and picked by default. 2021-02-19 11:55:32 -08:00
jesse.millan 9e98d480d4
Add support for custom boot volume size and setting oCPUs for flexible node shapes (OKE cluster driver). 2021-02-19 11:53:10 -08:00
Westly Wright c1badf2456
lint 2021-02-17 09:32:34 -07:00
Westly Wright 5403a4990a
Add dns options to excluded keys to camel list
rancher/rancher#31230
2021-02-16 16:07: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 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
Westly Wright eb2d758317
Merge pull request #3953 from jrosinsk/populate-with-dynamic-values
Populate OKE cluster creation values dynamically
2020-08-31 10:32:51 -07:00
Westly Wright 1d8f3f3ef9
eks v2 set nodeGroup version number on create
rancher/rancher#28604
2020-08-28 13:54:37 -07:00
jrosinsk e90e552ecd Populating with dynamic values 2020-08-28 11:50:52 -07:00
Cody Jackson 20f62cda59 Fixing GKE cluster edit
A guard was implemented incorrectly, it wasn't appropriately handling
the case where oauthScopes were empty.

rancher/rancher#28555
2020-08-25 16:19:03 -07:00
jesse.millan d5be675ccb
Update static regions, versions, etc. in OCI and OKE drivers. 2020-08-20 15:43:43 -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 1e28833ac5
Add helper text to public/private access
rancher/rancher#28369
2020-08-14 10:46:42 -07:00
Westly Wright 01d591b36f
Add labels for network access to eks v2
rancher/rancher#28361
2020-08-14 10:21:00 -07:00
Westly Wright 9b028ff162
eks v2 new mode show sgs from config
rancher/rancher#28192
2020-08-10 11:55:30 -07:00
Westly Wright 2db7e67d47
watch cloud creds array for changes
rancher/rancher#28174
2020-07-30 15:15:52 -07:00
Westly Wright 010f8a9e74
Always use eksStatus for security groups
rancher/rancher#28148
2020-07-30 10:05:05 -07:00
Westly Wright 4886ac772d
Add check for 2 or more subnets eks v2 2020-07-30 09:04:44 -07:00
Westly Wright b5ff741468
fix eks v2 security groups not showing on edit 2020-07-29 14:43:04 -07:00
Westly Wright a89310e801
lint 2020-07-29 14:24:30 -07:00
Westly Wright c81f0ac7b5
update eks v2 node group defaults
rancher/rancher#28127
2020-07-29 14:21:39 -07:00
Westly Wright 9cbece82e5
update eks v2 subnets path
rancher/rancher#28148
2020-07-29 14:15:48 -07:00
Westly Wright 9037dba2bf
Ensure publicAccessEndpoint is initialized correctly
also fixes a import issue with cloud creds for amazon eks

rancher/rancher#28117
2020-07-29 10:52:21 -07:00
Cody Jackson 0e1e84daea Switching from min value to default value for upgradeStrategy timeout
Turns out that the min value that the backend accepts won't allow
upgrades to complete. This switches the value to the default value to
mitigate that issue.

rancher/rancher#27333
2020-07-27 17:28:50 -07:00
Westly Wright fdcf7c839f
small bug fixes for eks v2 kms keys 2020-07-24 16:56:52 -07:00
Westly Wright 2af9fba016
Merge pull request #4093 from codyrancher/timeout-min-value
[forwardport] Ensure that the upgradeStrategy.nodeDrainInput.timeout doesn't exceed the min value
2020-07-24 16:21:51 -07:00
Cody Jackson d5336bc20c Ensure that the upgradeStrategy.nodeDrainInput.timeout doesn't exceed the min value
rancher/rancher#27333
2020-07-24 16:01:21 -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
Cody Jackson 23da8e8b17 Adding a selected cis profile to the profile options if it's not present
When upgrading rancher the old 1.4 cis profiles were removed which prevented
the currently selected profile for scheduled scans to be selected.

This adds a selected profile to the options if it's not present allowing the
profile to be selected by default. If a different profile is selected and saved
the option will no longer be present. This option will also not be present in
the manual run scan modal.

rancher/rancher#27867
rancher/rancher#27866
rancher/rancher#27374
2020-07-20 15:25:56 -07:00
Westly Wright 102da8cf0d
check for missing cluster template
rancher/rancher#26865
2020-06-24 14:22:22 -07:00
Westly Wright d1f5061ac1
lint 2020-06-24 14:22:22 -07:00
Westly Wright a986c84bc5
update excluded children keys
adds `extraArgs` cameled string to list since they can come back from the api
this way

rancher/rancher#26469
2020-06-23 09:56:34 -07:00
Jesse Millan acd682cf88
A tenancy should be a valid compartment since it is technically the root compartment. Resolves kontainer-engine-driver-oke/issues/13. 2020-06-11 11:14:37 -07:00
Westly Wright 9c729e701a
Merge pull request #3997 from codyrancher/drainage
Splitting up aggressive drain parameters
2020-05-28 10:31:33 -07:00
loganhz a859b0547d Use external UI for Aliyun ACK cluster 2020-05-27 22:49:26 +08:00
Cody Jackson 27c3ace324 Splitting up agressive drain parameters
We no longer have safe and aggressive nodes we now
have two properties 'force' and 'deleteLocalData'.

rancher/rancher#27111
2020-05-26 13:11:22 -07:00
GGGitBoy 882bbe12bc Add k8s version for TKE 2020-05-22 13:13:36 +08:00
Cody Jackson 4be1b9c1c8 Make the default scheduledClusterScan.enabled to be a boolean
Enabled was being set to 'false' instead of false but this was being
masked by the execution of initScheduledClusterScan. When the
KDM values werent present initScheduledClusterScan was doing
an early exit and no longer masking the poor 'false' default value.

This will further improve the earlier solution for rancher/rancher#26996.
2020-05-20 14:03:13 -07:00
Cody Jackson 5ab4d108b4 Improving how we handle a failure to get a scanConfig
It appears that sometimes the cisscanconfig schema isn't present (I haven't
been able to consistently reproduce) which causes the UI to prevent the user
from saving changes to their cluster. Though I think this could be fixed
by the backend I'd like to stop the bleeding and have the UI handle this
better.

So there's two things that are here to help out.
1. I added a default value to the initial empty object just in case it never gets set
elsewhere.
2. If an exception is thrown while creating the scanConfig
we now just prevent the schedule from being set since it wouldn't work
anyway.

Either of these should allow saving to proceed.

rancher/rancher#26996
2020-05-20 09:16:12 -07:00
Westly Wright 7683fe057a
fix incorrectly cased import
rancher/rancher#26908
2020-05-19 09:21:54 -07:00
Westly Wright a3f933ed27
Prevent EKS K8s version upgrades > 1 minor version
rancher/rancher#26908
2020-05-18 11:04:45 -07:00
jesse.millan 84410805f2
Add Oracle Container Engine (OKE) as a builtin cluster driver. 2020-04-22 12:17:49 -07:00
Westly Wright f98e8763ae
change done button to cancel when user can't edit cluster
rancher/rancher#26491
2020-04-15 11:26:27 -07:00
Westly Wright c704e706e3
template error 2020-04-13 10:32:30 -07:00
Westly Wright 8bf48fa308
Add case to handle cluster temp enf on and no clust temp
rancher/rancher#26491
2020-04-13 09:59:17 -07:00
loganhz fa42674a8f Support EKS cn-northwest-1 and cn-north-1
https://github.com/rancher/rancher/issues/25613
2020-03-31 00:15:23 +08:00
Westly Wright 50ad47f34b
Remove sort versions for EKS since we control versions array
rancher/rancher#26296
2020-03-26 15:48:09 -07:00
Westly Wright f1770c2046
Merge pull request #3880 from westlywright/eks.null.subnets
EKS Empty Subnets
2020-03-26 12:34:14 -07:00
Westly Wright 5654907ae6
Merge pull request #3878 from westlywright/eks.changes
Drop EKS k8s 1.12 from versions list
2020-03-26 12:33:29 -07:00