Skip to content

Commit

Permalink
rke1 deprecation banner on create and edit pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo Mesgin authored and Mo Mesgin committed Feb 11, 2025
1 parent 1fd665a commit a825e96
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/authenticated/cluster/edit/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
</h1>
</section>

<BannerMessage
@color="bg-warning"
@icon="icon-alert"
@message={{t "clustersPage.rke1DeprecationMessage" htmlSafe=true}}
/>

<CruCluster
@applyClusterTemplate={{not (is-empty clusterTemplateRevision)}}
@clusterTemplateRevisionId={{mut clusterTemplateRevision}}
Expand Down
5 changes: 5 additions & 0 deletions lib/global-admin/addon/clusters/new/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
</h1>
</section>
<section class="cluster-launch">
<BannerMessage
@color="bg-warning"
@icon="icon-alert"
@message={{t "clustersPage.rke1DeprecationMessage" htmlSafe=true}}
/>
{{outlet}}
</section>
1 change: 1 addition & 0 deletions translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1426,6 +1426,7 @@ clustersPage:
label: "Add Cluster - Select Cluster Type"
template:
label: "Add Cluster - Select RKE Template"
rke1DeprecationMessage: 'Rancher Kubernetes Engine (RKE, RKE1) will reach end of life on July 31, 2025. Rancher 2.12.0 and later will no longer support provisioning or managing downstream RKE1 clusters. We recommend replatforming RKE1 clusters to RKE2 to ensure continued support and security updates. Learn more about the transition <a href="https://www.suse.com/support/kb/doc/?id=000021518" target="_blank" rel="noopener noreferrer nofollow">here</a>.'

clusterRibbonNav:
title: Recent Clusters
Expand Down

0 comments on commit a825e96

Please sign in to comment.