Commit Graph

33 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 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 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 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
loganhz 1b9153b83e Change create GKE cluster default node size
https://github.com/rancher/rancher/issues/19003
2019-03-19 10:11:08 +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 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
Westly Wright 786f5182a7
Consolidate version checking cluster logic
rancher/rancher#16113

remove experimental
2018-12-13 15:05:29 -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 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 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
Vincent Fiduccia 181b350b19
Cluster edit, Packet driver 2018-02-20 02:26:56 -07:00