Commit Graph

1969 Commits

Author SHA1 Message Date
Westly Wright 139cfcd960
Remove valueIsPatchVersion check as its not needed here
rancher/rancher#25335
2020-03-10 10:58:39 -07:00
Westly Wright 35dbae4fdb
Adjust size of helm3 catalog icon
rancher/rancher#25850
2020-03-09 16:24:37 -07:00
Westly Wright 7a1e36edce
Merge pull request #3816 from westlywright/alert.slider.jquery.error
Input Slider Bug
2020-03-09 14:19:00 -07:00
Westly Wright 3a21d385bb
Target correct element for jquery on slider
rancher/rancher#25908
2020-03-09 14:10:48 -07:00
Westly Wright 67349d81fb
Merge pull request #3814 from codyrancher/upgrade-default-enabled
Ensure drain default is recognized and maxUnavailableWorker is enabled
2020-03-09 14:04:30 -07:00
Cody Jackson 850d7a5e65 Ensure drain default is recognized and maxUnavailableWorker is enabled
rancher/rancher#25732
rancher/rancher#25875
2020-03-09 12:13:41 -07:00
Westly Wright 65072d6ed1
sort k3s version same as rke k8s versions
rancher/rancher#25840
2020-03-09 12:07:38 -07:00
Westly Wright 3b4ca885d9
Drop direct value edit on args selector k3s-import
rancher/rancher#25860
2020-03-09 11:38:09 -07:00
Westly Wright 0300224503
Merge pull request #3809 from westlywright/wrong.k8sversion.cluster.edit
Refactor form-version init val method
2020-03-09 11:34:23 -07:00
Westly Wright 912dc006f0
Refactor form-version init val method
Improves the readabliity and ensures that if the initialVersion is good we use
that version rather that max version.

rancher/rancher#25335
2020-03-09 11:11:13 -07:00
Cody Jackson 46112ef9de Disable CIS scheduling for windows clusters
CIS scheduling isn't supported on windows clusters.

rancher/rancher#25864
2020-03-09 10:28:58 -07:00
Westly Wright c4a2829fb4
Add drain options to k3s imported clusters edit 2020-03-07 09:22:55 -07:00
Westly Wright 9f5430ed9d
Ensure nodelocal shows up in cluster create yaml view for rke
rancher/rancher#25811
2020-03-06 16:47:36 -07:00
Westly Wright f2b671da97
Merge pull request #3798 from codyrancher/rke-cis
Resolve RKE Template issue caused by CIS
2020-03-06 15:47:30 -07:00
Cody Jackson 79c283fd5e Resolve RKE Template issue caused by CIS
The profile helper methods were attached to the cluster model.
Unfortunately, the cluster isn't available when creating a new rke
template.

To resolve this I moved all of the cis helpers out of the cluster model
and utils and moved them into a cisHelpers service so they could be
used without access to the cluster itself.
2020-03-06 15:36:29 -07:00
Westly Wright b5bd4907fe
Fix cluster/project catalog ref check in helm3 check 2020-03-06 14:27:51 -07:00
Cody Jackson b5ac807e3c Integrated the backend of cis with alerts 2020-03-06 12:20:41 -07:00
Cody Jackson f58807bff1 Wired up the scheduling for cis 2020-03-06 12:16:06 -07:00
Cody Jackson 9dddea78c9 Adding support for N/A state and creating a better profile 2020-03-06 12:15:27 -07:00
Cody Jackson 355d592051 Large refectoring of CIS to improve UX
- Added Set Alert button
  - This will set the appropriate options for cis
- Added Set Schedule button
  - This will scroll the settings into view
- Added a modal so profiles can be picked
2020-03-06 12:15:27 -07:00
Cody Jackson 940e0cd668 Add CIS scheduling to rke configuration
We wanted to make CIS scheduling configuration a part of
a cluster's RKE config.

rancher/rancher#25347
2020-03-06 12:15:27 -07:00
Westly Wright a823836245
Add helm3 logo to all the places 2020-03-06 09:25:43 -07:00
Westly Wright d522c0d1af
add helm version selector to catalog modal 2020-03-05 16:40:03 -07:00
Westly Wright fd56d6289c
add helm3 check to global catalog rows 2020-03-05 16:23:40 -07:00
Westly Wright 3f0e977f87
change single to double quotes 2020-03-05 15:40:44 -07:00
Westly Wright 98587cdd53
Rollback pre color changes 2020-03-05 09:18:54 -07:00
Westly Wright 501358d6c9
only show k3s ver dropdown if more that one version 2020-03-04 11:13:40 -07:00
Westly Wright 1f42be105c
Update k3sConfig shape based on new api design
rancher/rancher#25720
2020-03-04 10:21:51 -07:00
Westly Wright 9d4fc7a3d8
Merge pull request #3784 from codyrancher/extra_args
Change the way extra_args are excluded
2020-03-04 09:32:56 -07:00
Cody Jackson d4d03a4239 Change the way extra_args are excluded
The original intent of ecluding extra_args was actually
to exclude the children of extra_args from being
removed when empty according to https://github.com/rancher/rancher/issues/24794#issuecomment-570043854.

This will now properly handle that intent while also
removing empty extra_args properties.

rancher/rancher#25612
2020-03-03 14:06:11 -07:00
Cody Jackson 392a078fc7 Use the drain property instead of inferring
Was previously using the presence of nodeDrainInput to determine
the value of drain. Drain is now a part of the backend so I'm using
that value instead of inferring.

rancher/rancher#25732
2020-03-03 10:15:08 -07:00
Westly Wright 1d39e01581
Merge pull request #3780 from codyrancher/default-for-all
Prevent default from overwriting the existing value of max_unavailable_controlplane
2020-03-03 08:48:43 -07:00
Westly Wright fdfdbcc942
Merge pull request #3779 from westlywright/sort.node.templates
sort node templates select options in cluster create
2020-03-03 08:48:19 -07:00
Cody Jackson 0e2d3ddabd Prevent default from overwriting the existing value of max_unavailable_controlplane
rancher/rancher#25670
2020-03-02 17:05:35 -07:00
Westly Wright 20caf3e8df
sort node templates select options in cluster create
rancher/rancher#25316
2020-03-02 15:49:51 -07:00
Cody Jackson 53699582dc Ensure rke upgrade strategy defaults are used
Now load the rke upgrade strategy defaults and use them
appropriately after they've been loaded.

rancher/rancher#25501
2020-03-02 14:17:08 -07:00
Cody Jackson aee8a79328 Rename maxUnavailable to maxUnavailableWorker
The backend renamed maxUnavailable so we're doing the same.

rancher/rancher#25670
2020-03-02 13:46:17 -07:00
Westly Wright a9ba72a73a
Only show rotate action in tooltips and banners if exists on model
rancher/rancher#25563
2020-02-28 15:44:26 -07:00
Westly Wright 173b544fee
Add versions to k3s imported cluster 2020-02-27 11:13:16 -07:00
Westly Wright ee34955bee
set config field for k3s imported cluster and add k3sConfig if ! 2020-02-27 11:12:21 -07:00
Westly Wright 02b195534b
fix save action and change version to text input for MVP 2020-02-26 09:37:40 -07:00
Westly Wright c4cc97c64a
Expose node info on K3S Cluster Upgrade 2020-02-25 15:31:54 -07:00
Westly Wright f718b13afe
add node args component 2020-02-25 14:25:18 -07:00
Westly Wright 4eb82ace5b
Expose k3sConfig on k3s imported cluster edit
rancher/rancher#25401
2020-02-25 12:59:08 -07:00
Westly Wright 191ebd31dd
Expose k3s node args and env vars for imported k3s clusters
rancher/rancher#25400
2020-02-25 10:42:09 -07:00
Westly Wright 21c04fe108
Merge pull request #3721 from westlywright/shibboleth.ldap.auth
Shibboleth.ldap.auth
2020-02-13 09:18:59 -07:00
Westly Wright 56b53d9eff
Merge pull request #3745 from westlywright/cluster.name
Ensure Name in Cluster Create Yaml is Used
2020-02-06 09:17:55 -07:00
Westly Wright 43849eaca4
Add shibboleth auth with ldap search
rancher/rancher#24957
2020-02-05 15:11:24 -07:00
Westly Wright a3f1bc996b
Fix bugs that prevent cluster cr8 when editing yaml
Adds an empty name to the cluster model creation so it isn't missing if the user
opens yaml editor and knows they should input it
Removes incorrect next usage
Adds logic to handle overriding the name in name-desc when updateYaml is called
Updates form-name-description model observer to watch the two props it actually
cares about
Fixes bug in removeEmpty util which would remove excludedKeys during filter phase

rancher/rancher#24971
2020-02-05 15:03:13 -07:00
Cody Jackson 143bbe8738 Add zero downtime upgrade options to rke driver
This required refactoring the drain modal into a reusable component
since these fields were going to be used in more than one place.

rancher/rancher#24110
2020-02-05 12:58:54 -07:00