imfreedom/k8s-cluster

move 50-nest.pidgin.im to kustomize

2021-06-17, Gary Kramlich
04680e30a743
Parents 0a1a905797b5
Children 20da8b38faa3
move 50-nest.pidgin.im to kustomize
--- a/50-nest.pidgin.im.yaml Thu Jun 17 02:22:05 2021 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
----
-apiVersion: traefik.containo.us/v1alpha1
-kind: IngressRoute
-metadata:
- name: nest-http-redirect
- namespace: roost
-spec:
- entryPoints:
- - https
- routes:
- - match: Host(`nest.pidgin.im`)
- kind: Rule
- services:
- - name: pidgin-im
- port: 3000
- middlewares:
- - name: pidgin-redirects
----
-apiVersion: traefik.containo.us/v1alpha1
-kind: IngressRoute
-metadata:
- name: nest-https-redirect
- namespace: roost
-spec:
- entryPoints:
- - https
- routes:
- - match: Host(`nest.pidgin.im`)
- kind: Rule
- services:
- - name: pidgin-im
- port: 3000
- middlewares:
- - name: hsts-headers
- - name: pidgin-redirects
- tls:
- secretName: nest-redirects-tls
----
-apiVersion: cert-manager.io/v1alpha2
-kind: Certificate
-metadata:
- namespace: roost
- name: nest-redirects-tls
-spec:
- secretName: nest-redirects-tls
- issuerRef:
- name: letsencrypt
- commonName: nest.pidgin.im
- dnsNames:
- - nest.pidgin.im
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-nest.pidgin.im/kustomization.yaml Thu Jun 17 02:23:42 2021 -0500
@@ -0,0 +1,5 @@
+---
+namespace: roost
+resources:
+ - manifest.yaml
+---
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/50-nest.pidgin.im/manifest.yaml Thu Jun 17 02:23:42 2021 -0500
@@ -0,0 +1,47 @@
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: nest-http-redirect
+spec:
+ entryPoints:
+ - https
+ routes:
+ - match: Host(`nest.pidgin.im`)
+ kind: Rule
+ services:
+ - name: pidgin-im
+ port: 3000
+ middlewares:
+ - name: pidgin-redirects
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+ name: nest-https-redirect
+spec:
+ entryPoints:
+ - https
+ routes:
+ - match: Host(`nest.pidgin.im`)
+ kind: Rule
+ services:
+ - name: pidgin-im
+ port: 3000
+ middlewares:
+ - name: hsts-headers
+ - name: pidgin-redirects
+ tls:
+ secretName: nest-redirects-tls
+---
+apiVersion: cert-manager.io/v1alpha2
+kind: Certificate
+metadata:
+ name: nest-redirects-tls
+spec:
+ secretName: nest-redirects-tls
+ issuerRef:
+ name: letsencrypt
+ commonName: nest.pidgin.im
+ dnsNames:
+ - nest.pidgin.im