imfreedom/k8s-cluster
Replace the trac app with a static webcrawl of the application
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-developer.pidgin.im/kustomization.yaml Mon Feb 05 02:48:51 2024 -0600
@@ -0,0 +1,7 @@
+ app: developer-pidgin-im --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-developer.pidgin.im/manifest.yaml Mon Feb 05 02:48:51 2024 -0600
@@ -0,0 +1,204 @@
+apiVersion: traefik.containo.us/v1alpha1 + name: d-pidgin-im-redirect + regex: ^https?:\/\/[^\/]+(.*)$ + replacement: https://developer.pidgin.im${1} +apiVersion: traefik.containo.us/v1alpha1 + name: trac-ticket-to-youtrack + regex: ^https?:\/\/[^\/]+/ticket/(\d+).*$ + replacement: https://issues.imfreedom.org/issue/PIDGIN-${1} +apiVersion: traefik.containo.us/v1alpha1 + name: trac-report-to-youtrack + regex: ^https?:\/\/[^\/]+/report(/.*)?$ + replacement: https://issues.imfreedom.org/issues/PIDGIN?u=1 +apiVersion: traefik.containo.us/v1alpha1 + name: trac-query-to-youtrack + regex: ^https?:\/\/[^\/]+/query(.*)?$ + replacement: https://issues.imfreedom.org/issues/ +apiVersion: traefik.containo.us/v1alpha1 + name: trac-timeline-to-youtrack + regex: ^https?:\/\/[^\/]+/timeline(.*)?$ + replacement: https://issues.imfreedom.org/issues/ +apiVersion: traefik.containo.us/v1alpha1 + name: trac-bonjour-windows + regex: ^https?:\/\/[^\/]+/BonjourWindows(.*)?$ + replacement: /wiki/Protocol Specific Questions#CanIuseWindowsPidginforBonjour +apiVersion: traefik.containo.us/v1alpha1 + name: developer-pidgin-im-http + - match: Host(`developer.pidgin.im`) + - name: developer-pidgin-im +apiVersion: traefik.containo.us/v1alpha1 + name: developer-pidgin-im + - match: Host(`developer.pidgin.im`) + - name: developer-pidgin-im + - name: trac-ticket-to-youtrack + - name: trac-report-to-youtrack + - name: trac-query-to-youtrack + - name: trac-timeline-to-youtrack + - name: trac-bonjour-windows + secretName: developer-pidgin-im-tls +apiVersion: traefik.containo.us/v1alpha1 + - match: Host(`d.pidgin.im`) + - name: developer-pidgin-im + - name: d-pidgin-im-redirect +apiVersion: traefik.containo.us/v1alpha1 + - match: Host(`d.pidgin.im`) + - name: developer-pidgin-im + - name: d-pidgin-im-redirect + secretName: developer-pidgin-im-tls +apiVersion: cert-manager.io/v1 + name: developer-pidgin-im + secretName: developer-pidgin-im-tls + commonName: developer.pidgin.im + name: developer-pidgin-im + name: developer-pidgin-im + revisionHistoryLimit: 0 + app: developer-pidgin-im + app: developer-pidgin-im + preferredDuringSchedulingIgnoredDuringExecution: + topologyKey: failure-domain.beta.kubernetes.io/region + image: docker.io/pidgin/developer.pidgin.im:latest + imagePullPolicy: Always --- a/50-developer.pidgin.im/postgres/kustomization.yaml Fri Feb 02 01:04:36 2024 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
----
-namespace: roost
- disableNameSuffixHash: true
--- a/50-developer.pidgin.im/postgres/manifest.yaml Fri Feb 02 01:04:36 2024 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,116 +0,0 @@
-# developer.pidgin.im is a containerized version of the old trac site from the
----
----
-apiVersion: networking.k8s.io/v1
----
- revisionHistoryLimit: 0
- imagePullPolicy: Always
- - name: POSTGRES_PASSWORD
- - mountPath: /var/lib/postgresql/data
----
-kind: PersistentVolumeClaim
----
-apiVersion: gemini.fairwinds.com/v1beta1
----
--- a/50-developer.pidgin.im/trac/kustomization.yaml Fri Feb 02 01:04:36 2024 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
----
-namespace: roost
- - name: trac-apache2-sites-enabled
- - sites-enabled/developer.pidgin.im.conf
- disableNameSuffixHash: true
- disableNameSuffixHash: true
- - secrets/trac.htdigest
- disableNameSuffixHash: true
--- a/50-developer.pidgin.im/trac/manifest.yaml Fri Feb 02 01:04:36 2024 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,277 +0,0 @@
----
-apiVersion: traefik.containo.us/v1alpha1
- name: d-pidgin-im-redirect
- regex: ^https?:\/\/[^\/]+(.*)$
- replacement: https://developer.pidgin.im${1}
----
-apiVersion: traefik.containo.us/v1alpha1
- name: trac-ticket-to-youtrack
- regex: ^https?:\/\/[^\/]+/ticket/(\d+).*$
- replacement: https://issues.imfreedom.org/issue/PIDGIN-${1}
----
-apiVersion: traefik.containo.us/v1alpha1
- name: trac-report-to-youtrack
- regex: ^https?:\/\/[^\/]+/report(/.*)?$
- replacement: https://issues.imfreedom.org/issues/PIDGIN?u=1
----
-apiVersion: traefik.containo.us/v1alpha1
- name: trac-query-to-youtrack
- regex: ^https?:\/\/[^\/]+/query(.*)?$
- replacement: https://issues.imfreedom.org/issues/
----
-apiVersion: traefik.containo.us/v1alpha1
- name: trac-timeline-to-youtrack
- regex: ^https?:\/\/[^\/]+/timeline(.*)?$
- replacement: https://issues.imfreedom.org/issues/
----
-apiVersion: traefik.containo.us/v1alpha1
- name: developer-pidgin-im-http
- - match: Host(`developer.pidgin.im`)
----
-apiVersion: traefik.containo.us/v1alpha1
- name: developer-pidgin-im
- - match: Host(`developer.pidgin.im`)
- - name: trac-ticket-to-youtrack
- - name: trac-report-to-youtrack
- - name: trac-query-to-youtrack
- - name: trac-timeline-to-youtrack
- secretName: developer-pidgin-im-tls
----
-apiVersion: traefik.containo.us/v1alpha1
- - match: Host(`d.pidgin.im`)
- - name: d-pidgin-im-redirect
----
-apiVersion: traefik.containo.us/v1alpha1
- - match: Host(`d.pidgin.im`)
- - name: d-pidgin-im-redirect
- secretName: developer-pidgin-im-tls
----
-apiVersion: cert-manager.io/v1
- name: developer-pidgin-im
- secretName: developer-pidgin-im-tls
- commonName: developer.pidgin.im
----
----
- revisionHistoryLimit: 0
- image: docker.io/rwgrim/trac-bootstrap:latest
- imagePullPolicy: Always
- image: docker.io/rwgrim/apache2-trac:latest
- imagePullPolicy: Always
- - mountPath: /srv/trac/conf
- - mountPath: /srv/trac/log
- - mountPath: /etc/apache2/sites-enabled/
- name: trac-apache2-sites-enabled
- - name: trac-apache2-sites-enabled
- name: trac-apache2-sites-enabled
----
-kind: PersistentVolumeClaim
----
-apiVersion: gemini.fairwinds.com/v1beta1
----
--- a/50-developer.pidgin.im/trac/sites-enabled/developer.pidgin.im.conf Fri Feb 02 01:04:36 2024 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-<Directory "/srv/trac/deploy/cgi-bin/trac.wsgi">
- WSGIApplicationGroup %{GLOBAL}
-<Directory "/srv/trac/deploy/cgi-bin/viewmtn_to_hg.wsgi">
- WSGIApplicationGroup %{GLOBAL}
-<Directory "/srv/trac/deploy/">
- Options -Indexes -MultiViews
-<Directory "/srv/trac/files/attachments/">
- Options -Indexes -MultiViews
-<Directory "/srv/htdocs_extension/">
- Options -Indexes -MultiViews
- # ServerName developer.pidgin.im
- # Header edit Set-Cookie "^(.*)" $1;Secure;HttpOnly
- # Header set X-Frame-Options DENY
- # Header always set Strict-Transport-Security "max-age=31536000"
- XSendFilePath /srv/trac/files/attachments/
- #XSendFilePath /srv/downloads/
- DocumentRoot /srv/trac/deploy/htdocs
- WSGIScriptAlias /viewmtn /srv/trac/deploy/cgi-bin/viewmtn_to_hg.wsgi
- WSGIScriptAlias / /srv/trac/deploy/cgi-bin/trac.wsgi
- Alias /chrome/ /srv/trac/deploy/htdocs/
- Alias /static/ /srv/trac/deploy/htdocs/site/
- Alias /robots.txt /srv/trac/deploy/htdocs/site/robots.txt
- Alias /favicon.ico /srv/trac/deploy/htdocs/site/pidgin.ico
- Alias /l10n/ /srv/trac/deploy/htdocs/l10n/
- Alias /extension/ /srv/htdocs_extension/
- #Alias /raw-attachment/ /srv/trac/files/attachments/
- Alias /shared/ /srv/htdocs/shared
- # try to rate limit people on /query, /register, and /search
- #<LocationMatch "^/(query|register|search)">
- # SecAction initcol:ip=${REMOTE_ADDR},pass,nolog
- # SecAction "phase:5,deprecatevar:ip.heavypaths=1/1,pass,nolog"
- # SecRule IP:HEAVYPATHS "@gt 20" "phase:2,pause:300,deny,status:509,setenv:RATELIMITED,skip:1,nolog"
- # SecAction "phase:2,pass,setvar:ip.heavypaths=+1,nolog"
- RedirectPermanent /simpleticket /newticket
- RedirectPermanent /BonjourWindows "/wiki/Protocol Specific Questions#CanIuseWindowsPidginforBonjour"
- RedirectMatch permanent /doxygen/2.0.0/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1
- RedirectMatch permanent /doxygen/2.2.0/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1
- RedirectMatch permanent /doxygen/2.5.0/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1
- RedirectMatch permanent /doxygen/2.5.2/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1
- RedirectMatch permanent /doxygen/2.7.11/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1
- RedirectMatch permanent /doxygen/2.10.5/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1
- RedirectMatch permanent /doxygen/2.13.0/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1
- RedirectMatch permanent /doxygen/dev2.x.y/html/(.*) https://docs.pidgin.im/pidgin/2.x.y/$1