imfreedom/k8s-cluster

move 50-pidginchat.com to kustomize

2021-06-17, Gary Kramlich
7c63be9d5701
Parents 20da8b38faa3
Children cfc67b784e47
move 50-pidginchat.com to kustomize
--- a/50-pidginchat.com.yaml Thu Jun 17 02:25:37 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-# This is just the http and https ingresses for pidginchat.com and the tls
-# certificate. The rest of the xmpp configuration is in the vhost for this
-# domain in 50-xmpp.imfreedom.org.
----
-apiVersion: traefik.containo.us/v1alpha1
-kind: IngressRoute
-metadata:
- name: pidginchat-http
- namespace: roost
-spec:
- entryPoints:
- - http
- routes:
- - match: Host(`pidginchat.com`) || Host(`www.pidginchat.com`)
- kind: Rule
- services:
- - name: prosody
- port: 5280
- middlewares:
- - name: https-redirect
----
-apiVersion: traefik.containo.us/v1alpha1
-kind: IngressRoute
-metadata:
- name: pidginchat-https
- namespace: roost
-spec:
- entryPoints:
- - https
- routes:
- - match: Host(`pidginchat.com`) || Host(`www.pidginchat.com`)
- kind: Rule
- services:
- - name: prosody
- port: 5280
- middlewares:
- - name: common-headers
- - name: hsts-headers
- tls:
- secretName: pidginchat-tls
----
-apiVersion: cert-manager.io/v1alpha2
-kind: Certificate
-metadata:
- namespace: roost
- name: pidginchat-tls
-spec:
- secretName: pidginchat-tls
- issuerRef:
- name: letsencrypt
- commonName: pidginchat.com
- dnsNames:
- - pidginchat.com
- - www.pidginchat.com
----
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-pidginchat.com/kustomization.yaml Thu Jun 17 02:27:31 2021 -0500
@@ -0,0 +1,5 @@
+---
+namespace: roost
+resources:
+ - manifest.yaml
+---
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-pidginchat.com/manifest.yaml Thu Jun 17 02:27:31 2021 -0500
@@ -0,0 +1,52 @@
+# This is just the http and https ingresses for pidginchat.com and the tls
+# certificate. The rest of the xmpp configuration is in the vhost for this
+# domain in 50-xmpp.imfreedom.org.
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: pidginchat-http
+spec:
+ entryPoints:
+ - http
+ routes:
+ - match: Host(`pidginchat.com`) || Host(`www.pidginchat.com`)
+ kind: Rule
+ services:
+ - name: prosody
+ port: 5280
+ middlewares:
+ - name: https-redirect
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: pidginchat-https
+spec:
+ entryPoints:
+ - https
+ routes:
+ - match: Host(`pidginchat.com`) || Host(`www.pidginchat.com`)
+ kind: Rule
+ services:
+ - name: prosody
+ port: 5280
+ middlewares:
+ - name: common-headers
+ - name: hsts-headers
+ tls:
+ secretName: pidginchat-tls
+---
+apiVersion: cert-manager.io/v1alpha2
+kind: Certificate
+metadata:
+ name: pidginchat-tls
+spec:
+ secretName: pidginchat-tls
+ issuerRef:
+ name: letsencrypt
+ commonName: pidginchat.com
+ dnsNames:
+ - pidginchat.com
+ - www.pidginchat.com
+---