Merge pull request #4586 from westlywright/bug.gke.import.reg.version

Custom Cluster Command Warning
This commit is contained in:
Westly Wright 2021-04-28 13:41:41 -07:00 committed by GitHub
commit 001e949997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 2 deletions

View File

@ -47,6 +47,19 @@
</label>
</div>
</div>
{{#unless (and (and controlplane worker) etcd)}}
<row class="mb-20">
<div class="col span-12">
<BannerMessage
@color="bg-warning"
@message={{t
"clusterNew.rke.role.warning"
appName=settings.appName
}}
/>
</div>
</row>
{{/unless}}
{{#advanced-section advanced=commandAdvanced}}
<div class="row mt-20">
<div class="col span-6">
@ -229,7 +242,9 @@
@tagName="div"
@classNames="copy-to-pre"
/>
<pre id="registration-command" style="font-size: 14px;">{{command}}</pre>
<pre id="registration-command" style="font-size: 14px;">
{{command}}
</pre>
{{/if}}
</div>
</li>

View File

@ -4539,7 +4539,8 @@ clusterNew:
user:
label: Username
role:
detail: Choose what roles the node will have in the cluster. The cluster needs to have at least one node with each role.
detail: Choose what roles the node will have in the cluster.
warning: The cluster needs to have at least one node with each role in order for {appName} to finish provisioning.
header:
controlplane: Control Plane
etcd: etcd