Skip to content

Commit 0bc944d

Browse files
committed
OSSM-6901: Create banner for Service Mesh 3.0 Tech Preview release
1 parent 6c43dfd commit 0bc944d

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

_templates/_page_openshift.html.erb

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@
7575
</span>
7676
<% end %>
7777

78+
<% if (distro_key == "openshift-service-mesh") %>
79+
<span>
80+
<div class="alert alert-danger" role="alert" id="support-alert">
81+
<strong>OpenShift Service Mesh 3.0 is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. This documentation is a work in progress and might not be complete or fully tested.</strong>.
82+
</div>
83+
</span>
84+
<% end %>
85+
7886
<% if (version == "4.17") && (distro_key != "openshift-webscale" && distro_key != "openshift-dpu" && distro_key != "rosa-hcp") %>
7987
<span>
8088
<div class="alert alert-danger" role="alert" id="support-alert">
@@ -271,6 +279,13 @@
271279
<select id="version-selector" onchange="versionSelector(this);">
272280
<option value="1.0tp1">1.0tp1</option>
273281
</select>
282+
<% elsif (distro_key == "openshift-service-mesh") %>
283+
<a href="https://docs.openshift.com/service-mesh/<%= version %>/about/ossm-about-openshift-service-mesh.html">
284+
<%= distro %>
285+
</a>
286+
<select id="version-selector" onchange="versionSelector(this);">
287+
<option value="3.0.0tp1">1.0tp1</option>
288+
</select>
274289
<% elsif (distro_key == "openshift-telco") %>
275290
<a href="https://docs.openshift.com/container-platform-telco/<%= version %>/welcome/index.html">
276291
<%= distro %>
@@ -314,7 +329,7 @@
314329
<li class="hidden-xs active">
315330
<%= breadcrumb_topic %>
316331
</li>
317-
<% if (distro_key != "openshift-origin" && distro_key != "openshift-aro" && distro_key != "openshift-acs" && distro_key != "openshift-serverless" && distro_key != "openshift-gitops" && distro_key != "openshift-pipelines" && distro_key != "openshift-builds" && distro_key != "openshift-lightspeed" && distro_key != "openshift-telco") %>
332+
<% if (distro_key != "openshift-origin" && distro_key != "openshift-aro" && distro_key != "openshift-acs" && distro_key != "openshift-serverless" && distro_key != "openshift-gitops" && distro_key != "openshift-pipelines" && distro_key != "openshift-builds" && distro_key != "openshift-lightspeed" && distro_key != "openshift-service-mesh" && distro_key != "openshift-telco") %>
318333
<span text-align="right" style="float: right !important">
319334
<a href="https://github.com/openshift/openshift-docs/commits/<%=
320335
((distro_key == "openshift-enterprise") ? "enterprise-#{version}"
@@ -512,7 +527,8 @@
512527
'openshift-pipelines' : ['docs_pipelines', version],
513528
'openshift-builds' : ['docs_builds', version],
514529
'openshift-gitops' : ['docs_gitops', version],
515-
'openshift-lightspeed' : ['docs_lightspeed', version]
530+
'openshift-lightspeed' : ['docs_lightspeed', version],
531+
'openshift-service-mesh' : ['docs_service_mesh', version]
516532
};
517533

518534
// only OSD v3 docs have the version variable specified

0 commit comments

Comments
 (0)