embedded-cluster-api
feature flag must be disabled before installing the CAPI Turtles extension. Follow instructions in the documentation here to do so.',turtlesNeeded:'Either the user doesn\'t have permission to run the Turtles extension or the Turtles operator isn\'t installed. To learn how to install the Rancher Turtles extension, read the documentation.'},autoImport:{label:"CAPI Auto-Import",checkbox:{label:"Automatically import CAPI clusters created in this namespace"},enableAction:"Enable CAPI Auto-Import",disableAction:"Disable CAPI Auto-Import"},warnings:{embeddedFeatureFlag:"It looks like the Rancher-managed cluster API feature is disabled. To provision and manage RKE2 clusters you must either enable the embedded-cluster-api feature flag or install the Rancher Turtles extension."},cluster:{steps:{clusterClass:{title:"Cluster Class",label:"Cluster Class",subtext:null,description:""},configuration:{title:"Configuration",label:"Configuration",subtext:null,description:""},variables:{title:"Variables",label:"Variables",subtext:null,description:""}},secret:{reuse:"Use existing credential",create:"Create new credential"},controlPlane:{title:"Control Plane Options",provisioner:"Type"},providerConfig:{title:"Infrastructure"},clusterClass:{title:"Cluster Class",label:"Cluster Class",description:"Cluster Class Description"},variables:{title:"Variables"},version:{title:"Kubernetes Version"},networking:{title:"Networking",apiServerPort:"API Server Port",serviceDomain:"Service Domain",pods:"Pod CIDR Blocks",services:"Service VIP CIDR Blocks"},controlPlaneEndpoint:{title:"Control Plane Endpoint",host:"Host",port:"Port"},workers:{title:"Workers",class:"Class",name:"Name",machineDeployments:{title:"Machine Deployments"},machinePools:{title:"Machine Pools"}}},clusterClassCard:{title:"Cluster Class Name: {name}",controlPlaneName:"Control Plane Name",controlPlaneKind:"Control Plane Kind",controlPlaneNamespace:"Control Plane Namespace",machineDeploymentsCount:"{count, plural,\n one {{count} Machine Deployment }\n other {{count} Machine Deployments }\n}",machinePoolsCount:"{count, plural,\n one {{count} Machine Pool }\n other {{count} Machine Pools }\n}"},experimental:"The Rancher CAPI UI extension is experimental and is not currently supported."},nav:{group:{CAPITurtles:"CAPI"}},typeLabel:{"operator.cluster.x-k8s.io.infrastructureprovider":"{count, plural,\n one { Infrastructure Provider }\n other { Infrastructure Providers }\n}","cluster.x-k8s.io.machineset":"{count, plural,\n one { Machine Set}\n other { Machine Sets }\n}","cluster.x-k8s.io.machinedeployment":"{count, plural,\n one { Machine Deployment}\n other { Machine Deployments }\n}","cluster.x-k8s.io.clusterclass":"{count, plural,\n one { Cluster Class}\n other { Cluster Classes}\n}"},validation:{exclusiveMaxValue:'"{key}" must be less than {maximum}.',exclusiveMinValue:'"{key}" must be greater than {minimum}.',maxItems:'{maxItems, plural,\n one {"{key}" may contain no more than {maxItems} item.}\n other {"{key}" may contain no more than {maxItems} items.}\n}',minItems:'{minItems, plural,\n one {"{key}" must contain at least {minItems} item.}\n other {"{key}" must contain at least {minItems} items.}\n}',pattern:'"{key}" must match the pattern {pattern}
.',stringFormat:'"{key}" must be a valid {format}.',uniqueItems:'"{key}" may not contain duplicate elements.',version:"Version format must match format for this provisioner.",name:"Name is required.",port:"Port value must be a number."},error:{clusterClassNotFound:"Could not find corresponding cluster class. Please check that cluster class exists and is valid."}}];e.exports=n.length<=1?n[0]:n}}]);
+//# sourceMappingURL=capi-0.3.0.umd.min.8.js.map
\ No newline at end of file
diff --git a/extensions/capi/0.3.0/plugin/capi-0.3.0.umd.min.8.js.map b/extensions/capi/0.3.0/plugin/capi-0.3.0.umd.min.8.js.map
new file mode 100644
index 0000000..c4483ea
--- /dev/null
+++ b/extensions/capi/0.3.0/plugin/capi-0.3.0.umd.min.8.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["webpack://capi-0.3.0/./l10n/en-us.yaml"],"names":["doc","module","exports","length"],"mappings":"sKAAA,MAAMA,EAAM,CAAC,CAAE,OAAS,CAAE,cAAgB,kBAAoB,KAAO,CAAE,aAAe,CAAE,MAAQ,kBAAmB,YAAc,8FAA+F,mBAAqB,kZAA2Z,cAAgB,gZAAwZ,WAAa,CAAE,MAAQ,mBAAoB,SAAW,CAAE,MAAQ,gEAAkE,aAAe,0BAA2B,cAAgB,4BAA8B,SAAW,CAAE,oBAAsB,mNAAqN,QAAU,CAAE,MAAQ,CAAE,aAAe,CAAE,MAAQ,gBAAiB,MAAQ,gBAAiB,QAAU,KAAM,YAAc,IAAM,cAAgB,CAAE,MAAQ,gBAAiB,MAAQ,gBAAiB,QAAU,KAAM,YAAc,IAAM,UAAY,CAAE,MAAQ,YAAa,MAAQ,YAAa,QAAU,KAAM,YAAc,KAAQ,OAAS,CAAE,MAAQ,0BAA2B,OAAS,yBAA2B,aAAe,CAAE,MAAQ,wBAAyB,YAAc,QAAU,eAAiB,CAAE,MAAQ,kBAAoB,aAAe,CAAE,MAAQ,gBAAiB,MAAQ,gBAAiB,YAAc,6BAA+B,UAAY,CAAE,MAAQ,aAAe,QAAU,CAAE,MAAQ,sBAAwB,WAAa,CAAE,MAAQ,aAAc,cAAgB,kBAAmB,cAAgB,iBAAkB,KAAO,kBAAmB,SAAW,2BAA6B,qBAAuB,CAAE,MAAQ,yBAA0B,KAAO,OAAQ,KAAO,QAAU,QAAU,CAAE,MAAQ,UAAW,MAAQ,QAAS,KAAO,OAAQ,mBAAqB,CAAE,MAAQ,uBAAyB,aAAe,CAAE,MAAQ,mBAAuB,iBAAmB,CAAE,MAAQ,6BAA8B,iBAAmB,qBAAsB,iBAAmB,qBAAsB,sBAAwB,0BAA2B,wBAA0B,kGAAmG,kBAAoB,uFAAyF,aAAe,iFAAmF,IAAM,CAAE,MAAQ,CAAE,YAAc,SAAY,UAAY,CAAE,mDAAmD,8FAA+F,8BAA8B,qEAAsE,qCAAqC,mFAAoF,gCAAgC,0EAA4E,WAAa,CAAE,kBAAoB,uCAA0C,kBAAoB,0CAA6C,SAAW,iJAAsJ,SAAW,2IAAgJ,QAAU,yDAA4D,aAAe,oCAAuC,YAAc,8CAAiD,QAAU,yDAA0D,KAAO,oBAAqB,KAAO,gCAAkC,MAAQ,CAAE,qBAAuB,sGACv9IC,EAAOC,QAAUF,EAAIG,QAAU,EAAIH,EAAI,GAAKA","file":"capi-0.3.0.umd.min.8.js","sourcesContent":["const doc = [({\"action\":({\"createCluster\":\"Create Cluster\"}), \"capi\":({\"installation\":({\"title\":\"Rancher Turtles\", \"description\":\"The Rancher Turtles operator allows users to import CAPI-provisioned clusters into Rancher.\", \"disableFeatureFlag\":\"The embedded-cluster-api
feature flag must be disabled before installing the CAPI Turtles extension. Follow instructions in the documentation here to do so.\", \"turtlesNeeded\":\"Either the user doesn't have permission to run the Turtles extension or the Turtles operator isn't installed. To learn how to install the Rancher Turtles extension, read the documentation.\"}), \"autoImport\":({\"label\":\"CAPI Auto-Import\", \"checkbox\":({\"label\":\"Automatically import CAPI clusters created in this namespace\"}), \"enableAction\":\"Enable CAPI Auto-Import\", \"disableAction\":\"Disable CAPI Auto-Import\"}), \"warnings\":({\"embeddedFeatureFlag\":\"It looks like the Rancher-managed cluster API feature is disabled. To provision and manage RKE2 clusters you must either enable the embedded-cluster-api feature flag or install the Rancher Turtles extension.\"}), \"cluster\":({\"steps\":({\"clusterClass\":({\"title\":\"Cluster Class\", \"label\":\"Cluster Class\", \"subtext\":null, \"description\":\"\"}), \"configuration\":({\"title\":\"Configuration\", \"label\":\"Configuration\", \"subtext\":null, \"description\":\"\"}), \"variables\":({\"title\":\"Variables\", \"label\":\"Variables\", \"subtext\":null, \"description\":\"\"})}), \"secret\":({\"reuse\":\"Use existing credential\", \"create\":\"Create new credential\"}), \"controlPlane\":({\"title\":\"Control Plane Options\", \"provisioner\":\"Type\"}), \"providerConfig\":({\"title\":\"Infrastructure\"}), \"clusterClass\":({\"title\":\"Cluster Class\", \"label\":\"Cluster Class\", \"description\":\"Cluster Class Description\"}), \"variables\":({\"title\":\"Variables\"}), \"version\":({\"title\":\"Kubernetes Version\"}), \"networking\":({\"title\":\"Networking\", \"apiServerPort\":\"API Server Port\", \"serviceDomain\":\"Service Domain\", \"pods\":\"Pod CIDR Blocks\", \"services\":\"Service VIP CIDR Blocks\"}), \"controlPlaneEndpoint\":({\"title\":\"Control Plane Endpoint\", \"host\":\"Host\", \"port\":\"Port\"}), \"workers\":({\"title\":\"Workers\", \"class\":\"Class\", \"name\":\"Name\", \"machineDeployments\":({\"title\":\"Machine Deployments\"}), \"machinePools\":({\"title\":\"Machine Pools\"})})}), \"clusterClassCard\":({\"title\":\"Cluster Class Name: {name}\", \"controlPlaneName\":\"Control Plane Name\", \"controlPlaneKind\":\"Control Plane Kind\", \"controlPlaneNamespace\":\"Control Plane Namespace\", \"machineDeploymentsCount\":\"{count, plural,\\n one {{count} Machine Deployment }\\n other {{count} Machine Deployments }\\n}\", \"machinePoolsCount\":\"{count, plural,\\n one {{count} Machine Pool }\\n other {{count} Machine Pools }\\n}\"}), \"experimental\":\"The Rancher CAPI UI extension is experimental and is not currently supported.\"}), \"nav\":({\"group\":({\"CAPITurtles\":\"CAPI\"})}), \"typeLabel\":({\"operator.cluster.x-k8s.io.infrastructureprovider\":\"{count, plural,\\n one { Infrastructure Provider }\\n other { Infrastructure Providers }\\n}\", \"cluster.x-k8s.io.machineset\":\"{count, plural,\\n one { Machine Set}\\n other { Machine Sets }\\n}\", \"cluster.x-k8s.io.machinedeployment\":\"{count, plural,\\n one { Machine Deployment}\\n other { Machine Deployments }\\n}\", \"cluster.x-k8s.io.clusterclass\":\"{count, plural,\\n one { Cluster Class}\\n other { Cluster Classes}\\n}\"}), \"validation\":({\"exclusiveMaxValue\":\"\\\"{key}\\\" must be less than {maximum}.\", \"exclusiveMinValue\":\"\\\"{key}\\\" must be greater than {minimum}.\", \"maxItems\":\"{maxItems, plural,\\n one {\\\"{key}\\\" may contain no more than {maxItems} item.}\\n other {\\\"{key}\\\" may contain no more than {maxItems} items.}\\n}\", \"minItems\":\"{minItems, plural,\\n one {\\\"{key}\\\" must contain at least {minItems} item.}\\n other {\\\"{key}\\\" must contain at least {minItems} items.}\\n}\", \"pattern\":\"\\\"{key}\\\" must match the pattern {pattern}
.\", \"stringFormat\":\"\\\"{key}\\\" must be a valid {format}.\", \"uniqueItems\":\"\\\"{key}\\\" may not contain duplicate elements.\", \"version\":\"Version format must match format for this provisioner.\", \"name\":\"Name is required.\", \"port\":\"Port value must be a number.\"}), \"error\":({\"clusterClassNotFound\":\"Could not find corresponding cluster class. Please check that cluster class exists and is valid.\"})})];\nmodule.exports = doc.length <= 1 ? doc[0] : doc;"],"sourceRoot":""}
\ No newline at end of file
diff --git a/extensions/capi/0.3.0/plugin/capi-0.3.0.umd.min.edit.js b/extensions/capi/0.3.0/plugin/capi-0.3.0.umd.min.edit.js
new file mode 100644
index 0000000..1b77c2d
--- /dev/null
+++ b/extensions/capi/0.3.0/plugin/capi-0.3.0.umd.min.edit.js
@@ -0,0 +1,2 @@
+(("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_3_0"]=("undefined"!==typeof self?self:this)["webpackJsonpcapi_0_3_0"]||[]).push([[2],{"2ea8":function(e,t,a){"use strict";a("471a")},"330a3":function(e,t,a){"use strict";a("f359")},"3eff":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("div",{staticClass:"row mb-20"},[t("div",{staticClass:"col span-3"},[t("LabeledInput",{attrs:{value:e.apiServerPort,mode:e.mode,disabled:e.clusterIsAlreadyCreated,label:e.t("capi.cluster.networking.apiServerPort"),rules:e.rules.apiServerPort,required:""},on:{input:function(t){return e.$emit("api-server-port-changed",t)}}})],1),t("div",{staticClass:"col span-3"},[t("LabeledInput",{attrs:{value:e.serviceDomain,mode:e.mode,disabled:e.clusterIsAlreadyCreated,label:e.t("capi.cluster.networking.serviceDomain"),rules:e.rules.serviceDomain},on:{input:function(t){return e.$emit("service-domain-changed",t)}}})],1)]),t("div",{staticClass:"row mb-20"},[t("div",{staticClass:"col span-3"},[t("ArrayList",{attrs:{value:e.podsCidrBlocks,protip:!1,mode:e.mode,title:e.t("capi.cluster.networking.pods"),rules:e.rules.pods},on:{input:function(t){return e.$emit("pods-cidr-blocks-changed",t)}}})],1),t("div",{staticClass:"col span-3"},[t("ArrayList",{attrs:{value:e.servicesCidrBlocks,protip:!1,mode:e.mode,title:e.t("capi.cluster.networking.services"),rules:e.rules.services},on:{input:function(t){return e.$emit("services-cidr-blocks-changed",t)}}})],1)])])},l=[],r=a("8bbf"),i=a.n(r),o=a("9ce4"),n=a("da25"),c=a("977f"),d=a("e26b"),u=i.a.extend({components:{LabeledInput:d["a"],ArrayList:c["a"]},props:{value:{type:Object,required:!0},mode:{type:String,required:!0},rules:{default:()=>({serviceDomain:[],apiServerPort:[],pods:[],services:[]}),type:Object}},computed:{...Object(o["a"])({t:"i18n/t"}),clusterIsAlreadyCreated(){return this.mode===n["n"]},apiServerPort(){var e;return null===(e=this.value)||void 0===e?void 0:e.apiServerPort},serviceDomain(){var e;return null===(e=this.value)||void 0===e?void 0:e.serviceDomain},podsCidrBlocks(){var e;return null===(e=this.value)||void 0===e||null===(e=e.pods)||void 0===e?void 0:e.cidrBlocks},servicesCidrBlocks(){var e;return null===(e=this.value)||void 0===e||null===(e=e.services)||void 0===e?void 0:e.cidrBlocks}}}),v=u,p=a("d802"),m=Object(p["a"])(v,s,l,!1,null,null,null);t["default"]=m.exports},4369:function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".label[data-v-7407ec5d]{display:flex;flex-direction:column;margin-bottom:10px}.label .text-label[data-v-7407ec5d]{font-size:12px;line-height:18px;color:var(--darker)}.label .value[data-v-7407ec5d]{line-height:18px}",""]),e.exports=t},"471a":function(e,t,a){var s=a("653f");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var l=a("0ed3").default;l("3bfc8dc4",s,!0,{sourceMap:!1,shadowMode:!1})},"4774b":function(e,t,a){"use strict";a("f954")},"4c7b":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[e.title?t("div",{staticClass:"clearfix"},[e._t("title",(function(){return[t("h3",[e._v(" "+e._s(e.title)+" ")])]}))],2):e._e(),e.rows.length?e._l(e.rows,(function(a,s){return t("div",{key:s,staticClass:"box",attrs:{"data-testid":"array-list-box"+s}},[e._t("columns",(function(){return[t("div",{staticClass:"value"},[e._t("value",(function(){return[t("div",{staticClass:"col mt-20"},[t("LabeledInput",{ref:"value",refInFor:!0,attrs:{mode:e.mode,disabled:!1,label:e.t("capi.cluster.workers.name")},model:{value:a.value.name,callback:function(t){e.$set(a.value,"name",t)},expression:"row.value.name"}})],1),t("div",{staticClass:"col mt-20"},[t("LabeledSelect",{attrs:{mode:e.mode,options:e.classOptions,"label-key":"capi.cluster.workers.class"},model:{value:a.value.class,callback:function(t){e.$set(a.value,"class",t)},expression:"row.value.class"}})],1)]}),{row:a,mode:e.mode,isView:e.isView,queueUpdate:e.queueUpdate}),e.removeAllowed?t("div",{staticClass:"remove"},[e._t("remove-button",(function(){return[t("button",{staticClass:"btn role-link",attrs:{type:"button",disabled:e.isView,"data-testid":"remove-item-"+s},on:{click:function(t){return e.remove(a,s)}}},[e._v(" "+e._s(e.removeLabel)+" ")])]}),{remove:()=>e.remove(a,s),i:s,row:a})],2):e._e()],2)]}),{queueUpdate:e.queueUpdate,i:s,rows:e.rows,row:a,mode:e.mode,isView:e.isView})],2)})):"view"===e.mode?t("div",{staticClass:"text-muted"},[e._v(" — ")]):t("div",[e._t("empty")],2),e.addAllowed&&!e.isView?t("div",{staticClass:"footer"},[e.addAllowed?e._t("add",(function(){return[t("button",{staticClass:"btn role-tertiary add",attrs:{type:"button",disabled:e.loading,"data-testid":"array-list-button"},on:{click:function(t){return e.add()}}},[e.loading?t("i",{staticClass:"mr-5 icon icon-spinner icon-spin icon-lg"}):e._e(),e._v(" "+e._s(e.addLabel)+" ")])]}),{add:e.add}):e._e()],2):e._e()],2)},l=[],r=a("8bbf"),i=a.n(r),o=a("44db"),n=a.n(o),c=a("bddd"),d=a("e24b"),u=a("da25"),v=a("466b"),p=a("e26b"),m=i.a.extend({components:{LabeledSelect:v["a"],LabeledInput:p["a"]},props:{value:{type:Array,default:null},mode:{type:String,default:u["n"]},title:{type:String,required:!0},classOptions:{type:Array,default:null},addAllowed:{type:Boolean,default:!0},removeAllowed:{type:Boolean,default:!0},defaultAddValue:{type:[String,Number,Object,Array],default:""},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data(){const e=(this.value||[]).slice(),t=[];for(const a of e)t.push({value:a});if(!t.length){const e=this.defaultAddValue?Object(d["e"])(this.defaultAddValue):"";t.push({value:e})}return{rows:t,lastUpdateWasFromValue:!1}},computed:{isView(){return this.mode===u["r"]},removeLabel(){return this.$store.getters["i18n/t"]("generic.remove")},addLabel(){return this.$store.getters["i18n/t"]("generic.add")}},watch:{value(){this.lastUpdateWasFromValue=!0,this.rows=(this.value||[]).map(e=>({value:e}))},rows:{deep:!0,handler(){this.lastUpdateWasFromValue||this.queueUpdate(),this.lastUpdateWasFromValue=!1}}},created(){this.queueUpdate=n()(this.update,50)},methods:{add(){this.rows.push({value:Object(d["e"])(this.defaultAddValue)}),this.defaultAddValue&&this.queueUpdate(),this.$nextTick(()=>{const e=this.$refs.value;e&&e.length>0&&e[e.length-1].focus(),this.$emit("add")})},remove(e,t){this.$emit("remove",{row:e,index:t}),Object(c["h"])(this.rows,t),this.queueUpdate()},update(){if(this.isView)return;const e=[];for(const t of this.rows){const a=t.value;"undefined"!==typeof a&&e.push(a)}this.$emit("input",e)}}}),h=m,f=a("d802"),b=Object(f["a"])(h,s,l,!1,null,null,null);t["default"]=b.exports},"52c9":function(e,t,a){"use strict";a("5ae4")},"5ae4":function(e,t,a){var s=a("ea19");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var l=a("0ed3").default;l("02c39b9b",s,!0,{sourceMap:!1,shadowMode:!1})},"653f":function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".container[data-v-e4d7fae2]{display:grid;grid-template-columns:1fr 1fr 1fr}@media only screen and (max-width:992px){.container[data-v-e4d7fae2]{grid-template-columns:1fr 1fr}}@media only screen and (max-width:1281px){.container[data-v-e4d7fae2]{grid-template-columns:1fr}}",""]),e.exports=t},"89e5":function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".cluster-card-container[data-v-40d0155a]{display:flex;flex-basis:40%;margin:10px;min-height:100px;padding:10px 20px;height:90%;border:1px solid var(--border);border-radius:var(--border-radius)}.cluster-card-container.selected[data-v-40d0155a]{border:2px solid var(--app-rancher-accent)}.cluster-card-container[data-v-40d0155a]:hover{box-shadow:0 0 30px var(--shadow);transition:box-shadow .1s ease-in-out;cursor:pointer;text-decoration:none!important}.cluster-card-container.rancher .deploys-os-label[data-v-40d0155a],.cluster-card-container.rancher .side-label[data-v-40d0155a]{background-color:var(--app-rancher-accent)}.cluster-card-container.rancher .deploys-os-label label[data-v-40d0155a],.cluster-card-container.rancher .side-label label[data-v-40d0155a]{color:var(--app-rancher-accent-text)}.cluster-card-container.rancher[data-v-40d0155a]:hover{border-color:var(--app-rancher-accent)}.cluster-card-container.partner .deploys-os-label[data-v-40d0155a],.cluster-card-container.partner .side-label[data-v-40d0155a]{background-color:var(--app-partner-accent)}.cluster-card-container.partner .deploys-os-label label[data-v-40d0155a],.cluster-card-container.partner .side-label label[data-v-40d0155a]{color:var(--app-partner-accent-text)}.cluster-card-container.partner[data-v-40d0155a]:hover{border-color:var(--app-partner-accent)}.cluster-card-container .card-wrap[data-v-40d0155a]{width:100%}.name[data-v-40d0155a]{font-size:16px;font-weight:700;margin-bottom:10px}.description[data-v-40d0155a]{font-size:14px;margin-bottom:20px}.container[data-v-40d0155a]{display:grid;padding:0;grid-template-columns:1fr 1fr}@media only screen and (max-width:1281px){.container[data-v-40d0155a]{grid-template-columns:1fr}}.leftcol[data-v-40d0155a]{justify-self:start;margin-right:10px}.rightcol[data-v-40d0155a]{justify-self:end}@media only screen and (max-width:1281px){.rightcol[data-v-40d0155a]{justify-self:start}}",""]),e.exports=t},"9a07":function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".required[data-v-631fe087]{color:var(--error)}",""]),e.exports=t},"9b7b":function(e,t,a){"use strict";a("ef3f")},be3e:function(e,t,a){var s=a("5eaa");t=s(!1),t.push([e.i,".variables[data-v-83817b0e]{display:flex;flex-direction:row;flex-wrap:wrap}.variables>*[data-v-83817b0e]{flex:0 1 23.25%;margin:0 1.75% 10px 0;max-width:23.25%}.variables[data-v-83817b0e]>.wider{flex:0 1 48.25%;max-width:48.25%}.variables>.force-newline[data-v-83817b0e]{flex:1 0 100%;max-width:none}",""]),e.exports=t},c3c3:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.loading?t("Loading"):t("CruResource",{attrs:{mode:e.mode,"show-as-form":!0,resource:e.value,errors:e.errors,"validation-passed":!0,"cancel-event":!0,"done-route":e.doneRoute,"apply-hooks":e.applyHooks,steps:e.addSteps,"component-testid":"capi-cluster-create"},on:{done:e.done,error:t=>e.errors=t,finish:e.saveOverride,cancel:e.cancel},scopedSlots:e._u([{key:"stepClusterClass",fn:function(){return[t("CardGrid",{attrs:{rows:e.clusterClassOptions,"key-field":"id","name-field":"label","side-label-field":"tag"},on:{clicked:e.clickedType}})]},proxy:!0},{key:"stepConfiguration",fn:function(){return[e.isView?e._e():t("NameNsDescription",{attrs:{mode:e.mode,namespaced:!1,"namespace-options":e.allNamespaces,"name-label":"cluster.name.label","name-placeholder":"cluster.name.placeholder","description-label":"cluster.description.label","description-placeholder":"cluster.description.placeholder",rules:{name:e.fvGetAndReportPathRules("metadata.name")}},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),t("div",{staticClass:"row mb-20"},[t("div",{staticClass:"col span-3"},[t("h2",[t("t",{attrs:{k:"capi.cluster.version.title"}})],1),t("LabeledInput",{attrs:{mode:e.mode,"label-key":"cluster.kubernetesVersion.label",required:"",rules:e.fvGetAndReportPathRules("spec.topology.version")},model:{value:e.value.spec.topology.version,callback:function(t){e.$set(e.value.spec.topology,"version",t)},expression:"value.spec.topology.version"}})],1),t("div",{staticClass:"col"},[t("h2",[t("t",{attrs:{k:"capi.cluster.controlPlaneEndpoint.title"}})],1),t("ControlPlaneEndpointSection",{attrs:{mode:e.mode,rules:{host:e.fvGetAndReportPathRules("spec.controlPlaneEndpoint.host"),port:e.fvGetAndReportPathRules("spec.controlPlaneEndpoint.port")}},model:{value:e.controlPlaneEndpoint,callback:function(t){e.controlPlaneEndpoint=t},expression:"controlPlaneEndpoint"}})],1)]),t("div",{staticClass:"mt-20 block"},[t("h2",[t("t",{attrs:{k:"capi.cluster.networking.title"}})],1),t("NetworkSection",{attrs:{mode:e.mode,rules:{serviceDomain:e.fvGetAndReportPathRules("spec.clusterNetwork.serviceDomain"),apiServerPort:e.fvGetAndReportPathRules("spec.clusterNetwork.apiServerPort"),pods:e.fvGetAndReportPathRules("spec.clusterNetwork.pods"),services:e.fvGetAndReportPathRules("spec.clusterNetwork.services")}},on:{"api-server-port-changed":t=>e.$set(e.value.spec.clusterNetwork,"apiServerPort",Number(t)||""),"service-domain-changed":t=>e.$set(e.value.spec.clusterNetwork,"serviceDomain",t),"pods-cidr-blocks-changed":e.podsCidrBlocksChanged,"services-cidr-blocks-changed":e.servicesCidrBlocksChanged},model:{value:e.clusterNetwork,callback:function(t){e.clusterNetwork=t},expression:"clusterNetwork"}})],1),t("div",{staticClass:"mt-20 block"},[t("h2",[t("t",{attrs:{k:"capi.cluster.workers.title"}}),t("span",{staticClass:"required"},[e._v("*")])],1),t("div",{staticClass:"row mb-20"},[e.machineDeploymentOptions?t("div",{staticClass:"col span-3"},[t("WorkerItem",{attrs:{mode:e.mode,title:e.t("capi.cluster.workers.machineDeployments.title"),"default-add-value":e.defaultWorkerAddValue,"class-options":e.machineDeploymentOptions,"initial-empty-row":!0},model:{value:e.value.spec.topology.workers.machineDeployments,callback:function(t){e.$set(e.value.spec.topology.workers,"machineDeployments",t)},expression:"value.spec.topology.workers.machineDeployments"}})],1):e._e(),e.machinePoolOptions?t("div",{staticClass:"col span-3"},[t("WorkerItem",{attrs:{mode:e.mode,title:e.t("capi.cluster.workers.machinePools.title"),"default-add-value":e.defaultWorkerAddValue,"class-options":e.machinePoolOptions,"initial-empty-row":!0},model:{value:e.value.spec.topology.workers.machinePools,callback:function(t){e.$set(e.value.spec.topology.workers,"machinePools",t)},expression:"value.spec.topology.workers.machinePools"}})],1):e._e()])])]},proxy:!0},{key:"stepVariables",fn:function(){return[t("h2",[t("t",{attrs:{k:"capi.cluster.variables.title"}})],1),t("ClusterClassVariables",{attrs:{"cluster-class":e.clusterClassObj},on:{"validation-passed":t=>e.variablesReady=t},model:{value:e.value.spec.topology.variables,callback:function(t){e.$set(e.value.spec.topology,"variables",t)},expression:"value.spec.topology.variables"}})]},proxy:!0}])})},l=[],r=a("8bbf"),i=a.n(r),o=a("e24b"),n=a("bddd"),c=a("e26b"),d=a("3c8c"),u=a("ebab"),v=a("15ca"),p=a("fd5f"),m=a("305c"),h=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"variables"},[e.variableDefinitions&&e.variableDefinitions.length?[e._l(e.variableDefinitions,(function(a,s){return[t("Variable",{key:""+a.name,ref:a.name+"-input",refInFor:!0,attrs:{variable:a,value:e.valueFor(a),"validate-required":!e.machineDeploymentClass&&!e.machinePoolClass},on:{input:t=>e.updateVariables(t,a),"validation-passed":e.updateErrors}}),e.newComponentType(a,s)?t("div",{key:`${s}-${e.rerenderKey}`,staticClass:"force-newline"}):e._e()]}))]:e._e()],2)},f=[],b=a("44db"),y=a.n(b),C=a("2cb5"),k=a("330a"),g=a.n(k),w=a("c4c6"),x=a("760b"),_=a("7e89");const P=function(e,{key:t="Value"},a){const{exclusiveMinimum:s,exclusiveMaximum:l,maxItems:r,maxLength:i,maximum:o,minItems:n,minLength:c,minimum:d,pattern:u,uniqueItems:v,required:p,format:m}=a,h=[];return o&&(l?h.push(a=>Number(a)>=Number(o)?e("validation.exclusiveMaxValue",{key:t,maximum:o}):void 0):h.push(a=>Number(a)>Number(o)?e("validation.maxValue",{key:t,max:o}):void 0)),void 0!==d&&(s?h.push(a=>Number(a)<=Number(d)?e("validation.exclusiveMinValue",{key:t,minimum:d}):void 0):h.push(a=>Number(a)\n \n \n \n | \n |||
\n | \n |||
\n | \n |||
\n \n {{ groupedRows.ref }}\n \n | \n |||
\n {{ row.mainRowKey }} | \n \n \n | \n \n\n | \n \n | \n
\n | \n {{ row.row.stateDescription }}\n | \n
\n
\n
\n {{ description }}\n
\n \n