Commit Graph

11172 Commits

Author SHA1 Message Date
Neil MacDougall 37c9e7c466 Add page to hide when embedded 2021-05-06 09:56:02 +01:00
Neil MacDougall e6e12bc8e3 Fix lint issue 2021-05-06 09:56:02 +01:00
Neil MacDougall df136e0d3a Add ability to hide elements when embedded 2021-05-06 09:56:02 +01:00
Neil MacDougall 7c5db77f4b Allow theme to be changed 2021-05-06 09:56:02 +01:00
Neil MacDougall 99a333458c Add url to before navigation event 2021-05-06 09:56:02 +01:00
Neil MacDougall 5aa3e8ff72 Fix lint issue 2021-05-06 09:56:02 +01:00
Neil MacDougall 0ddcea51ab Add support for Embedding in the Dashboard UI 2021-05-06 09:56:02 +01:00
Westly Wright 578ab15d68
Merge pull request #4616 from westlywright/master.sec.update.xmlhttp
Dependency Update
2021-05-05 10:36:39 -07:00
Westly Wright 1c00dca733
dep updates 2021-05-05 10:30:50 -07:00
Westly Wright 9c27103053
Merge pull request #4615 from westlywright/bug.gke.labels.sync
GKE Sync Labels Bug
2021-05-04 14:09:42 -07:00
Westly Wright 8638f50301
catch labels case for gke config syncing
added labels to the diffUpstreamSpec comparision exclusion. we already check for equality (eg no changes) in the JSON string compare higher in the function so that handeld the labels that were equal but we need to exclude the labels from further comparison becuase if they are different in the user config, meaning the user changed them, then we know we need to send the entire labels object to update. If we didn't do this the comparison fails because we're only comparing the differences one way not both and removals on the map shorts the comparison functions further on in the function.

rancher/rancher#32433
2021-05-04 14:01:33 -07:00
Westly Wright b7d30b4ea6
Merge pull request #4613 from westlywright/bug.custom.command.edit.yaml
Custom Command Bug
2021-05-03 21:03:19 -07:00
Westly Wright 2fa821de9a
lint 2021-05-03 20:59:01 -07:00
Westly Wright af8ad33f55
check windows prefered before save for yaml view
rancher/rancher#32522
2021-05-03 20:51:57 -07:00
Westly Wright 477cb57cc4
simplify edit as yaml shown logic
only show it when we're at step 1

rancher/rancher#32521
2021-05-03 20:51:57 -07:00
Westly Wright 144cdf88ab
Merge pull request #4610 from westlywright/bug.gke.clusterId.calls.secu
GKE Proxy Calls Update
2021-05-03 17:12:28 -07:00
Westly Wright 727b160b13
update gke proxy calls to send cluster id if editing 2021-05-03 16:58:25 -07:00
Westly Wright caa794ec1f
Merge pull request #4608 from westlywright/bug.gke.cluster.labels
Bug in v2 cluster config compare
2021-05-03 15:16:45 -07:00
Westly Wright 852e589130
Fix bug in v2 cluster config compare
if the upstream spec is not an empty object but our config is then we need to send the empty object because this indicates the user removed contents of a map.

rancher/rancher#32433
2021-05-03 14:56:30 -07:00
Westly Wright b3edc2fa21
Merge pull request #4607 from westlywright/bug.gke.cluster.labels
GKE V2 Cluster Labels Editable
2021-05-03 12:04:09 -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 38c345424d
fix partial diff updates for v2 clusters
When I refactored the save logic that performed a diff to provide only the changed deltas for GKE I missed the returning the options and supering that to the parent save which in turn only sends those updates.

rancher/rancher#32441
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 339814f537
Merge pull request #4596 from westlywright/bug.gke.np.labels
Bug Initial Map Node Pool Labels
2021-04-29 15:22:56 -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 a2a0d4251c
Merge pull request #4595 from westlywright/bug.aws.nt.mach.type
AWS Node Template `me` Region Changes
2021-04-29 10:59:34 -07:00
Westly Wright 1c5a1a4719
Merge pull request #4593 from westlywright/bug.gke.np.labels
GKE Node Pool Labels
2021-04-29 10:39:21 -07:00
Westly Wright eb1560158a
change aws node template instance type for `me` regions
rancher/rancher#31980
2021-04-29 10:35:20 -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 513a9479d5
Merge pull request #4591 from westlywright/bug.imported.release.channels
GKE Imported Cluster Lookup
2021-04-29 08:46:27 -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 1149f6923c
Merge pull request #4588 from westlywright/bug.gke.cluster.description
GKE Cluster Description
2021-04-28 15:55:55 -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 001e949997
Merge pull request #4586 from westlywright/bug.gke.import.reg.version
Custom Cluster Command Warning
2021-04-28 13:41:41 -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 908975cd10
Merge pull request #4583 from westlywright/bugs.gke
Minor GKE Bugs
2021-04-27 11:06:04 -07:00
Westly Wright a105ef6476
Min/Max Node counts should be null 2021-04-27 11:00:06 -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 41cec16527
Merge pull request #4578 from westlywright/bug.gke.labels
GKE V2 Update secondary range labels
2021-04-27 08:42:39 -07:00