Commit Graph

2527 Commits

Author SHA1 Message Date
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