Commit Graph

161 Commits

Author SHA1 Message Date
Cody Jackson ef63c2a9c6 Ensure the current Kubernetes version can display
The current kubernetes version wasn't being shown if it was no
longer a part of the supported versions when in view mode. Instead
the latest version was being displayed even if that wasn't what was
deployed. To resolve this we include the current version as one of
the choices if it's not present.

rancher/rancher#23465
2019-10-15 17:56:14 -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
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
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 01b07bdd9a
Fix azure required fields, rke templates option location 2019-08-30 17:49:20 -07:00
lvuch 59d3ffb8d4 cluster template to rke template 2019-08-29 21:31:20 -07: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 cf1195575b
Clear errors on click (rancher/rancher#22228) 2019-08-19 12:14:16 -07:00
Vincent Fiduccia b14c6501a6
Don't submit if there are errors 2019-08-15 17:24:39 -07:00
Vincent Fiduccia 440c9d1627
Missing RKE config error 2019-08-14 00:03:30 -07:00
Vincent Fiduccia d39b00ee22
Cluster template bugs 2019-08-13 17:28:17 -07: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 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
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 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 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 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
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
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
Westly Wright 531c112539
Add edit action to cluster template 2019-07-17 16:51:10 -07:00
Westly Wright 1b89c54bc9
fix consuming cluster template with localClusterAuthEndpoint 2019-07-16 12:23:33 -07:00