Commit Graph

186 Commits

Author SHA1 Message Date
Cody Jackson 35b77d6433 Adding windows deprecated banners for rke1 on the clusters and provisioning pages
rancher/dashboard#5995
2022-07-22 07:18:00 -07:00
Lauren Harden 85ad5adb0b
theme changes for vue (#4655)
* theme changes for vue WIP

* banners

* header fixes

* rm blarp

* avatar fix

* table and header fixes

* table fix

* modal

* fix annotation

* right button headers

* accordion

* header color fixes

* banner fix
2021-06-30 09:45:00 -07:00
Westly Wright 5dc0e43b25
Update Ember 3.24
This puts back the fixes from the revert with the exception of ember-concurrency
Something in the internals of this is breaking when we iframe into the vue dashboard.
Reverting this particular change fixes it. Since this was not a required change but a nicety I've decided to revert until I have more time to investigate.
2021-06-21 10:48:45 -07:00
Westly Wright 29103e4f2f
Revert "Ember LTS and Dependency Upgrades" 2021-06-18 12:46:15 -07:00
Westly Wright 1feb2118a7
v3.20.2...v3.21.2
v3.21.2...v3.24.0

update node 10 -> 12 lts

audit updates

hide link-to-external when switching scopes

this action causes the route info to be unavailable to the current route lookup before we transition out of the alert lib
2021-06-17 15:53:11 -07:00
Westly Wright a875466186
Azure AKS v2
WIP - Initial creation of AKS v2 cluster

add cloud cred component to aks

location and availablity zone changes aks v2

remove tenant id and fix bug is missing driver for new aks

Cloud creds proxy calls and wip auth networks

update input cidr to move error to tool tip

this accounts for help text below the input

aks v2 networking and use input-cidr

convert tooltip around input cidr to info icon tooltip

fixups

Initial aks node pools

system node pools remove and radio buttons logic

hide primary/user logic for now

markup and node availablity zones

sync aks config

import aks

state logic for authorizedIpRanges and Private Cluster AKS v2

kubenet and azure cni networking setup

advanced networking

default version aks v2

aks edit modes

windows profiles changes

new proxy calls for region, vm size, and clusters aks v2

fix ups

import mode edit and failed cluster edit

add disabled options to searchable select

network policy fixups

node pool versions

save fixes

match import link order with v2 create order on select page

aks v2 set resourceGroup from proxy call not input

testing fixes

editing state steps for aks v2

translations and defaults

version bugs
2021-06-01 12:06:23 -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
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 38c7200d39
Ensure OTC CCE driver name shows up correctly on cluster select pages
adds the translation to noddriver which is what is used on in the driver-name helper, this was smaller than trying to change that to look up an additonal key
addresses styling issues from the extra long name and ensures the height is always the same through screen sizes
weird concat spacing issue

rancher/rancher#30297
2020-12-16 13:51:02 -07:00
Westly Wright 77d6d3bee7
check for correct destroy prop 2020-10-22 16:53:16 -07:00
Westly Wright 3eda4eb71a
Change filtering for global cluster list and hide local
can't filter in the route as this is not any kind of property that will recompute. Instead create a new computed for all clusters that filters correctly.
2020-10-22 16:37:20 -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 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
Vincent Fiduccia 47fe68ee7e
Dashboard link on cluster list 2020-09-24 00:40:22 -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 6806c60958
changed the wrong param provider->clusterProvider 2020-08-14 11:57:43 -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 33040bd83b
select 'other' as default for register
rancher/rancher#28160
2020-07-30 09:23:17 -07:00
Westly Wright 95406e42d4
Tweak import launch ux
rancher/rancher#28007
2020-07-28 11:36:51 -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
Westly Wright 7bc7fc2c83
Stop propigation on clicking of the link inside the import cluster box
rancher/rancher#25981
2020-03-12 11:48:57 -07:00
Westly Wright 494b95487e
update verbiage for k3s cluster import 2020-03-11 11:19:51 -07:00
Westly Wright a3f1bc996b
Fix bugs that prevent cluster cr8 when editing yaml
Adds an empty name to the cluster model creation so it isn't missing if the user
opens yaml editor and knows they should input it
Removes incorrect next usage
Adds logic to handle overriding the name in name-desc when updateYaml is called
Updates form-name-description model observer to watch the two props it actually
cares about
Fixes bug in removeEmpty util which would remove excludedKeys during filter phase

rancher/rancher#24971
2020-02-05 15:03:13 -07:00
loganhz 036691dad9 Support search node in cluster list
https://github.com/rancher/rancher/issues/23305
2020-01-06 17:30:38 +08:00
Westly Wright 07c77cc41d
rework query params for edit cluster and template revisions 2019-11-05 16:26:02 -07:00
Cody Jackson 71a7fb8d2d Include Template/Revision in cluster table
We want to make it easier for someone that is managing multiple
clusters to see what template and template revision a cluster
is using. We also want to make it easy for a user to notice
that a cluster isn't using the latest revision.

To achieve this we added the template and revision to a column
in the clusters table to display both. We also indicate add
a warning badge beside a revision when the revision isn't
the latest.

rancher/rancher#22047
2019-09-26 09:20:45 -07:00
lvuch 59d3ffb8d4 cluster template to rke template 2019-08-29 21:31:20 -07:00
lvuch 873e9abf79 empty table text and login screen 2019-08-07 15:32:02 -07:00
Westly Wright 9fa2f1d116
backup strategy default values when applying cluster template
rancher/rancher#21724
2019-07-31 09:42:00 -07:00
Westly Wright e6a80707b4
fix bug in template enforcement and standard user template selct
rancher/rancher#21747
2019-07-31 09:41:59 -07:00
Vincent Fiduccia 539a342338
Support 2.2 backend with no clustertemplates 2019-07-24 11:58:58 -07:00
Westly Wright a8baa581d5
lint 2019-07-23 17:21:51 -07:00
Westly Wright 54e379af2f
reset cluster template revision whene exiting launch cluster route
rancher/rancher#21726
2019-07-23 16:37:08 -07:00
Westly Wright c2350593f2
Fix some bugs in enforcementChanged and showing cluster template
rancher/rancher#21717
2019-07-23 15:56:09 -07:00
Westly Wright 17bf0e2b38
fix bug with template enforcement not reseting correctly
rancher/rancher#21694
2019-07-23 10:56:08 -07:00
Westly Wright cf33ea1ef9
tweak cluster disable when enforcement is on and no templates 2019-07-23 10:56:08 -07:00
Westly Wright a2df0b4162
fix undefined error 2019-07-23 10:56:08 -07:00
Westly Wright 9e2e805ec2
global admin check for disable addcluster button 2019-07-22 14:03:45 -07:00
Westly Wright 94f232f64b
missing clusters 2019-07-22 14:00:04 -07:00
Westly Wright 418ebcf36e
lint 2019-07-22 11:11:20 -07:00
Westly Wright c63b9c0e41
Disable add cluster button, add tooltip for template enforcement 2019-07-22 10:53:55 -07:00
Westly Wright b3a324bfb9
Enforce global cluster templates except for global admin 2019-07-22 09:50:01 -07:00
Westly Wright a70b9991ed
lint 2019-07-19 17:24:47 -07:00
Westly Wright 31153b8e3e
Fix edit cluster with template bugs
rancher/rancher#21441
2019-07-19 15:41:56 -07:00
Tani Fiduccia a37f6aa400 Text fixes and alignment for Add Cluster 2019-07-18 17:24:31 -07:00
Westly Wright 7ee41a0cc3
styles 2019-07-16 14:29:51 -07:00
Westly Wright 46d5ff7123
new driver icons for custom & import 2019-07-16 11:19:46 -07:00
Westly Wright 7d8d3fd276
Change cluster select styles to new mocks 2019-07-16 10:15:38 -07:00