Commit Graph

51 Commits

Author SHA1 Message Date
Cody Jackson 467b893001 Now just choose region/zone based on location type instead of preferring region over zone
Region is set by default so it was getting chosen over zone even when zone was set.

https://github.com/rancher/rancher/issues/33527#issuecomment-878476927
2021-07-12 13:46:00 -07:00
Cody Jackson c9d4eebac0 Making gkev1 use the region parameter instead of the zone parameter when availavble
rancher/rancher#33527
2021-07-07 20:31:57 -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 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 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
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 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
Westly Wright c17fc952e2
Remove minimum k8s version range check for Cloud Provider clusters
Adds a new service which parses version from the various cloud provider version
list. I moved this to a new service rather than use form-versions because
form-versions is already fairly complicated with how it has to deal with RKE
Templates and unknown patch versions. It was simpler, cleaner, and faster to
move the CP cluster version parsing to a service and use new select because the
versions coming down do not include unknown patch versions. Addtionally going
this route allows us to not have to test all clusters for regressions, only CP ones.

rancher/rancher#26255
2020-03-25 15:59:22 -07:00
Westly Wright 3399b66bc3
refactor the logic backing GKE network/subnetwork selections
While working on a ticket to provide the ability to de-select subnetworks when
using the create subnetwork option I discovered the options were all messed up
and allowed you to misconfigure yourself into a hole.

I've moved ipalias and related networks settings out of advanced becuase
depending on what you select for your subnetwork the ability to choose ipalias
and the other settings changes.

This change allows you deselect a node subnet so you can create a subnetwork
automatically.

rancher/rancher#21079
2019-11-07 14:06:12 -07:00
Westly Wright 1b192be926
Merge pull request #3358 from codyrancher/security-options
[WIP] Display security options when editing GKE cluster
2019-10-21 09:42:07 -07:00
Cody Jackson 6718c4886e Addressing a number of ember deprecations
- Moved from Ember.$() to importing jquery.
- Moved from fn().on() to on(fn())
- Moved from fn().observes() to observer(fn())

This got /g/clusters from 27 warnings to 5 warnings for me.
2019-10-03 10:53:36 -07:00
Cody Jackson df754f6f8f Display security options when editing GKE cluster
We want the user to be able to see the security options that were
selected even if they can't be edited when editing the cluster.

We had to extract and infer the selected options given the oauthScopes.
It would be better if our API could more closely reflect our fields.

rancher/rancher#19070
2019-09-16 16:13:45 -07:00
loganhz c4dd1bea09 Fix hosted k8s cluster k8s version issue
https://github.com/rancher/rancher/issues/22216
2019-08-17 09:03:22 +08:00
loganhz 72d594d5c9 Support GKE regional or zonal clusters
https://github.com/rancher/rancher/issues/22045
2019-08-14 16:54:34 +08:00
loganhz 8b62d5e625 Fix gke k8s version issue
https://github.com/rancher/rancher/issues/22117
2019-08-12 18:53:56 +08:00
Westly Wright 75f74fe787
match translation changes from rke to gke and aks 2019-07-16 10:15:38 -07:00
Westly Wright 2a66489f83
New cluster launch page
Refactor and decouple launch cluster

adds new routes for selecting cluster, selecting cluter template, and launching
cluster

Add first version of cluster template selection logic

WIP - First version of cluter-template resource pages & components

cluster template index

adds cru-cluster-template

save cluster template and cluster template revision

refactor rke cluster driver and add rke cluster driver to clust temp

add cluster template revision page

template revision changes

more questions

refactor cluster networking into component

cluster template questions components

first itteration of working add question

fixups for ct and ctr's

general fixes

quick revision select on new revision page

Move name, expose ctr name, move ctr source

Refactor ct/ctr table to use grouped form

share member added

single template no revisions rows

translations

translation changes

css toggle

css toggle on all elements

inline override

initial apply cluster template

initial show or lock when applying a cluster template

validation bug

first run at windows support overrides

abstract check override with component that yields

add check for override to most sections

bulk remove cluster template revision

more check override

handle errors better for ctrs

translations

bugs

add toggle to azure cloud provider

auth endpoint fix

computed override check and refactor

fixup question override inputs

remove cluster launch route

review fixups

cluster edit

fixup alias properties for overrides
2019-07-08 14:45:44 -07:00
loganhz e2763d4104 Fix gke node pool issue 2019-06-20 22:42:21 +08:00
Westly Wright 46e96c801a
Fix send action deprecations
send action deprecation warnings for form-key-value component

update all cancel actions

deprecations for ns quota component and action menu item

deprecations and formatting

sendAction deprecation form-node-selctor & formatting

sendAction deprecations for cru-persistent-volume & formatting

sendAction deprecations for form-scoped-roles & formatting

sendAction deprecations for telemetry-opt & formatting

sendAction deprecations for table-rows & formatting

sendAction deprecations for server-url & formatting

sendAction deprecations for cru-config-map & formatting

sendAction deprecations for workload-row & formatting

sendAction deprecations for cru-volume & formatting

sendAction deprecations for cru-persistent-volume-claim & formatting

fix issue with declaring dynmic keys on component.

sendAction deprecations for form-healthcheck & formatting

sendAction deprecations for node-selector-row & formatting

sendAction deprecations for new-edit-ingress & formatting

sendAction deprecations for form-node-affinity & formatting

sendAction deprecations for form-key-to-path & formatting

sendAction deprecations for new-catalog & formatting

sendAction deprecations for cru-storage-class & formatting

sendAction deprecations for project-resource-quota & formatting

sendAction deprecations for input-files & formatting

sendAction deprecations for node-row & formatting

sendAction deprecations for input-command & formatting

sendAction deprecations for form-ports

sendAction deprecations for new-edit & formatting

sendAction deprecations for form-image

sendAction deprecations for form-volume-row & formatting

sendAction deprecations for form-volumes & formatting

sendAction deprecations for form-scale & formatting

sendAction deprecations for container-logs & formatting

sendAction deprecations for cru-volume-claim-template

sendAction deprecations for pod-row & formatting

sendAction deprecations for source-custom-log-path & formatting

sendAction deprecations for step mixin & formatting

sendAction deprecations for pipeline-codemirror & formatting

sendAction deprecations for build-step & formatting

sendAction deprecations for build-stage & formatting

sendAction deprecations for pipeline-env-from & formatting

sendAction deprecations for log-view & formatting

sendAction deprecations for bitbucketserver-setting & formatting

sendAction deprecations for bitbucketcloud-setting & formatting

sendAction deprecations for form-recipient-item & formatting

sendAction deprecations for pipeline-selector-row & formatting

sendAction deprecations for policy-row & formatting

sendAction deprecations for other-role-row & formatting

sendAction deprecations for role-rule-row & formatting

sendAction deprecations for new-multi-cluster-app & formatting

sendAction deprecations for driver-digitalocean & formatting

sendAction deprecations for project-alert-row & formatting

sendAction deprecations for form-recipient-item & formatting

sendAction deprecations for cluster-alert-row & formatting

sendAction deprecations for alert-select & formatting

sendAction deprecations for storage-class-provisioner & formatting

sendAction deprecations for cluster-driver mixin

sendAction deprecations for node-driver mixin

sendAction deprecations for view-new-edit mixin

sendAction deprecations for host-registration & formatting

sendAction deprecations for form-labels-annotations & formatting

sendAction deprecations for huawei-user-labels & formatting

sendAction deprecations for form-user-labels & formatting

sendAction deprecations for principal-search & formatting

sendAction deprecations for form-namespace & formatting

sendAction deprecations for input-paste & formatting

sendAction deprecations for catalog-index & formatting

sendAction deprecations for searchable-select & formatting

sendAction deprecations for hover-dropdown & formatting

sendAction deprecations for container-shell & formatting

sendAction deprecations for input-yaml & formatting

sendAction deprecations for input-text-file & formatting

sendAction deprecations for sortable-thead & formatting

sendAction deprecations for form-ingress-rows & formatting

sendAction deprecations for input-password & formatting

sendAction deprecations for input-identity & formatting

sendAction deprecations for form-count & formatting

sendAction deprecations for form-members & formatting

sendAction deprecations for outside-click & formatting

sendAction deprecations for input-slider & formatting

sendAction deprecations for metrics-action & formatting

sendAction deprecations for banner-message & formatting

sendAction deprecations for driver-rke & formatting

sendAction deprecations for driver-import & formatting

sendAction deprecations for form-value-array & formatting

sendAction deprecations for cru-node-pools & formatting

sendAction deprecations for cru-cluster & formatting

sendAction deprecations for logging/new-edit & formatting

sendAction deprecations for login-x components & formatting
2019-03-29 10:58:08 -07:00
loganhz 9c9f1a1431 Show warning message when upgrade GKE k8s version
https://github.com/rancher/rancher/issues/19010
2019-03-19 10:38:52 +08:00
loganhz 1b9153b83e Change create GKE cluster default node size
https://github.com/rancher/rancher/issues/19003
2019-03-19 10:11:08 +08:00
loganhz fab4c9c961 Support upgrade GKE master version
https://github.com/rancher/rancher/issues/18966
2019-03-16 10:55:27 +08:00
n313893254 2274028002 Fix GKE cluster goes to updating after edit with no changes
https://github.com/rancher/rancher/issues/18853
2019-03-13 19:50:59 +08:00
n313893254 741a1fc14e Hide GKE field when upgrade form 2.1
https://github.com/rancher/rancher/issues/18464
2019-02-28 19:12:09 +08:00
n313893254 4f00df378a GKE - cannot provision a GKE cluster with custom access scope
https://github.com/rancher/rancher/issues/18226
2019-02-20 12:21:27 +08:00
n313893254 fd9a50faa4 UI: Ability to create private clusters in GKE https://github.com/rancher/rancher/issues/17991 2019-02-14 20:18:05 +08:00
n313893254 843f04ccfb GKE cluster: Additional Zones should be labeled correctly in the UI
https://github.com/rancher/rancher/issues/18072
2019-02-14 15:57:13 +08:00
n313893254 a9dde201b9 Update for review 2019-02-13 16:51:44 +08:00
n313893254 e0ab35e901 Add form-gke-taints https://github.com/rancher/rancher/issues/16412 2019-02-02 16:26:55 +08:00
n313893254 0c46dcf912 UI: Add option for selecting node image for a node pool in GKE https://github.com/rancher/rancher/issues/16412 2019-02-02 10:57:17 +08:00
n313893254 6ef2b9816f Hide the service account text for GCE
https://github.com/rancher/rancher/issues/13783
2018-12-17 17:13:48 +08:00
Westly Wright 786f5182a7
Consolidate version checking cluster logic
rancher/rancher#16113

remove experimental
2018-12-13 15:05:29 -07:00
loganhz 4bf5f89584 Expand the cluster options section for GKS and AKS
https://github.com/rancher/rancher/issues/16762
2018-12-11 19:02:30 +08:00
Westly Wright ce537d28d3
add new gke option 2018-08-03 15:49:08 -07:00
Westly Wright e2f3b4680b
Rename GKE fields
rancher/rancher#14639
2018-08-03 11:18:07 -07:00
Westly Wright 9f6774364a
New Params for EKS
rancher/rancher#14639
2018-07-20 14:24:50 -07:00
Vincent Fiduccia 93f922b92d
eslint --fix 2018-07-20 11:47:19 -07:00
Vincent Fiduccia 0686d4840d
Revert part of eslint fix 2018-07-16 17:50:16 -07:00
Westly Wright b47340e1e6
on cluster edit open cluster options
since this is likely what you're changing

rancher/rancher#14455
2018-07-13 10:22:13 -07:00
Westly Wright 877ed1f522
More lint files changes (see lib) 2018-07-11 14:06:27 -07:00
Vincent Fiduccia f7456ba4dd
Move meta apis 2018-06-27 15:53:52 -07:00
loganhz 5ced1bd093 Fix cluster issue
https://github.com/rancher/rancher/issues/12992
2018-04-24 18:08:27 +08:00
loganhz 99fa835e7d Move member error out of that section
https://github.com/rancher/rancher/issues/12381
2018-04-16 18:30:49 +08:00
loganhz 1c6e169f62 Enable GKE K8S 1.9
https://github.com/rancher/rancher/issues/12639
2018-04-16 18:30:49 +08:00
Vincent Fiduccia 866a829477
Watch for cluster readiness 2018-03-30 17:37:43 -07:00
Westly Wright c9a584f370
whitespace 2018-03-30 16:50:47 -07:00
loganhz 6304f8de9b Fix cluster issue
https://github.com/rancher/rancher/issues/12161
2018-03-21 14:17:59 +08:00
Vincent Fiduccia 1e8eff845f
Rearrange upgrade options 2018-03-04 00:25:42 -07:00
Vincent Fiduccia b506a745c6
api-store update, PSPs, DNS 2018-02-25 02:21:31 -07:00