Commit Graph

2664 Commits

Author SHA1 Message Date
Vincent Fiduccia 22db0ef542
Merge pull request #4006 from codyrancher/github-scopes
Removing the scope parameter from github oauth
2020-05-23 16:51:09 -07:00
Cody Jackson 413e1cd021 Removing the scope parameter from github oauth
rancher/rancher#27175
2020-05-22 16:54:48 -07:00
Westly Wright a427b345af Expose new ui setting for issues email link
rancher/rancher#27047
2020-05-22 15:08:45 -07:00
Bastian Hofmann 1a17118e19 Fix JS failure when searching through catalog apps if an app is missing the optional description metadata field 2020-05-22 16:45:53 +02:00
GGGitBoy 882bbe12bc Add k8s version for TKE 2020-05-22 13:13:36 +08:00
Cody Jackson 4be1b9c1c8 Make the default scheduledClusterScan.enabled to be a boolean
Enabled was being set to 'false' instead of false but this was being
masked by the execution of initScheduledClusterScan. When the
KDM values werent present initScheduledClusterScan was doing
an early exit and no longer masking the poor 'false' default value.

This will further improve the earlier solution for rancher/rancher#26996.
2020-05-20 14:03:13 -07:00
Cody Jackson 5ab4d108b4 Improving how we handle a failure to get a scanConfig
It appears that sometimes the cisscanconfig schema isn't present (I haven't
been able to consistently reproduce) which causes the UI to prevent the user
from saving changes to their cluster. Though I think this could be fixed
by the backend I'd like to stop the bleeding and have the UI handle this
better.

So there's two things that are here to help out.
1. I added a default value to the initial empty object just in case it never gets set
elsewhere.
2. If an exception is thrown while creating the scanConfig
we now just prevent the schedule from being set since it wouldn't work
anyway.

Either of these should allow saving to proceed.

rancher/rancher#26996
2020-05-20 09:16:12 -07:00
Westly Wright 7683fe057a
fix incorrectly cased import
rancher/rancher#26908
2020-05-19 09:21:54 -07:00
Westly Wright 8413366ca3
Merge pull request #3964 from westlywright/feature.limit.eks.upgrades
Prevent EKS K8s version upgrades > 1 minor version
2020-05-18 14:47:07 -07:00
Westly Wright a3f933ed27
Prevent EKS K8s version upgrades > 1 minor version
rancher/rancher#26908
2020-05-18 11:04:45 -07:00
Rich Edelman 0926d578e1 Add Cape Town (af-south-1) as a supported AWS region. 2020-05-12 16:05:30 +00:00
吴远翔 04ff5d4ae1 fix(MTU form): can not set to 0 after blur 2020-05-11 13:11:35 +08:00
Westly Wright 881b197281
rollback upgrade btn changes
rancher/rancher#26810
2020-04-27 09:46:22 -07:00
Westly Wright f830812d7e
Merge pull request #3931 from jlamillan/jlamillan/oke_driver_builtin
Add Oracle Container Engine (OKE) as a builtin custom cluster driver.
2020-04-22 17:38:55 -07:00
Jesse Millan de9d024dce
Add support for OCI cloud credentials and node template. 2020-04-22 12:30:25 -07:00
jesse.millan 84410805f2
Add Oracle Container Engine (OKE) as a builtin cluster driver. 2020-04-22 12:17:49 -07:00
Westly Wright 1abb4bd203
escape any html links that may have been placed in banner text 2020-04-21 14:47:06 -07:00
Westly Wright 2509327067
Add new classifier banner component
rancher/rancher#25694

add ui-banners to allowed settings

move banners to settings

refactor names on settings component

update ui-banners translation text
2020-04-21 14:34:24 -07:00
Westly Wright a66879ca47
disable upgrade btn if the app is up to date 2020-04-17 13:56:24 -07:00
Westly Wright 3e61dabb9f
Longhorn storage class params are not editable
rancher/rancher#26617
2020-04-16 11:27:52 -07:00
Westly Wright f98e8763ae
change done button to cancel when user can't edit cluster
rancher/rancher#26491
2020-04-15 11:26:27 -07:00
Westly Wright e963cddb45
lint 2020-04-15 11:19:52 -07:00
Westly Wright 3f3715f3e3
make catalog app for longhorn use consistent name
so users can only launch one longhorn catalog app per cluster

rancher/rancher#26627
2020-04-15 11:02:31 -07:00
Westly Wright 900e899267
refactor longhorn provisioner params
rancher/rancher#26617
2020-04-14 16:31:43 -07:00
Westly Wright aabf5976cd
Change volume expansion for longhorn storage class
rancher/rancher#26617
2020-04-14 14:18:41 -07:00
Westly Wright 0cbdcd2cc2
Update longhorn storage class to use correct provisioner
rancher/rancher#26617
2020-04-14 13:49:15 -07:00
Westly Wright c704e706e3
template error 2020-04-13 10:32:30 -07:00
Westly Wright 8bf48fa308
Add case to handle cluster temp enf on and no clust temp
rancher/rancher#26491
2020-04-13 09:59:17 -07:00
Westly Wright 87204118e2
Add additional helm3 id to catalog constants and update checks
rancher/rancher#26560
2020-04-10 11:57:46 -07:00
Westly Wright 9400ca31e7
If etcd component status unavailable, grey out
rancher/rancher#26402
2020-04-09 10:37:25 -07:00
Westly Wright e8eee13c37
Merge pull request #3772 from loganhz/eks-china
[Master] Support EKS cn-northwest-1 and cn-north-1
2020-04-07 10:27:23 -07:00
loganhz fa42674a8f Support EKS cn-northwest-1 and cn-north-1
https://github.com/rancher/rancher/issues/25613
2020-03-31 00:15:23 +08:00
phantasia15 35527db812
Remove unnesscary permission request for g suite 2020-03-27 15:16:28 +07:00
Westly Wright 50ad47f34b
Remove sort versions for EKS since we control versions array
rancher/rancher#26296
2020-03-26 15:48:09 -07:00
Westly Wright f1770c2046
Merge pull request #3880 from westlywright/eks.null.subnets
EKS Empty Subnets
2020-03-26 12:34:14 -07:00
Westly Wright 5654907ae6
Merge pull request #3878 from westlywright/eks.changes
Drop EKS k8s 1.12 from versions list
2020-03-26 12:33:29 -07:00
Westly Wright b16e7a9565
set subnets to empty array if it's null until backend fix
rancher/rancher#26231
rancher/rancher#24652
2020-03-26 12:21:35 -07:00
Westly Wright 7c703e2240
Drop EKS k8s 1.12 from versions list
rancher/rancher#26281
2020-03-26 11:06:07 -07:00
Cody Jackson db586813fc Removed another case of 'true'
rancher/rancher#26245
2020-03-26 09:47:13 -07:00
Westly Wright 96e1431804
Merge pull request #3874 from westlywright/hosted.k8s.versions
Remove min k8s version check for hosted cloud provider clusters
2020-03-26 09:06:39 -07:00
Westly Wright 0b0afdcbbd
eks versions not always reversed 2020-03-25 16:55:50 -07:00
Westly Wright 550d5244ff
Coerce the versions for amazon eks which doesn't use a patch 2020-03-25 16:26:17 -07:00
Westly Wright c17fc952e2
Remove minimum k8s version range check for Cloud Provider clusters
Adds a new service which parses version from the various cloud provider version
list. I moved this to a new service rather than use form-versions because
form-versions is already fairly complicated with how it has to deal with RKE
Templates and unknown patch versions. It was simpler, cleaner, and faster to
move the CP cluster version parsing to a service and use new select because the
versions coming down do not include unknown patch versions. Addtionally going
this route allows us to not have to test all clusters for regressions, only CP ones.

rancher/rancher#26255
2020-03-25 15:59:22 -07:00
Cody Jackson b7c75acb4f Correcting disable field for scheduledClusterScan in RKE
I converted the enabled value back to a boolean instead of it being a string
but I forgot to switch the three disabled fields to expect a boolean.

@rancher/rancher#26245
2020-03-25 14:25:26 -07:00
Westly Wright 7774a33193
set inital version correctly 2020-03-25 12:55:50 -07:00
Cody Jackson b231b34a23 Making the CIS scan enabled radio buttons function on edit
When editing a cluster the value of scheduledClusterScan.enabled comes
back as a string rather than a boolean. I just ensure the value will be a
boolean to make sure the value is displayed on the radio buttons as
expected.

rancher/rancher#26245
2020-03-25 09:32:26 -07:00
Westly Wright 15e30282fd
Merge pull request #3870 from loganhz/fix-scan
[2.4.0] Fix run scan issue with invalid skip config
2020-03-25 09:15:32 -07:00
Westly Wright b0a3788e78
Merge pull request #3871 from westlywright/updating.events.map
updating state map and transitions map for rke workers
2020-03-25 09:13:40 -07:00
Westly Wright 66e663fd87
Merge pull request #3868 from westlywright/helm3.catalog.delete.consistency
Add helm 3 to the list of fake catalogs we show as "disabled" if deleted
2020-03-25 09:03:56 -07:00
Westly Wright 32cb1393ba
updating state map and transitions map for rke workers
rancher/rancher#25917
2020-03-25 09:00:49 -07:00
loganhz bbaad1a469 Fix run scan issue with invalid skip config
https://github.com/rancher/rancher/issues/26248
2020-03-25 19:51:41 +08:00
Westly Wright 606b5ee93b
Add helm 3 to the list of fake catalogs we show as "disabled" if deleted
rancher/rancher#26213
2020-03-24 16:11:54 -07:00
Vincent Fiduccia 1ff76c67c9
Non-PDF EULA link 2020-03-24 14:40:50 -07:00
Westly Wright 931d38a44f
EKS Cluster change editable fields
rancher/rancher#26231
2020-03-24 12:31:42 -07:00
Westly Wright 46c20545de
sync of eks versions list 2020-03-24 12:31:42 -07:00
Westly Wright 8f73e90b07
prevent reloading subnets when cluster is transitioning
rancher/rancher#26208
2020-03-24 09:34:55 -07:00
Westly Wright 383b5d5adf
Merge pull request #3864 from codyrancher/cis-modal-skip-update
Changing the way configMaps get loaded for RunScanModal
2020-03-23 09:07:54 -07:00
Cody Jackson 9925305f3c Changing the way configMaps get loaded for RunScanModal
The RunScanModal was not getting config map changes after the first
time the modal was opened. The results were getting cached. By creating
a new array each time loadAsyncConfigMap is loaded I can guarentee the
computed properties will get re-evaluated.

I also attempted to watch config maps through the project store but
unfortunately updating the data of the config map doesn't seem to
produce a websocket message. Even if the message was created I
don't think I'd be able to watch the value as I'd have to
watch a sub-object 'config.json' which has a period in it. This causes
problems with watching in ember.

rancher/rancher#26161
2020-03-23 02:09:20 -07:00
Cody Jackson a5ee8d6385 Refactor scheduleScan and upgradeStrategy
The refactor was necessary to get the two to work with all aspects of
rke templates.

rancher/rancher#26149
rancher/rancher#26188
rancher/rancher#26187
2020-03-22 23:53:25 -07:00
Cody Jackson 674c242bb0 Add override support for the upgradeStrategy fields in RKE Template
rancher/rancher#26142
2020-03-20 14:06:11 -07:00
Cody Jackson be8742141a Update text styling on the run scan modal
rancher/rancher#26122
2020-03-19 12:19:56 -07:00
Cody Jackson 839b705626 Update the UX to reflect new requirements
rancher/rancher#26066
2020-03-18 12:13:10 -07:00
Westly Wright f2d3842e8a
Merge pull request #3847 from codyrancher/node-template-delete
Allow available actions to be dynamically changed
2020-03-17 10:04:43 -07:00
Cody Jackson 90c258c131 Allow available actions to be dynamically changed
This will allow the available actions to dynamically change if
the underlying store changes. This was specifically to enable
the node template actions to update based on a cluster
being deleted.

rancher/rancher#25452
2020-03-16 16:34:55 -07:00
Cody Jackson 025c54df60 Ensure upgrade strategy defaults are used on an upgraded rancher
The default rancherKubernetesEngineConfig is only created for new
clusters. This now creates a default upgradeStraegy object when one
doesn't exist in rancherKubernetesEngineConfig.

rancher/rancher#25951
2020-03-16 12:50:48 -07:00
Cody Jackson 56366207ee Various CIS fixes
- Label change for scheduled scans
- Fixed a table rendering bug that occured due to the incorrect value
  of colspan
- Disabled the alert and scheduled scan button on the cis page for
windows clusters
- Fixed an issues where two scans couldnt run at the same time due
  to a profile not being defined for a second run scan modal.

rancher/rancher#26009
rancher/rancher#26021
rancher/rancher#25987
rancher/rancher#25983
2020-03-16 10:36:37 -07:00
Cody Jackson 4c7af6523a Improving the UX of the run scan modal
We are going to add a section beneath the profile selector of the run
scan modal. This section is responsible for informing the user of which
tests will not be run and why.

There will be two subsections Not Applicable and Skipped tests.
Skipped tests will only be shown for permissive profiles since
hardened tests shouldn't skip anything.

rancher/rancher#25961
2020-03-15 23:03:46 -07:00
Westly Wright e5c4f4f4bf
Merge pull request #3834 from westlywright/workload.min.maxs
Fix incorrect min/max values for workloads
2020-03-13 08:54:16 -07:00
Westly Wright 8ef1b75ac6
Fix incorrect min/max values for workloads
rancher/rancher#25974
2020-03-12 14:56:15 -07:00
lvuch 044db7b4b0 25984 2020-03-12 14:14:16 -07:00
Westly Wright 883f8a5ffc
drop k3s label and annotation filtering show them as read only 2020-03-12 11:57:31 -07:00
Westly Wright 02c256a709
remove node info on cluster edit 2020-03-12 11:52:26 -07:00
Westly Wright 651f1f3089
prevent useres from sending negative concurrency values
rancher/rancher#25982
2020-03-12 11:24:51 -07:00
Cody Jackson d7cebe4ced Use KDM to drive benchmark options and profile default
This will now allow KDM to drive what the benchmark options are and what
the default option is for profile selection given a kubernetes version.

The 'cisConfig' type is what we look up for this information.

rancher/rancher#25888
2020-03-11 16:43:54 -07:00
Westly Wright 173d89ef20
Tweak nodeForInfo getters/setters
without the value in place when the user visited this page with only one node
when we auto select the dropdown wouldn't have an initialized value.

rancher/rancher#25966
2020-03-11 16:04:55 -07:00
Westly Wright 9981fe8744
Merge pull request #3829 from codyrancher/cis-small-ux
Make several small tweaks to the CIS UI
2020-03-11 15:29:06 -07:00
Westly Wright 430a8e9f21
Merge pull request #3828 from westlywright/translations.bugs
Azure Cloud Provider Translation Issue
2020-03-11 15:28:39 -07:00
Cody Jackson 16f4295442 Make several small tweaks to the CIS UI
- Make table sorting work with scheduled scans
- Make the cis table fit on laptop screen
- Add an appropriate placeholder for the scheduled scans cron field

rancher/rancher#25937
rancher/rancher#25939
2020-03-11 14:50:04 -07:00
Westly Wright d4a2fd8554
Remove duplicate verbiage and fix broken link azure cloud provider
rancher/rancher#25960
2020-03-11 14:36:46 -07:00
Westly Wright 427479548e
lint 2020-03-11 14:26:45 -07:00
Westly Wright 0c01433984
Ensure any k3s labels/annotations are read-only
rancher/rancher#25958
2020-03-11 13:32:14 -07:00
Westly Wright 0de04c60e3
Merge pull request #3823 from codyrancher/cis-small
Several small CIS fixes
2020-03-10 12:25:10 -07:00
Cody Jackson ebd73129a1 Add profile column to CIS Scans page and modify cron default
rancher/rancher#25890
rancher/rancher#25933
2020-03-10 11:39:23 -07:00
Westly Wright 55eaeaa4e0
Merge pull request #3822 from westlywright/rke.template.version.bug
Remove unneeded valueIsPatchVersion
2020-03-10 11:09:47 -07:00
Westly Wright 139cfcd960
Remove valueIsPatchVersion check as its not needed here
rancher/rancher#25335
2020-03-10 10:58:39 -07:00
Vincent Fiduccia 2a7c0ae0ff
Rename steve flag 2020-03-10 10:45:07 -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 a5cf9b3f32
add new helm3 and system keys to catalog canClone
rancher/rancher#25850
2020-03-08 12:17:04 -07:00
Westly Wright c4a2829fb4
Add drain options to k3s imported clusters edit 2020-03-07 09:22:55 -07:00
Westly Wright bc31c8961f
Merge pull request #3800 from westlywright/rkeconfig.nodelocal
Ensure nodelocal shows up in cluster create yaml view for rke
2020-03-06 16:54:51 -07:00
Westly Wright e2ac7fcdfc
Merge pull request #3799 from codyrancher/cis-state-colors
Add pass and fail as recognized states
2020-03-06 16:50:54 -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
Cody Jackson 44735a3d7d Add pass and fail as recognized states
Two new states were created by CIS. This adds the
default treatment of both pass and fail.

rancher/rancher#25789
2020-03-06 16:40:49 -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 2766d4c56d
add helm versions to constants 2020-03-05 16:23:13 -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 ebe8ca2693
Update k3s service to use new release api for versions
rancher/rancher#25720
2020-03-04 12:03:37 -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 995ddfcae5
Merge pull request #3775 from westlywright/cluster.rotatecerts
Only show rotate action in tooltips and banners if exists on model
2020-03-02 09:20:27 -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 d977669d40
Add 2.x fallback for telemetry docs link if on master
rancher/rancher#25600
2020-02-28 14:53:31 -07:00
Westly Wright 12cdab229b
get k3sVersions if k3s cluster 2020-02-27 11:16:55 -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 629856df8f
add k3s version service 2020-02-27 11:11:32 -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
Vincent Fiduccia 6f7d5368c6
Agree to eula on first login 2020-02-21 17:34:54 -07:00
Vincent Fiduccia 0bc2e1241d
Add toggle to dashboard if Steve is enabled 2020-02-20 16:20: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
Cody Jackson 93b505199c Refactor how cis scans are disabled.
This refactoring removed code duplication and
provides a more cohesive experience across all
of the pages that you can run a scan.

This will also now check and ensure the following
- there aren't running ClusterScans
- this isn't a windows cluster
- systemProject is available
- the cluster is active
- the action link is available

When the above isn't the case Run CIS Scan will not be present in
the cluster action drop downs and the Run CIS Scan but
 will be disabled on the CIS Scans and CIS Scan Detail
pages.

rancher/rancher#24759
rancher/rancher#25298
2020-02-07 12:08:28 -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
Westly Wright 93d1db387e
Hide mtu input for custom cluster on flannel network provider
rancher/rancher#25267
2020-02-05 09:54:19 -07:00
Westly Wright 5f6dfbaf47
Expose nonResourceURLs on global role editor
rancher/rancher#25085
2020-01-31 14:59:19 -07:00