Revert "beaverhabits"

This reverts commit 3d4650c540.
This commit is contained in:
2025-01-12 16:59:48 -05:00
parent 62771a012c
commit 86e76fb6c5
7 changed files with 0 additions and 113 deletions

View File

@@ -1,19 +0,0 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: habits
namespace: flux-system
spec:
interval: 15m
path: ./habits
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:
kind: GitRepository
name: flux-system
healthChecks:
- apiVersion: apps/v1
kind: Deployment
name: beaverhabits
namespace: habits

View File

@@ -1,4 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: habits

View File

@@ -1,29 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: beaverhabits
namespace: habits
spec:
selector:
matchLabels:
app: beaverhabits
template:
metadata:
labels:
app: beaverhabits
spec:
containers:
- name: beaverhabits
image: daya0576/beaverhabits:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
name: http
protocol: TCP
volumeMounts:
- name: data
mountPath: /app/.user
volumes:
- name: data
persistentVolumeClaim:
claimName: beaverhabits

View File

@@ -1,12 +0,0 @@
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: habits.michaelthomson.dev
namespace: media
spec:
endpoints:
- dnsName: habits.michaelthomson.dev
recordTTL: 180
recordType: CNAME
targets:
- server.michaelthomson.dev

View File

@@ -1,25 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: beaverhabits
namespace: habits
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
# traefik.ingress.kubernetes.io/router.middlewares: authentik-bazarr@kubernetescrd
spec:
rules:
- host: habits.michaelthomson.dev
http:
paths:
- pathType: ImplementationSpecific
path: /
backend:
service:
name: beaverhabits
port:
name: http
tls:
- hosts:
- habits.michaelthomson.dev
secretName: letsencrypt-wildcard-cert-michaelthomson.dev

View File

@@ -1,12 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: beaverhabits
namespace: habits
spec:
resources:
requests:
storage: 8Gi
storageClassName: longhorn
accessModes:
- ReadWriteOnce

View File

@@ -1,12 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: beaverhabits
namespace: habits
spec:
selector:
app: beaverhabits
ports:
- port: 80
targetPort: http
name: http