Skip to content

Commit 86383c6

Browse files
mburke5678Michael Burke
authored andcommitted
WINC add redirect for 4.12
1 parent bbc2d6c commit 86383c6

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,12 @@ AddType text/vtt vtt
302302
# To activate the redirects, uncomment the next line and update the version number to the pending release.
303303
# RewriteRule container-platform/4\.11/virt/(?!about-virt\.html)(.+)$ /container-platform/4.11/virt/about-virt.html [NE,R=302]
304304

305+
# 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.
306+
# When uncommented, this redirects all `windows_containers` directory traffic to the /windows_containers/index.html page.
307+
# To activate the redirects, uncomment the next line and update the version number to the pending release.
308+
RewriteRule container-platform/4\.12/windows_containers/(?!index\.html)(.+)$ /container-platform/4.12/windows_containers/index.html [NE,R=302]
309+
RewriteRule ^container-platform/4\.12/support/troubleshooting/troubleshooting-windows-container-workload-issues\.html(.*)$ /container-platform/4.12/windows_containers/index.html [NE,R=302]
310+
305311
# Serverless Redirects
306312
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]
307313

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

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

167+
# 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.
168+
# When uncommented, this redirects all `windows_containers` directory traffic to the /windows_containers/index.html page.
169+
# To activate the redirects, uncomment the next line and update the version number to the pending release.
170+
RewriteRule ^(latest|4\.12)/windows_containers/(?!index\.html)(.+)$ /$1/windows_containers/index.html [NE,R=302]
171+
RewriteRule ^(latest|4\.12)/support/troubleshooting/troubleshooting-windows-container-workload-issues\.html(.*)$ /$1/windows_containers/index.html [NE,R=302]
172+
167173
</Directory>
168174
</IfModule>
169175

windows_containers/index.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ 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+
////
912
{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].
1013

1114
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,4 +36,4 @@ You can xref:../windows_containers/disabling-windows-container-workloads.adoc#di
3336

3437
* Uninstalling the Windows Machine Config Operator
3538
* Deleting the Windows Machine Config Operator namespace
36-
39+
////

0 commit comments

Comments
 (0)