Skip to content

Commit 7a8e9f5

Browse files
authored
Merge pull request #65317 from Srivaralakshmi/gitops-link-redirects
RHDEVDOCS-5358 set up direct link and latest redirects for GitOps
2 parents c591202 + e4e676c commit 7a8e9f5

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

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

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,33 @@ AddType text/vtt vtt
238238
# redirect top-level without filespec to the about file
239239
RewriteRule ^gitops/(1\.8|1\.9)/?$ /gitops/$1/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
240240

241-
241+
# GitOps landing page
242+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/about-redhat-openshift-gitops.html /gitops/latest/understanding_openshift_gitops/about-redhat-openshift-gitops.html[L,R=302]
243+
244+
# redirect any links to existing OCP embedded content to standalone equivalent for each assembly
245+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/gitops-release-notes.html/ /gitops/latest/release_notes/gitops-release-notes.html [L,R=302]
246+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/understanding-openshift-gitops.html /gitops/latest/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
247+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/installing-openshift-gitops.html /gitops/latest/installing_gitops/installing-openshift-gitops.html [L,R=302]
248+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/uninstalling-openshift-gitops.html /gitops/latest/removing_gitops/uninstalling-openshift-gitops.html [L,R=302]
249+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/setting-up-argocd-instance.html /gitops/latest/argocd_instance/setting-up-argocd-instance.html [L,R=302]
250+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/monitoring-argo-cd-instances.html /gitops/latest/observability/monitoring/monitoring-argo-cd-instances.html [L,R=302]
251+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/using-argo-rollouts-for-progressive-deployment-delivery.html /gitops/latest/argo_rollouts/using-argo-rollouts-for-progressive-deployment-delivery.html [L,R=302]
252+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/configuring-an-openshift-cluster-by-deploying-an-application-with-cluster-configurations.html /gitops/latest/declarative_clusterconfig/configuring-an-openshift-cluster-by-deploying-an-application-with-cluster-configurations.html [L,R=302]
253+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/deploying-a-spring-boot-application-with-argo-cd.html /gitops/latest/argocd_applications/deploying-a-spring-boot-application-with-argo-cd.html [L,R=302]
254+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/argo-cd-custom-resource-properties.html /gitops/latest/argocd_instance/argo-cd-cr-component-properties.html [L,R=302]
255+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/configuring-secure-communication-with-redis.html /gitops/latest/securing_openshift_gitops/configuring-secure-communication-with-redis.html [L,R=302]
256+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/health-information-for-resources-deployment.html /gitops/latest/observability/monitoring/health-information-for-resources-deployment.html [L,R=302]
257+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/configuring-sso-on-argo-cd-using-dex.html /gitops/latest/accesscontrol_usermanagement/configuring-sso-on-argo-cd-using-dex.html [L,R=302]
258+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/configuring-sso-for-argo-cd-using-keycloak.html /gitops/latest/accesscontrol_usermanagement/configuring-sso-for-argo-cd-using-keycloak.html [L,R=302]
259+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/configuring-argo-cd-rbac.html /gitops/latest/accesscontrol_usermanagement/configuring-argo-cd-rbac.html [L,R=302]
260+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/configuring-resource-quota.html /gitops/latest/managing_resource/configuring-resource-quota.html [L,R=302]
261+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/monitoring-argo-cd-custom-resource-workloads.html /gitops/latest/observability/monitoring/monitoring-argo-cd-custom-resource-workloads.html [L,R=302]
262+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/viewing-argo-cd-logs.html /gitops/latest/observability/logging/viewing-argo-cd-logs.html [L,R=302]
263+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/run-gitops-control-plane-workload-on-infra-nodes.html /gitops/latest/gitops_workloads_infranodes/run-gitops-control-plane-workload-on-infra-nodes.html [L,R=302]
264+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/about-sizing-requirements-gitops.html /gitops/latest/installing_gitops/preparing-gitops-install.html [L,R=302]
265+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/collecting-debugging-data-for-support.html /gitops/latest/understanding_openshift_gitops/gathering-gitops-diagnostic-information-for-support.html [L,R=302]
266+
RewriteRule ^container-platform/(4\.11|4\.12|4\.13)/cicd/gitops/troubleshooting-issues-in-GitOps.html /gitops/latest/troubleshooting_gitops_issues/auto-reboot-during-argo-cd-sync-with-machine-configurations.html [L,R=302]
267+
242268
# Pipelines handling unversioned and latest links
243269
RewriteRule ^pipelines/?$ /pipelines/latest [R=302]
244270
RewriteRule ^pipelines/latest/?(.*)$ /pipelines/1\.11/$1 [NE,R=302]

0 commit comments

Comments
 (0)