imfreedom/k8s-cluster
Tear down all of the old doc container and redirect everything to docs.imfreedom.org
--- a/50-docs.pidgin.im/gplugin-gtk-latest.yaml Sun Oct 10 02:22:58 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
----
-apiVersion: v1
- name: docs-gplugin-gtk-latest
----
-apiVersion: networking.k8s.io/v1
- name: docs-gplugin-gtk-latest
----
-apiVersion: policy/v1beta1
-kind: PodDisruptionBudget
- name: docs-gplugin-gtk-latest
----
- name: docs-gplugin-gtk-latest
- revisionHistoryLimit: 0
- preferredDuringSchedulingIgnoredDuringExecution:
- topologyKey: failure-domain.beta.kubernetes.io/region
- - name: docs-gplugin-gtk-latest
- image: gplugin/gplugin-gtk-docs:latest
- imagePullPolicy: Always
----
--- a/50-docs.pidgin.im/gplugin-latest.yaml Sun Oct 10 02:22:58 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
----
-apiVersion: v1
- name: docs-gplugin-latest
----
-apiVersion: networking.k8s.io/v1
- name: docs-gplugin-latest
----
-apiVersion: policy/v1beta1
-kind: PodDisruptionBudget
- name: docs-gplugin-latest
----
- name: docs-gplugin-latest
- revisionHistoryLimit: 0
- preferredDuringSchedulingIgnoredDuringExecution:
- topologyKey: failure-domain.beta.kubernetes.io/region
- - name: docs-gplugin-latest
- image: gplugin/gplugin-docs:latest
- imagePullPolicy: Always
----
--- a/50-docs.pidgin.im/kustomization.yaml Sun Oct 10 02:22:58 2021 -0500
+++ b/50-docs.pidgin.im/kustomization.yaml Sun Oct 10 05:58:01 2021 -0500
@@ -2,10 +2,4 @@
- - gplugin-gtk-latest.yaml
- - libpurple-latest.yaml
--- a/50-docs.pidgin.im/libgnt-latest.yaml Sun Oct 10 02:22:58 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
----
-apiVersion: v1
- name: docs-libgnt-latest
----
-apiVersion: networking.k8s.io/v1
- name: docs-libgnt-latest
----
-apiVersion: policy/v1beta1
-kind: PodDisruptionBudget
- name: docs-libgnt-latest
----
- name: docs-libgnt-latest
- revisionHistoryLimit: 0
- preferredDuringSchedulingIgnoredDuringExecution:
- topologyKey: failure-domain.beta.kubernetes.io/region
- - name: docs-libgnt-latest
- image: libgnt/docs:latest
- imagePullPolicy: Always
----
--- a/50-docs.pidgin.im/libgnt-next.yaml Sun Oct 10 02:22:58 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
----
-apiVersion: v1
----
-apiVersion: networking.k8s.io/v1
----
-apiVersion: policy/v1beta1
-kind: PodDisruptionBudget
----
- revisionHistoryLimit: 0
- preferredDuringSchedulingIgnoredDuringExecution:
- topologyKey: failure-domain.beta.kubernetes.io/region
- - name: docs-libgnt-next
- image: libgnt/docs:next
- imagePullPolicy: Always
----
--- a/50-docs.pidgin.im/libpurple-latest.yaml Sun Oct 10 02:22:58 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
----
-apiVersion: v1
- name: docs-libpurple-latest
----
-apiVersion: networking.k8s.io/v1
- name: docs-libpurple-latest
----
-apiVersion: policy/v1beta1
-kind: PodDisruptionBudget
- name: docs-libpurple-latest
----
- name: docs-libpurple-latest
- revisionHistoryLimit: 0
- preferredDuringSchedulingIgnoredDuringExecution:
- topologyKey: failure-domain.beta.kubernetes.io/region
- - name: docs-libpurlle-latest
- image: pidgin/libpurple3-docs:latest
- imagePullPolicy: Always
----
--- a/50-docs.pidgin.im/manifest.yaml Sun Oct 10 02:22:58 2021 -0500
+++ b/50-docs.pidgin.im/manifest.yaml Sun Oct 10 05:58:01 2021 -0500
@@ -1,21 +1,5 @@
-# this manifest contains an ingress that does path based matching to route to
-# individual services that are runnings the docs via a simple http server.
----
-apiVersion: traefik.containo.us/v1alpha1
- name: docs-strip-prefix
+# this manifest redirects the old multiple deployment docs site to the new +# single deployment doc site at docs.imfreedom.org apiVersion: traefik.containo.us/v1alpha1
@@ -25,67 +9,19 @@
- - match: Host(`docs.pidgin.im`) && PathPrefix(`/pidgin/2.x.y`)
- - name: docs-pidgin-2-x-y
- - name: docs-strip-prefix
- - match: Host(`docs.pidgin.im`) && PathPrefix(`/gplugin/latest`)
- - name: docs-gplugin-latest
- - name: docs-strip-prefix
- - match: Host(`docs.pidgin.im`) && PathPrefix(`/gplugin-gtk/latest`)
- - name: docs-gplugin-gtk-latest
- - name: docs-strip-prefix
- - match: Host(`docs.pidgin.im`) && PathPrefix(`/libgnt/latest`)
+ - match: Host(`docs.pidgin.im`) - - name: docs-libgnt-latest
- - name: docs-strip-prefix
- - match: Host(`docs.pidgin.im`) && PathPrefix(`/libpurple/latest`)
- - name: docs-libpurple-latest
- - name: docs-strip-prefix
- - match: Host(`docs.pidgin.im`) && PathPrefix(`/libgnt/next`)
- - name: docs-libgnt-next
- - name: docs-strip-prefix
- - match: Host(`docs.pidgin.im`) && PathPrefix(`/talkatu/latest`)
- - name: docs-talkatu-latest
- - name: docs-strip-prefix
+ - name: redirect-docs-pidgin-im-pidgin2 + - name: redirect-docs-pidgin-im-gplugin-latest + - name: redirect-docs-pidgin-im-gplugin-gtk-latest + - name: redirect-docs-pidgin-im-libgnt-next + - name: redirect-docs-pidgin-im-libgnt-latest + - name: redirect-docs-pidgin-im-libpurple-latest + - name: redirect-docs-pidgin-im-talkatu-latest --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-docs.pidgin.im/middleware.yaml Sun Oct 10 05:58:01 2021 -0500
@@ -0,0 +1,71 @@
+apiVersion: traefik.containo.us/v1alpha1 + name: redirect-docs-pidgin-im-pidgin2 + regex: ^https?:\/\/[^\/]+\/pidgin\/2\.x\.y(\/(.*))? + replacement: https://docs.imfreedom.org/pidgin2/${2} +apiVersion: traefik.containo.us/v1alpha1 + name: redirect-docs-pidgin-im-gplugin-latest + regex: ^https?:\/\/[^\/]+\/gplugin\/latest(\/(.*))? + replacement: https://docs.imfreedom.org/gplugin/${2} +apiVersion: traefik.containo.us/v1alpha1 + name: redirect-docs-pidgin-im-gplugin-gtk-latest + regex: ^https?:\/\/[^\/]+\/gplugin-gtk\/latest(\/(.*))? + replacement: https://docs.imfreedom.org/gplugin-gtk3/${2} +apiVersion: traefik.containo.us/v1alpha1 + name: redirect-docs-pidgin-im-libgnt-next + regex: ^https?:\/\/[^\/]+\/libgnt\/next(\/(.*))? + replacement: https://docs.imfreedom.org/gnt2/${2} +apiVersion: traefik.containo.us/v1alpha1 + name: redirect-docs-pidgin-im-libgnt-latest + regex: ^https?:\/\/[^\/]+\/libgnt\/latest(\/(.*))? + replacement: https://docs.imfreedom.org/gnt3/${2} +apiVersion: traefik.containo.us/v1alpha1 + name: redirect-docs-pidgin-im-libpurple-latest + regex: ^https?:\/\/[^\/]+\/libpurple\/latest(\/(.*))? + replacement: https://docs.imfreedom.org/purple3/${2} +apiVersion: traefik.containo.us/v1alpha1 + name: redirect-docs-pidgin-im-talkatu-latest + regex: ^https?:\/\/[^\/]+\/talkatu\/latest(\/(.*))? + replacement: https://docs.imfreedom.org/talkatu/${2} --- a/50-docs.pidgin.im/pidgin-2.x.y.yaml Sun Oct 10 02:22:58 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
----
-apiVersion: v1
- name: docs-pidgin-2-x-y
----
-apiVersion: networking.k8s.io/v1
- name: docs-pidgin-2-x-y
----
-apiVersion: policy/v1beta1
-kind: PodDisruptionBudget
- name: docs-pidgin-2-x-y
----
- name: docs-pidgin-2-x-y
- revisionHistoryLimit: 0
- preferredDuringSchedulingIgnoredDuringExecution:
- topologyKey: failure-domain.beta.kubernetes.io/region
- - name: docs-pidgin-2-x-y
- image: pidgin/pidgin2-docs:latest
- imagePullPolicy: Always
----
--- a/50-docs.pidgin.im/talkatu-latest.yaml Sun Oct 10 02:22:58 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
----
-apiVersion: v1
- name: docs-talkatu-latest
----
-apiVersion: networking.k8s.io/v1
- name: docs-talkatu-latest
----
-apiVersion: policy/v1beta1
-kind: PodDisruptionBudget
- name: docs-talkatu-latest
----
- name: docs-talkatu-latest
- revisionHistoryLimit: 0
- preferredDuringSchedulingIgnoredDuringExecution:
- topologyKey: failure-domain.beta.kubernetes.io/region
- - name: docs-talkatu-lastest
- image: talkatu/docs:latest
- imagePullPolicy: Always
----