Commit Graph

438 Commits

Author SHA1 Message Date
Westly Wright bc00ac6a72
Change windows docker version for custom clusters
rancher/rancher#23219
2019-10-03 16:46:38 -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
Westly Wright 521ed6ca09
wireup ovveride row value to form value when cloning rke template
When cloning a RKE template revision with overrides the values of the override
in the form were not reflected in the overrides section at the bottom of the
page because the alias on the question was never created.

rancher/rancher#23056
2019-09-25 13:11:51 -07:00
Westly Wright 59f7c37aca
Hide 'Custom Cluster Overrides' section when launching cluster
`Custom Cluster Overrides` was originally designed when we allowed users to
create custom overrides for items not in the UI but since that was removed the
template consumer will only ever see overrides for sections we have built in
and when launching we never display the overrides for ones with UI components.

rancher/rancher#23069
2019-09-25 10:17:42 -07:00
loganhz 5be694180d Update aks text 2019-09-25 10:28:08 +08:00
Westly Wright 63aef3fa30
change other occurrences of model.cluster.clusterTemplateRevisionId 2019-09-23 14:45:28 -07:00
Westly Wright 290a1f51f6
Attach correct value to be modified to cluster template id select
When consuming a cluster template selection of the template id from the drop
down didn't change the cluster template revision becuase the UI component was
using the readOnly value. Attached the selection to the correct value so the
action floats up (DDAU).

rancher/rancher#22977
2019-09-23 14:19:01 -07:00
Cody Jackson 3370aa9ca0 Making the cluster template revisionId saveable.
When editing a cluster that was created with cluster template
the cluster template revision couldn't be saved.

The revisionId was stored as a component member variable instead
of as a part of the model. It needed to be stored as part of the
model in order for the NewOrEdit to see the changes and save
them. I went ahead and referenced the model directly everywhere
in the component and removed the component member variable.

rancher/rancher#22920
2019-09-19 11:47:48 -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
Vincent Fiduccia 9621b09fb0
Don't overwrite cluster config with answers on edit (rancher/rancher#22085) 2019-09-11 01:55:41 -07:00
Vincent Fiduccia 31d51cbb37
Merge pull request #3337 from gliptak/patch-1
Add Amazon EKS 1.14
2019-09-06 12:34:43 -07:00
Gábor Lipták bb28a7aa7f
Add Amazon EKS 1.14 2019-09-06 07:45:10 -04:00
Gábor Lipták 2536b39d47
Add Bahrain/me-south-1 to EKS regions
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2019-09-04 14:20:11 -04:00
Gábor Lipták 75822c58ff
Default to m5.large for EKS 2019-09-03 14:47:55 -04:00
Vincent Fiduccia 01b07bdd9a
Fix azure required fields, rke templates option location 2019-08-30 17:49:20 -07:00
Vincent Fiduccia e5be3775ba
Merge pull request #3318 from lvuch/lh-22529
cluster template to rke template
2019-08-30 12:22:29 -07:00
lvuch 59d3ffb8d4 cluster template to rke template 2019-08-29 21:31:20 -07:00
rmweir 6c7e40477a Add ap-east-1 to eks region dropdown 2019-08-29 18:04:36 -07:00
Vincent Fiduccia 17737e4ac8
Merge pull request #3311 from n313893254/22500
[AKS] Fix network mode display wrong when editing
2019-08-29 09:46:25 -07:00
Vincent Fiduccia e779e3e662
Spelling 2019-08-29 09:45:55 -07:00
Vincent Fiduccia c94b947ed2
Spelling 2019-08-29 09:45:28 -07:00
Vincent Fiduccia eeb6fd8a34
Merge pull request #3303 from loganhz/win
[2.3.0]Disable Windows in k8s 1.14
2019-08-29 09:16:54 -07:00
n313893254 daf848e82c [AKS] Fix network mode display wrong when edit
https://github.com/rancher/rancher/issues/22500
2019-08-29 15:42:58 +08:00
Vincent Fiduccia 44a34702b0
Merge pull request #3289 from n313893254/22137
[TKE] Add diskConfigSet and fix subnetId
2019-08-27 13:12:33 -07:00
loganhz 86096ee6bc Windows 2019-08-27 18:21:40 +08:00
n313893254 05758d273b Template Lint 2019-08-23 16:58:25 +08:00
n313893254 4b451a2f0f Fix TKE alert and get max and min disk size from TKE 2019-08-23 16:56:11 +08:00
n313893254 12f8822119 TKE support k8s version 1.12.4 2019-08-23 15:15:47 +08:00
n313893254 295258fa30 Add diskConfigSet and fix subnetId
https://github.com/rancher/rancher/issues/22137
2019-08-23 12:28:39 +08:00
n313893254 ef6ac0189a Fix [Windows] Unable to set windows node advanced options
https://github.com/rancher/rancher/issues/22059
2019-08-22 13:45:31 +08:00
Vincent Fiduccia 0a1c335024
Merge pull request #3284 from n313893254/22294
Fix CCE availableZones doesn't change when using custom region
2019-08-21 15:25:07 -07:00
n313893254 ddc81ec51b Fix CCE availableZones doesn't change when using custom region
https://github.com/rancher/rancher/issues/22294
2019-08-21 18:13:12 +08:00
Vincent Fiduccia cf1195575b
Clear errors on click (rancher/rancher#22228) 2019-08-19 12:14:16 -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
Vincent Fiduccia b209d16efc
Unsupported vs not allowed 2019-08-16 13:48:42 -07:00
Vincent Fiduccia b14c6501a6
Don't submit if there are errors 2019-08-15 17:24:39 -07:00
Vincent Fiduccia 184991de28
Merge pull request #3249 from loganhz/gke
Support GKE regional or zonal clusters
2019-08-15 10:12:17 -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
Vincent Fiduccia 440c9d1627
Missing RKE config error 2019-08-14 00:03:30 -07:00
Vincent Fiduccia 6bdabde12c
Merge pull request #3241 from vincent99/master
Cluster template
2019-08-13 17:33:32 -07:00
Vincent Fiduccia d39b00ee22
Cluster template bugs 2019-08-13 17:28:17 -07:00
lvuch c351f832ea help icons 2019-08-13 12:40:46 -07:00
Vincent Fiduccia 1084cd9029
Merge pull request #3236 from loganhz/win
Windows cluster template
2019-08-13 10:33:01 -07:00
loganhz a215d70a71 Windows cluster template
https://github.com/rancher/rancher/issues/21557
2019-08-13 15:38:39 +08:00
lvuch e2c696bf78 20009, 21472, 21633 plus login pic fix 2019-08-12 14:54:57 -07:00
Vincent Fiduccia 075becbc3d
Merge pull request #3226 from loganhz/gke-version
Fix gke k8s version issue
2019-08-12 11:31:21 -07:00
loganhz 8b62d5e625 Fix gke k8s version issue
https://github.com/rancher/rancher/issues/22117
2019-08-12 18:53:56 +08:00
loganhz be627792f9 Refactor EKS node ASG-size fields
https://github.com/rancher/rancher/issues/22097
2019-08-12 16:57:07 +08:00
Westly Wright 8001f80119
lint 2019-08-09 16:12:04 -07:00
Westly Wright 989be5923e
Add check for rke config in yaml editor and error if it nil
rancher/rancher#22076
2019-08-09 16:03:00 -07:00
Westly Wright b9e44dbd39
Disable cluster template selection change on edit cluster
rancher/rancher#22043
2019-08-09 10:36:57 -07:00
Westly Wright 9c81011e0b
fix edit bug when saving from yaml 2019-08-09 09:12:07 -07:00
Westly Wright 636aee8d1a
add back yaml view but make readOnly if view 2019-08-09 09:12:07 -07:00
Westly Wright 107e86ad12
Cluster template revision detail page
rancher/rancher#23734
2019-08-09 09:11:53 -07:00
loganhz a341022d2e Support China AKS
https://github.com/rancher/rancher/issues/21668
2019-08-08 10:45:26 +08:00
Westly Wright 705a863c58
Fix private registry display and default issues
rancher/rancher#21567
2019-08-07 14:48:06 -07:00
Westly Wright 2bc2981321
Fix .x version being pushed into list on edit cluster
rancher/rancher#22021
2019-08-07 12:07:53 -07:00
Westly Wright 8449a6f5b1
Prevent selecting ct with lower kube version than current cluster
rancher/rancher#21756
rancher/rancher#22018
2019-08-07 10:57:51 -07:00
Westly Wright 814a04bdce
allow k8s version to check if editing only when using cluster templ 2019-08-07 09:29:43 -07:00
Westly Wright c44e9ca6e6
Add date created & default label to the cluster temp revision select 2019-08-07 09:29:43 -07:00
Westly Wright 62e7865568
mark cloud provider fields that are required as required in override
which can't be unchecked because the config will require an entry

rancher/rancher#21616
2019-08-07 09:29:43 -07:00
Westly Wright 80fc4b6efb
Fix issue when edit cluster and no access to cluster template
rancher/rancher#21473
2019-08-07 09:29:43 -07:00
Westly Wright 464acc4648
refactor new required error check into own function 2019-08-02 14:41:34 -07:00
Westly Wright 4b9fa17425
split cluster template/revisions into sep dropdowns cluster create
rancher/rancher#21891
2019-08-02 13:48:14 -07:00
Westly Wright c4392a5ef9
allow users to create cluster template with azure fields empty
rancher/rancher#21759
2019-08-02 11:53:52 -07:00
Westly Wright 461700a2a9
fix cluster/cluster template validation
rancher/rancher#21616
2019-08-02 11:53:52 -07:00
loganhz 73336b817f Use windowsPreferedCluster for windows cluster 2019-08-02 06:20:26 +08:00
Westly Wright d688b427ff
hide edit yaml when a cluster template revision is selected 2019-07-31 15:11:58 -07:00
Westly Wright 5f73492b33
edit as yaml on cluster edit
rancher/rancher#21866
rancher/rancher#23576
2019-07-31 15:11:58 -07:00
Westly Wright 53a31f7a3d
fix bug applying default values of cluster template kube version
rancher/rancher#21721
2019-07-31 15:11:58 -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 cba95c6470
cluster template revision enabled/disabled error handler
rancher/rancher#21699
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
Westly Wright ce42f8c0c2
Fix bug where uiOverride questions were showing up on new revision
rancher/rancher#21758
2019-07-30 09:26:21 -07:00
Westly Wright 5a97de9bfe
remove advanced from amazoneks
rancher/rancher#19783
2019-07-30 09:26:21 -07:00
Westly Wright e99ddbe731
hide cluster template radio select on step 2 of custom create 2019-07-30 09:26:21 -07:00
Westly Wright a412a835be
Hide yaml editor on custom cluster past step 1
rancher/rancher#18879
2019-07-30 09:26:21 -07:00
Westly Wright 654d125b17
fix incorrect version selection bug with patch version selection
rancher/rancher#21715
rancher/rancher#21721
2019-07-30 09:26:21 -07:00
Westly Wright 507a5b21fb
Remove patched kube version display on cluster create
rancher/rancher#21615
2019-07-30 09:26:21 -07:00
Westly Wright 72153bda97
lint 2019-07-29 09:58:13 -07:00
Westly Wright 97992bbc36
edit yaml working 2019-07-29 09:49:02 -07:00
Westly Wright 04a0eaf783
more refactoring to get switch between yml/form 2019-07-29 09:49:02 -07:00
Westly Wright bb2c2af9c2
First itteration of cluster template yaml
rancher/rancher#21579
2019-07-29 09:49:02 -07:00
loganhz 5be5abfded Support taints 2019-07-26 19:49:31 +08:00
Vincent Fiduccia 33d957d5bb
S3 backup folder 2019-07-24 11:58:58 -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 f2b42a8346
lint 2019-07-22 09:50:01 -07:00
Westly Wright b3a324bfb9
Enforce global cluster templates except for global admin 2019-07-22 09:50:01 -07:00
loganhz b547b8f0e7 Set 1.13 as default Kubernetes version for EKS 2019-07-22 08:37:43 +08:00
Westly Wright aaa63fc787
lint 2019-07-19 09:35:17 -07:00
Westly Wright 923dec8c5c
if user switches to using template expand all in expandos 2019-07-19 09:23:48 -07:00
Westly Wright 1073f77b9c
Private registry override working 2019-07-19 09:23:48 -07:00
Westly Wright 8ede0b7fdf
Fix backup config target with ui defined override question
rancher/rancher#21510
2019-07-19 09:23:48 -07:00
Tani Fiduccia a37f6aa400 Text fixes and alignment for Add Cluster 2019-07-18 17:24:31 -07:00
Westly Wright 531c112539
Add edit action to cluster template 2019-07-17 16:51:10 -07:00
Westly Wright 4e9b36ae45
edit cluster launched with cluster template 2019-07-17 10:26:58 -07:00
Westly Wright 1b89c54bc9
fix consuming cluster template with localClusterAuthEndpoint 2019-07-16 12:23:33 -07:00
Westly Wright 75f74fe787
match translation changes from rke to gke and aks 2019-07-16 10:15:38 -07:00
Westly Wright afc4acdeeb
rearrange input sections for rke based clusters 2019-07-16 10:15:38 -07:00