Commit Graph

2773 Commits

Author SHA1 Message Date
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 6454ce96f7
Merge pull request #4343 from westlywright/bug.import.save.cancel
Missing Save/Cancel Buttons Imported Cluster
2020-12-07 08:45:54 -07:00
Westly Wright b638abab62
Handle HA Local cluster provider 'imported' as import
rancher/rancher#30354
2020-12-04 14:39:18 -07:00
Westly Wright f356f8df69
Expose rke ingress defaultBackend param
rancher/rancher#30272
2020-12-04 13:42:35 -07:00
Westly Wright e676ce806f
send cluster id instead of cluster name
rancher/rancher#29774
2020-12-04 10:23:53 -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 bf8f5071b5
Add conditions list to PVC detail page
rancher/rancher#30319
2020-12-03 11: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
Cody Jackson 9a4a58d1b8 Fixing azure k8s version dropdown from breaking when selecing uae-central
When selecting UAE central parseCloudProviderVersionChoices was returning 2 undefined elements which then broke the dropdown. It seemed that parseCloudProviderVersionChoices should only return valid choices so I filtered out falsey values.

rancher/dashboard#28341
2020-11-30 11:41:56 -07:00
Westly Wright cc83938284
Update PV and PVC pages to allow volume expansion
rancher/rancher#27746
2020-11-30 09:31:52 -07:00
Westly Wright c5d18a650c
Add clusterName qp to fetchTemplate call
in order to get a fresh version list of compat k8s version for this cluster
2020-11-25 11:30:21 -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 276d9e2fda
fix undefined in error message
rancher/rancher#29104
2020-11-23 11:31:55 -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 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
Cody Jackson 2bcef688c0 Adding uaecentral and uaenorth to aks regions
rancher/rancher#28341
2020-11-19 12:05:05 -07:00
Westly Wright 23fb79245e
Merge pull request #4265 from westlywright/bug.exit.container.shell
Send exit to container exec on close of container-shell
2020-11-12 13:56:01 -07:00
Westly Wright 3a463377d7
Merge pull request #4263 from westlywright/feature.2.node.delete.warning
2 ETCD Node Delete Warning
2020-11-12 13:55:15 -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 73ecfcba8c
Send exit to container on close of container-shell
Rather than add a warning the user needs to exit I've added a send to the socket for `exit\r\n` to disconnect the process before the socket closes

rancher/rancher#16192
2020-10-30 12:21:17 -07:00
Westly Wright 823117606b
template format 2020-10-30 10:35:04 -07:00
Westly Wright 7a278f31fc
show warning when deleting node from 2 node etcd cluster
rancher/rancher#29665
2020-10-30 10:32:09 -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 5ab5beb2e5
change volatile computed property to native getter
volatile was deprecated, during the ember 3.12 -> 3.20 upgrade the headers computed property was incorrectly changed to a regular computed property when it should have actually been converted to a native getter as this property is not intended to be tracked.

rancher/rancher#29751
2020-10-28 09:20:47 -07:00
Westly Wright 77d6d3bee7
check for correct destroy prop 2020-10-22 16:53:16 -07:00
Westly Wright b8ae49352b
hide local cluster from header & global clusters list if hide local true
if the new setting hide-local-cluster exists and is true we will hide the local cluster in the UI. this doesnt prevent api access.
additionally if the setting is true and a user attempts to navigate directly to a cluster or project route we will redirect them to the authenticated index route which redirects to global admin.

rancher/rancher#29325
2020-10-22 16:04:31 -07:00
Westly Wright 0abb2bdb4e
fix broken azure cloud provider inputs 2020-10-22 13:16:50 -07:00
Westly Wright e227ba4e6e
Fix selecting cloud provider logic
rancher/rancher#29685
2020-10-22 11:42:37 -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
n313893254 5af4c4668a Synchronize logging form to file
https://github.com/rancher/rancher/issues/29562
2020-10-16 16:04:14 +08:00
Westly Wright 790231ff80
remove conflicting close action on page-header-project
when i ugpraded ember basic dropdown the mechanism we previously used to close the dropdown on click was removed and as a result I added the recommended method closing the dropdown.
the problem was that page-header-project and hover-drowndown worktogether to close the dropdown as well and the conflict was causing a full page refresh due to the close method.
ive dropped the conflicting action and instead moved the close logic to hover dropdown in the routeWillChange method since its knows its context in regards to the dropdown.
at this point the `a` in page header project will have been magically clicked and the component is done with publicDropDownApi so it can be set null.
2020-10-15 11:23:54 -07:00
Jacob Payne bb50346b97 added 1.18 and 1.14 eks versions 2020-10-13 17:46:04 -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 362f9ced32
fix incorrect comparison operator for no worker role check
rancher/rancher#28758
2020-09-26 13:13:10 -07:00
Westly Wright 0701ece406
fix external cloud provider options
drop empty awsCloudProvider config and empty config answers

rancher/rancher#26118
2020-09-26 12:01:36 -07:00
Westly Wright 742301f7b3
Default new node pools to worker role, set node pool w/o role to worker
rancher/rancher#28758
2020-09-26 11:14:33 -07:00
Westly Wright 35eb211d8d
update connecting styles for modal shell
rancher/rancher#28569
2020-09-26 09:47:52 -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 37fa8e6ef7
Highlight connection message on kubectl shell
rancher/rancher#28569
2020-09-25 15:02:10 -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 bc3dd780b9
Focus element in form-key-value correctly
rancher/rancher#28940
2020-09-23 17:09:13 -07:00
Westly Wright 35767c93d1
Merge pull request #4156 from nikkelma/ui-banners-failsafe
Suppress exceptions when parsing JSON settings, default to raw value
2020-09-23 08:52:39 -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 3c711f7518
Merge pull request #4155 from codyrancher/ttl-forwardport
[forwardport] api keys ttl
2020-09-10 08:57:02 -07:00
Westly Wright 0d75d59d31
Generalize error handling for kms keys
rancher/rancher#28734
2020-09-04 09:46:29 -07:00
Westly Wright c34f77ae19
Forward port kms keys in node template fixes
rancher/rancher#28719
rancher/rancher#28724
2020-09-03 11:02:49 -07:00
Matt Nikkel a7c408576f
Suppress exceptions when parsing JSON, default to raw setting value 2020-09-02 16:27:51 -04:00
Cody Jackson 8fbd86a081 Implementing max token ttl for api keys
- added 'auth-token-max-ttl-minutes' setting
- modified api-key modal to better handle the max-ttl when it is set

rancherlabs/rancher-security#466
2020-09-02 11:53:45 -07:00
Westly Wright eeacedb81a
Update cluster selector markup for new design
rancher/rancher#28625
2020-08-31 13:41:36 -07:00
Westly Wright 085459f32d
Merge pull request #3952 from jlamillan/jlamillan/oci_dynamic_values
Verify OCI cloud credentials and fetch values dynamically from OCI.
2020-08-31 10:36:08 -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
Vincent Fiduccia 2ed359e694
Fix redirecting to dashboard 2020-08-28 18:15:03 -07:00
Vincent Fiduccia 46610de6f5
Logging, Monitoring, CIS banners 2020-08-28 17:57:54 -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
jesse.millan 473551b9cf
Verify OCI cloud credentials and fetch values dynamically from OCI. 2020-08-28 09:28:10 -07:00
Vincent Fiduccia d7436d4059
Ember<->Vue integration & login 2020-08-26 03:47:59 -07:00
Vincent Fiduccia bf156aff68
Merge pull request #3720 from hypnotortoise/master
Add Switzerland region to Azure cluster provider
2020-08-25 22:15:38 -07:00
Vincent Fiduccia 76bd5c82fc
Merge pull request #4095 from adaliszk/master
Add Azure German Public locations to the provider choices
2020-08-25 22:13:16 -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
Westly Wright 0b1051e5ac
Merge pull request #4136 from nikkelma/ui-banners-failsafe
Ensure no exceptions are thrown when handling UI banners
2020-08-25 10:34:03 -07:00
Matt Nikkel 4286630fb0
Ensure no exceptions are thrown when handling UI banners
Any exceptions during JSON parsing are now handled; fields are checked
for being a string; logic was slightly consolidated.
2020-08-21 12:47:42 -04:00
jesse.millan d5be675ccb
Update static regions, versions, etc. in OCI and OKE drivers. 2020-08-20 15:43:43 -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
hypnotortoise a57f0922cf
fix: missed { after rebasing 2020-08-15 00:21:22 +02:00
hypnotortoise 533a9aa331
Merge remote-tracking branch 'upstream/master' 2020-08-15 00:14:25 +02: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 e14f7302d4
Merge pull request #4120 from westlywright/bug.deployment.scale.0.or.null
Allow pod scale to be set 0 or null
2020-08-10 13:38:40 -07:00
Westly Wright 322010d292
Allow pod scale to be set 0 or null
Pod scale minimum was incorrectly set to 1. This sets the default back
to 0. Adds a nullible flag to input-int as this is allowed in most cases
where we are using the component. Defaults to false.

Formatting fixes

rancher/rancher#28168
2020-08-10 12:28:17 -07:00
Westly Wright 9b028ff162
eks v2 new mode show sgs from config
rancher/rancher#28192
2020-08-10 11:55:30 -07:00
Cody Jackson a482fada9d Ignoring appliedSpec before validating
Unfortunately the backend is sometimes saving invalid models
which causes the validation of appliedSpec to fail. To avoid
this validation we're not ignoring the appliedSpec where this
can go wrong.

https://github.com/rancher/rancher/issues/27333#issuecomment-665244361
2020-08-05 09:36:18 -07:00
Ádám Liszkai b4404039a7
Fix Typo 2020-08-04 00:31:03 +02: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