Commit Graph

2880 Commits

Author SHA1 Message Date
Westly Wright 727b160b13
update gke proxy calls to send cluster id if editing 2021-05-03 16:58:25 -07:00
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 26683cc127
Merge pull request #4603 from westlywright/bug.imported.release.channels
GKE V2 Updates
2021-04-30 11:13:20 -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 2a866b5fb0
Merge pull request #4600 from westlywright/bug.imported.release.channels
Rework GKE versions missing initial version logic
2021-04-30 09:25:20 -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 760fc92be3
Merge pull request #4599 from westlywright/bug.rke.form.members
Form Members Reset Bug
2021-04-29 15:23:29 -07:00
Westly Wright 0b24e2ff2b
reset formmembers member array on destroy not done
if a cluster errors out and user tries to save again they'll see an error that they need at least one owner role. moving to destory ensures we're leaving the route.

    rancher/rancher#32447
2021-04-29 14:25:22 -07:00
Westly Wright 0667e1e6dd
fix initial labels gke node pool
rancher/rancher#32435
2021-04-29 13:42:41 -07:00
Westly Wright 0682ef0326
fix gke node pools labels ary -> map
rancher/rancher#32435
2021-04-29 09:51:00 -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 821bf6460a
Add warning to custom command that rancher needs nodes w all roles
rancher/rancher#32404
2021-04-28 11:55:41 -07:00
Westly Wright f60ddd5e91
remove on init wrapper around autoscale observer
was not needed any longer and it caused edited nps to reset the values on init.

rancher/rancher#32359
2021-04-27 10:42:27 -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 ea89a726d7
rework showManagementWarning to computed property only imported 2021-04-26 12:00:56 -07:00
Westly Wright 0770ea31a0
Add warning for imported clusters and np managment var
rancher/rancher#32282
2021-04-26 11:40:03 -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
Cody Jackson b2a25067e2 Now we always show the command for custom import clusters
We would spuriously skip the command step because we skipped post save and occasionally the cluster would have its state set to active which is an indication to skip the command.

rancher/rancher#32242
2021-04-22 16:15:30 -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 a8952b2e20
adds links to GKE cluster docs
rancher/rancher#32030
2021-04-21 16:02:11 -07:00
Westly Wright 80c47468fe
remove reverted params in input cidr 2021-04-21 15:41:08 -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 4fc2d9e52c
Update docs base logic for 2.5+
Addeded docsBase to translations that were missing it as well.

rancher/rancher#31860
2021-04-20 14:07:14 -07:00
Westly Wright a9832c02ce
Merge pull request #4555 from westlywright/bug.install.script
Display default docker engine script version
2021-04-19 16:19:34 -07:00
Westly Wright 0141eba838
Merge pull request #4553 from westlywright/bugs.gke
GKE V2 IP Allocation CIDR Validation
2021-04-19 16:18:28 -07:00
Westly Wright 9bd5e8073b
Try to parse version out of engineInstallUrl for better ux
rancher/rancher#31216
2021-04-19 16:11:46 -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 5b81ce3728
reset networkpolicy if flannel provider is chosen
rancher/rancher#32106
2021-04-19 09:44:45 -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 8e95ca821b
more node pool autoscale changes 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 20b2b518e9
change defaults on gke v2 np autoscale config to 1, 3
rancher/rancher#32169
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