You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2022/03/14 18:17:36 UTC

[solr-site] branch main updated: Redirect CRDs to closer.lua (actual releases) instead of nightlies (#72)

This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 6ff6af8  Redirect CRDs to closer.lua (actual releases) instead of nightlies (#72)
6ff6af8 is described below

commit 6ff6af899c656a4574db37c04b007cbdfe33a64b
Author: Houston Putman <ho...@gmail.com>
AuthorDate: Mon Mar 14 14:17:24 2022 -0400

    Redirect CRDs to closer.lua (actual releases) instead of nightlies (#72)
---
 themes/solr/templates/htaccess.template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/themes/solr/templates/htaccess.template b/themes/solr/templates/htaccess.template
index 463ec0c..a40b8ba 100644
--- a/themes/solr/templates/htaccess.template
+++ b/themes/solr/templates/htaccess.template
@@ -71,7 +71,10 @@ RedirectMatch Permanent ^/docs/api-(.*) /docs/$1
 
 ### Redirects to Apache Nightlies, this will change when they have a separate area for released artifacts
 Redirect temp /charts https://nightlies.apache.org/solr/release/helm-charts
-Redirect temp /operator/downloads/crds https://nightlies.apache.org/solr/release/operator/crds
+### Redirects to Apache Nightlies for pre-Apache Solr Operator CRDs (These don't exist in the archives)
+RedirectMatch ^/operator/downloads/crds/(v0\.2\.6|v0\.2\.7|v0\.2\.8) https://nightlies.apache.org/solr/release/operator/crds/$1
+### Redirects to Apache Archives, where the official release CRDs are stored
+RedirectMatch ^/operator/downloads/crds/(v\d+\.\d+\.\d+) https://www.apache.org/dyn/closer.lua?action=download&filename=/solr/solr-operator/$1/crds
 
 ### Javadocs & Refguide