all repos — infra @ ac911ab1c14930ee95e220848d67a55cb0b49fa6

infrastructure manifests and setup notes

apps: add readit
Anirudh Oppiliappan x@icyphox.sh
Tue, 05 Nov 2024 16:49:36 +0200
commit

ac911ab1c14930ee95e220848d67a55cb0b49fa6

parent

fad1a27967d75fcd12e231c9e2587a0fde991f67

3 files changed, 56 insertions(+), 0 deletions(-)

jump to
M apps/coredns/coredns.yamlapps/coredns/coredns.yaml

@@ -10,6 +10,7 @@ rewrite name feed.koti.lan miniflux.default.svc.koti.lan

rewrite name g.koti.lan grafana.monitoring.svc.koti.lan rewrite name files.garage.koti.lan garage.default.svc.koti.lan rewrite name pass.koti.lan koti-ingress-nginx-controller.ingress-nginx.svc.koti.lan + rewrite name red.koti.lan koti-ingress-nginx-controller.ingress-nginx.svc.koti.lan } kind: ConfigMap metadata:
A apps/readit/readit.yaml

@@ -0,0 +1,52 @@

+apiVersion: apps/v1 +kind: Deployment +metadata: + name: readit +spec: + replicas: 1 + selector: + matchLabels: + app: readit + template: + metadata: + labels: + app: readit + spec: + containers: + - name: readit + image: sini:5000/readit:latest + ports: + - containerPort: 3000 + env: + - name: READIT_PORT + value: "3000" +--- +apiVersion: v1 +kind: Service +metadata: + name: readit +spec: + selector: + app: readit + ports: + - protocol: TCP + port: 80 + targetPort: 3000 +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: readit +spec: + ingressClassName: nginx + rules: + - host: red.koti.lan + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: readit + port: + number: 80
M readmereadme

@@ -38,3 +38,6 @@ • vaultwarden: password manager (pass.koti.lan)

• transmission: torrent client • audiobookshelf: audiobook server • bsky-pds: bluesky personal data store +• readit: minimalist reddit client (red.koti.lan) [0] + +[0]: https://git.peppe.rs/web/readit