Skip to content

Commit 9197bb0

Browse files
authored
Merge pull request #67764 from kalexand-rh/winc-4.14-redirect
OSDOCS#8341: WINC 4.14 redirect
2 parents 9a0be7a + 2e38e51 commit 9197bb0

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,13 @@ AddType text/vtt vtt
436436

437437
# RewriteRule container-platform/4\.14/virt/(?!about-virt\.html)(.+)$ /container-platform/4.14/virt/about_virt/about-virt.html [NE,R=302]
438438

439+
440+
# Red Hat OpenShift support for Windows Containers (WMCO) catchall redirect; use when WMCO releases asynchronously from OCP. Do not change the 302 to a 301.
441+
# When uncommented, this redirects all `windows_containers` directory traffic to the /windows_containers/index.html page.
442+
# To activate the redirects, uncomment the next line and update the version number to the pending release.
443+
RewriteRule container-platform/4\.14/windows_containers/(?!index\.html)(.+)$ /container-platform/4.14/windows_containers/index.html [NE,R=302]
444+
RewriteRule ^container-platform/4\.14/support/troubleshooting/troubleshooting-windows-container-workload-issues\.html(.*)$ /container-platform/4.14/windows_containers/index.html [NE,R=302]
445+
439446
# Serverless Redirects
440447
RewriteRule container-platform/(4\.5|4\.6)/serverless/knative_eventing/(serverless-subscriptions\.html|serverless-channels\.html|serverless-subscriptions\.html) /container-platform/$1/serverless/event_workflows/serverless-channels.html [NE,R=301]
441448

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ AddType text/vtt vtt
168168
# To activate the redirects, uncomment the next and previous lines and update the version number to the pending release.
169169
# RewriteRule ^(latest|4\.14)/virt/(?!about-virt\.html)(.+)$ /$1/virt/about_virt/about-virt.html [NE,R=302]
170170

171+
# Red Hat OpenShift support for Windows Containers (WMCO) catchall redirect; use when WMCO releases asynchronously from OCP. Do not change the 302 to a 301.
172+
# When uncommented, this redirects all `windows_containers` directory traffic to the /windows_containers/index.html page.
173+
# To activate the redirects, uncomment the next line and update the version number to the pending release.
174+
RewriteRule ^(latest|4\.14)/windows_containers/(?!index\.html)(.+)$ /$1/windows_containers/index.html [NE,R=302]
175+
RewriteRule ^(latest|4\.14)/support/troubleshooting/troubleshooting-windows-container-workload-issues\.html(.*)$ /$1/windows_containers/index.html [NE,R=302]
176+
171177
</Directory>
172178
</IfModule>
173179

windows_containers/index.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9+
Documentation for {productwinc} will be available for {product-title} {product-version} in the near future.
10+
11+
////
12+
913
{productwinc} is a feature providing the ability to run Windows compute nodes in an {product-title} cluster. This is possible by using the Red Hat Windows Machine Config Operator (WMCO) to install and manage Windows nodes. With a Red Hat subscription, you can get support for running Windows workloads in {product-title}. Windows instances deployed by the WMCO are configured with the containerd container runtime. For more information, see the xref:../windows_containers/windows-containers-release-notes-6-x.adoc#windows-containers-release-notes-6-x[release notes].
1014

1115
You can add Windows nodes either by creating a xref:../windows_containers/creating_windows_machinesets/creating-windows-machineset-aws.adoc#creating-windows-machineset-aws[compute machine set] or by specifying existing Bring-Your-Own-Host (BYOH) Window instances through a xref:../windows_containers/byoh-windows-instance.adoc#byoh-windows-instance[configuration map].
@@ -33,3 +37,5 @@ You can xref:../windows_containers/disabling-windows-container-workloads.adoc#di
3337

3438
* Uninstalling the Windows Machine Config Operator
3539
* Deleting the Windows Machine Config Operator namespace
40+
41+
////

0 commit comments

Comments
 (0)