This now checks to see if there's and RKE template.
If there is an RKE template and the scheduleScanned is disabled
the button will be disabled unless there's an override available for
the scheduledClusterScan.enabled field.
rancher/rancher#26150
- Added a Snapshot Now button to the top of the table
- Added a Restore Snapshot option to the actions of each row which will
select the current row when opening the modal
rancher/rancher#25511
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.
- 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
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#24759rancher/rancher#25298
Run CIS Scan was broken on the cluster list page because
currentCluster was being used instead of just using the current cluster.
I also removed the redirect and just use a growl notification to
indicate the scan is running.
rancher/rancher#25241rancher/rancher#25159
Improving the UX of CIS based on the feedback that was received during
the review.
- Sort scans by date so newest will be on top.
- Details should be sorted by state in Fail, Skipped, Pass order
- Add a Run CIS Scan action to the cluster menu.
The cluster upgrade notification wasn't properly updating when
the user enabled and disabled a revision. It required that the
page was refreshed before display the fresh data.
This resolves this issue by watching more appropriate keys
int he relevant computed properties. The most relevant
being the revision.@each.enabled on the latestRevision property.
rancher/rancher#23126
- We will only conditionally render template/revision section on the
monitoring page if the cluster is using a template. This was
crashing the page before.
- We will now make sure there's a string when invoking replace
when generating the template and revision display names.
- We will now respect the enable flag of template revisions
when determining if an upgrade is available.
rancher/rancher#23126
We want to make it easier for someone that is managing multiple
clusters to see what template and template revision a cluster
is using. We also want to make it easy for a user to notice
that a cluster isn't using the latest revision.
To achieve this we added the template and revision to a column
in the clusters table to display both. We also indicate add
a warning badge beside a revision when the revision isn't
the latest.
rancher/rancher#22047
Refactor and decouple launch cluster
adds new routes for selecting cluster, selecting cluter template, and launching
cluster
Add first version of cluster template selection logic
WIP - First version of cluter-template resource pages & components
cluster template index
adds cru-cluster-template
save cluster template and cluster template revision
refactor rke cluster driver and add rke cluster driver to clust temp
add cluster template revision page
template revision changes
more questions
refactor cluster networking into component
cluster template questions components
first itteration of working add question
fixups for ct and ctr's
general fixes
quick revision select on new revision page
Move name, expose ctr name, move ctr source
Refactor ct/ctr table to use grouped form
share member added
single template no revisions rows
translations
translation changes
css toggle
css toggle on all elements
inline override
initial apply cluster template
initial show or lock when applying a cluster template
validation bug
first run at windows support overrides
abstract check override with component that yields
add check for override to most sections
bulk remove cluster template revision
more check override
handle errors better for ctrs
translations
bugs
add toggle to azure cloud provider
auth endpoint fix
computed override check and refactor
fixup question override inputs
remove cluster launch route
review fixups
cluster edit
fixup alias properties for overrides
refector legacy local etcd backup & restore api to use new api
rancher/rancher#16797
Add s3backup config to rke clusters advanced options
Add 'restore from backup' action on RKE clusters
add backups list page
add cluster switching handling for backups
WIP
cleaup for review
rancher/rancher#16087rancher/rancher#16091
add delete placeholder
Add delete logic for eks clusters and optional key
clean up can bulk remove logic for cluster
bug fix
update translations