Skip to content

Commit

Permalink
fix ember provider query param (rancher#12177)
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis-toboggan-md authored Oct 8, 2024
1 parent 5405402 commit 5e55136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/models/management.cattle.io.cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default class MgmtCluster extends SteveModel {
// Provisioner is the "<something>Config" in the model
const provisioner = KONTAINER_TO_DRIVER[(this.provisioner || '').toLowerCase()] || this.provisioner;

if ( provisioner === 'rancherKubernetesEngine' ) {
if ( provisioner === 'rancherKubernetesEngine' || provisioner === 'rke') {
// Look for a cloud provider in one of the node templates
if ( this.machinePools?.[0] ) {
provider = this.machinePools[0]?.nodeTemplate?.spec?.driver || null;
Expand Down

0 comments on commit 5e55136

Please sign in to comment.