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
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.
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
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
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
I originally tried to fixrancher/rancher#24704 without completely
special casing. Unfortunately that lead to other issues:
rancher/rancher#24745rancher/rancher#24794rancher/rancher#24814
I decided to revert all of the related changes and to just special
case this one instance. Ultimately I think the removeEmpty is the
culprit but it requires backend changes in order to properly fix
and those changes are not happening right now.
We were erroneously adding cloud_provider.awsCloudProvider on
digital ocean etc due to rancher/rancher#24515.
This change assumes that the presence of
onfig.rancher_kubernetes_engine_config.cloud_provider.name
implies that the cloud_provider should be present. If that
nested field isn't present we remove cloud_provider.
rancher/rancher#24745
While editing a cluster properly support .x kube version comparisons when
filtering out cluster template revisions.
Coercing a .x version converts it to a .0 which made the revision look like
it was a kube downgrade. By making use of .satisfies when the revision
kube version ends with a '.x' we're now better able to check if the
kube version is a downgrade and filter appropriately.
rancher/rancher#23489
the check-override-allowed component did not know how to deal with the k8s
version question because of its tri state and how we deal with the patch version
that is an override but not really an override. I added a check to verify the
mode is view and we have the param then display param so we don't initialize the
form-version component which has logic to inject the current version into its
versions dropdown but only if we're new, editing, or cloning.
rancher/rancher#23478rancher/rancher#23465
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
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
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
First itteration of new kube versions w patch support
fix alias issue
satisfies working with no override, hide questions, uniq questions
add templates service, add additional satisfies logic
cluster template translation
add setdefault action to cluster template revisions
Add cluster template link to clusters index page
apply cluster templates satisifies logic
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
remove always set first item to default system reg
remove cluster create check for 1 system default
change header label for clarity
rancher/rancher#19325