Show warning message when upgrade GKE k8s version

https://github.com/rancher/rancher/issues/19010
This commit is contained in:
loganhz 2019-03-19 10:38:52 +08:00
parent 1b9153b83e
commit 9c9f1a1431
2 changed files with 9 additions and 0 deletions

View File

@ -85,6 +85,14 @@
value=config.masterVersion
versions=versionChoices
}}
{{#if (and editing (not-eq initialMasterVersion config.masterVersion))}}
{{banner-message
icon='icon-alert'
color='bg-warning mb-10'
message=(t "clusterNew.googlegke.masterVersion.warning")
}}
{{/if}}
</div>
{{#unless hideNewField}}
<div class="col span-6">

View File

@ -2496,6 +2496,7 @@ clusterNew:
masterVersion:
label: Kubernetes Version
prompt: Choose a Version...
warning: When you upgrade the Kubernetes version with GKE only the master version will be upgraded. If you would like to upgrade the nodes as well you will need to do this manually via the Google Cloud Platform.
clusterIpv4Cidr:
label: Container Address Range
placeholder: e.g. 10.42.0.0/16