Skip to content

Commit b92640e

Browse files
Merge pull request #67792 from agantony/ROX20095-main
2 parents 0388230 + 0fb9196 commit b92640e

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.s2i/httpd-cfg/01-commercial.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ AddType text/vtt vtt
138138
# ACS Redirects to go to the latest version - change here when a new version drops
139139
# it should probably be best to combine the next few lines in one reg exp but for clarity keeping them separate
140140
# the first one redirects
141-
RewriteRule ^acs/?$ /acs/4.2/welcome/index.html [R=301]
141+
RewriteRule ^acs/?$ /acs/4.3/welcome/index.html [R=301]
142142
# redirect to the latest release notes
143-
RewriteRule ^acs/release_notes/?$ /acs/4.2/release_notes/42-release-notes.html [R=301,NE]
143+
RewriteRule ^acs/release_notes/?$ /acs/4.3/release_notes/43-release-notes.html [R=301,NE]
144144
# redirect from ACS CLoud Service page
145-
RewriteRule ^acs/installing/install-ocp-operator.html /acs/4.2/installing/installing_ocp/init-bundle-ocp.html [NE,R=301]
146-
RewriteRule ^acs/(\D.*)$ /acs/4.2/$1 [NE,R=301]
147-
RewriteRule ^acs/(3\.65|3\.66|3\.67|3\.68|3\.69|3\.70|3\.71|3\.72|3\.73|3\.74|4\.0|4\.1|4\.2)/?$ /acs/$1/welcome/index.html [L,R=301]
145+
RewriteRule ^acs/installing/install-ocp-operator.html /acs/4.3/installing/installing_ocp/init-bundle-ocp.html [NE,R=301]
146+
RewriteRule ^acs/(\D.*)$ /acs/4.3/$1 [NE,R=301]
147+
RewriteRule ^acs/(3\.65|3\.66|3\.67|3\.68|3\.69|3\.70|3\.71|3\.72|3\.73|3\.74|4\.0|4\.1|4\.2|4\.3)/?$ /acs/$1/welcome/index.html [L,R=301]
148148
#redirect for 4.0 Manage vulneribility page
149149
RewriteRule ^(acs/(?:4\.0/)?)?operating/manage-vulnerabilities\.html$ /acs/4.0/operating/manage-vulnerabilities/vulnerability-management.html [NE,R=301]
150150

_distro_map.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ openshift-acs:
286286
rhacs-docs-4.2:
287287
name: '4.2'
288288
dir: acs/4.2
289+
rhacs-docs-4.3:
290+
name: '4.3'
291+
dir: acs/4.3
289292
microshift:
290293
name: Red Hat build of MicroShift
291294
author: OpenShift Documentation Project <[email protected]>

_templates/_page_openshift.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
<%= distro %>
196196
</a>
197197
<select id="version-selector" onchange="versionSelector(this);">
198+
<option value="4.3">4.3</option>
198199
<option value="4.2">4.2</option>
199200
<option value="4.1">4.1</option>
200201
<option value="4.0">4.0</option>

index-commercial.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ <h2>Red Hat Advanced Cluster Security for Kubernetes</h2>
242242
<div class="btn-group">
243243
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Select version<span class="caret"></span></button>
244244
<ul class="dropdown-menu" role="menu">
245+
<li><a href="acs/4.3/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.3</a></li>
245246
<li><a href="acs/4.2/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.2</a></li>
246247
<li><a href="acs/4.1/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.1</a></li>
247248
<li><a href="acs/4.0/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.0</a></li>

0 commit comments

Comments
 (0)