imfreedom/k8s-cluster

Parents 7864a5daef14
Children 0cbdee570c16
Create the roost namespace and move everything in the pidgin namespace to it
--- a/00-namespaces.yaml Mon Jan 27 20:35:07 2020 -0600
+++ b/00-namespaces.yaml Sat Feb 08 23:23:21 2020 -0600
@@ -24,13 +24,6 @@
apiVersion: v1
kind: Namespace
metadata:
- name: pidgin
- labels:
- name: pidgin
----
-apiVersion: v1
-kind: Namespace
-metadata:
name: imfreedom
labels:
name: imfreedom
@@ -64,3 +57,10 @@
# certmanager.k8s.io/disable-validation: "true"
name: cert-manager
---
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: roost
+ labels:
+ name: roost
+---
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/15-issuer-acme-roost.yaml Sat Feb 08 23:23:21 2020 -0600
@@ -0,0 +1,17 @@
+# This file contains the tls certificate issuer for the `roost` `namespace`.
+---
+apiVersion: cert-manager.io/v1alpha2
+kind: Issuer
+metadata:
+ name: letsencrypt
+ namespace: roost
+spec:
+ acme:
+ server: https://acme-v02.api.letsencrypt.org/directory
+ email: grim@reaperworld.com
+ privateKeySecretRef:
+ name: letsencrypt
+ solvers:
+ - http01:
+ ingress: {}
+---
--- a/50-carrier.pidgin.im.yaml Mon Jan 27 20:35:07 2020 -0600
+++ b/50-carrier.pidgin.im.yaml Sat Feb 08 23:23:21 2020 -0600
@@ -3,7 +3,7 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
- namespace: pidgin
+ namespace: roost
name: carrier
annotations:
cert-manager.io/issuer: letsencrypt
@@ -25,7 +25,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: carrier
labels:
app: carrier
@@ -39,7 +39,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: carrier
labels:
app: carrier
@@ -63,7 +63,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: carrier
labels:
app: carrier
--- a/50-docs.pidgin.im.yaml Mon Jan 27 20:35:07 2020 -0600
+++ b/50-docs.pidgin.im.yaml Sat Feb 08 23:23:21 2020 -0600
@@ -4,7 +4,7 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
- namespace: pidgin
+ namespace: roost
name: docs
annotations:
cert-manager.io/issuer: letsencrypt
@@ -56,7 +56,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-gplugin-latest
labels:
app: gplugin
@@ -72,7 +72,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-gplugin-latest
labels:
app: gplugin
@@ -98,7 +98,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-gplugin-latest
labels:
app: gplugin
@@ -148,7 +148,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-gplugin-gtk-latest
labels:
app: gplugin-gtk
@@ -164,7 +164,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-gplugin-gtk-latest
labels:
app: gplugin-gtk
@@ -190,7 +190,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-gplugin-gtk-latest
labels:
app: gplugin-gtk
@@ -240,7 +240,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-libgnt-latest
labels:
app: libgnt
@@ -256,7 +256,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-libgnt-latest
labels:
app: libgnt
@@ -282,7 +282,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-libgnt-latest
labels:
app: libgnt
@@ -332,7 +332,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-libgnt-next
labels:
app: libgnt
@@ -348,7 +348,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-libgnt-next
labels:
app: libgnt
@@ -374,7 +374,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-libgnt-next
labels:
app: libgnt
@@ -424,7 +424,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-pidgin-2-x-y
labels:
app: pidgin
@@ -440,7 +440,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-pidgin-2-x-y
labels:
app: pidgin
@@ -466,7 +466,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-pidgin-2-x-y
labels:
app: pidgin
@@ -516,7 +516,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-talkatu-latest
labels:
app: talkatu
@@ -532,7 +532,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-talkatu-latest
labels:
app: talkatu
@@ -558,7 +558,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: docs-talkatu-latest
labels:
app: talkatu
--- a/50-gaim.pidgin.im.yaml Mon Jan 27 20:35:07 2020 -0600
+++ b/50-gaim.pidgin.im.yaml Sat Feb 08 23:23:21 2020 -0600
@@ -2,7 +2,7 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
- namespace: pidgin
+ namespace: roost
name: gaim
annotations:
cert-manager.io/issuer: letsencrypt
@@ -27,7 +27,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: gaim
labels:
app: gaim
@@ -41,7 +41,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: gaim
labels:
app: gaim
@@ -65,7 +65,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: gaim
labels:
app: gaim
--- a/50-nest.pidgin.im.yaml Mon Jan 27 20:35:07 2020 -0600
+++ b/50-nest.pidgin.im.yaml Sat Feb 08 23:23:21 2020 -0600
@@ -2,7 +2,7 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
- namespace: pidgin
+ namespace: roost
name: nest
annotations:
cert-manager.io/issuer: letsencrypt
@@ -54,7 +54,7 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
- namespace: pidgin
+ namespace: roost
name: nest-redirects
annotations:
cert-manager.io/issuer: letsencrypt
@@ -77,7 +77,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: nest
labels:
app: nest
@@ -91,7 +91,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: nest
labels:
app: nest
@@ -115,7 +115,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: nest
labels:
app: nest
@@ -159,7 +159,7 @@
apiVersion: v1
kind: Service
metadata:
- namespace: pidgin
+ namespace: roost
name: oldsite
labels:
app: oldsite
@@ -173,7 +173,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
- namespace: pidgin
+ namespace: roost
name: oldsite
labels:
app: oldsite
@@ -197,7 +197,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
- namespace: pidgin
+ namespace: roost
name: oldsite
labels:
app: oldsite