Skip to content

Commit ed61d5d

Browse files
Changing redirects and version selector for GitOps 1.12
1 parent f03f3e3 commit ed61d5d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,12 @@ AddType text/vtt vtt
256256
# Builds using Shipwright landing page
257257
RewriteRule ^container-platform/(4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/builds_using_shipwright/overview-openshift-builds.html /builds/latest/about/overview-openshift-builds.html [L,R=302]
258258

259-
# redirect gitops latest to 1.11
259+
# redirect gitops latest to 1.12
260260
RewriteRule ^gitops/?$ /gitops/latest [R=302]
261-
RewriteRule ^gitops/latest/?(.*)$ /gitops/1\.11/$1 [NE,R=302]
261+
RewriteRule ^gitops/latest/?(.*)$ /gitops/1\.12/$1 [NE,R=302]
262262

263263
# redirect top-level without filespec to the about file
264-
RewriteRule ^gitops/(1\.8|1\.9|1\.10|1\.11)/?$ /gitops/$1/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
264+
RewriteRule ^gitops/(1\.8|1\.9|1\.10|1\.11|1\.12)/?$ /gitops/$1/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
265265

266266
# GitOps landing page
267267
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/about-redhat-openshift-gitops.html /gitops/latest/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]

_templates/_page_openshift.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@
245245
<%= distro %>
246246
</a>
247247
<select id="version-selector" onchange="versionSelector(this);">
248+
<option value="1.12">1.12</option>
248249
<option value="1.11">1.11</option>
249250
<option value="1.10">1.10</option>
250251
<option value="1.9">1.9</option>

0 commit comments

Comments
 (0)