remove homepage and taskchampion

This commit is contained in:
2025-04-02 09:35:55 -04:00
parent 48d338360c
commit e2ae8a43a9
12 changed files with 0 additions and 253 deletions

View File

@@ -1,8 +0,0 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: homepage
namespace: flux-system
spec:
interval: 15m
url: http://jameswynn.github.io/helm-charts

View File

@@ -1,18 +0,0 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: homepage
namespace: flux-system
spec:
interval: 15m
path: ./homepage
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: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
name: homepage
namespace: homepage

View File

@@ -1,18 +0,0 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: taskchampion
namespace: flux-system
spec:
interval: 15m
path: ./taskchampion
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: taskchampion
namespace: taskchampion

View File

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

View File

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

View File

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

View File

@@ -1,86 +0,0 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: homepage
namespace: homepage
spec:
chart:
spec:
chart: homepage
version: 2.x
sourceRef:
kind: HelmRepository
name: homepage
namespace: flux-system
interval: 15m
timeout: 5m
releaseName: homepage
values:
enableRbac: true
serviceAccount:
create: true
ingress:
main:
enabled: true
labels:
gethomepage.dev/enabled: "true"
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
ingressClassName: "traefik"
hosts:
- host: &host "home.michaelthomson.dev"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
secretName: letsencrypt-wildcard-cert-michaelthomson.dev
config:
bookmarks:
- Developer:
- Github:
- abbr: GH
href: https://github.com/
services:
- My First Group:
- My First Service:
href: http://localhost/
description: Homepage is awesome
- My Second Group:
- My Second Service:
href: http://localhost/
description: Homepage is the best
- My Third Group:
- My Third Service:
href: http://localhost/
description: Homepage is 😎
widgets:
- resources:
backend: kubernetes
expanded: true
cpu: true
memory: true
- search:
provider: duckduckgo
target: _blank
- kubernetes:
cluster:
show: true
cpu: true
memory: true
showLabel: true
label: "cluster"
nodes:
show: true
cpu: true
memory: true
showLabel: true
kubernetes:
mode: cluster

View File

@@ -1,40 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: taskchampion
namespace: taskchampion
spec:
selector:
matchLabels:
app: taskchampion
template:
metadata:
labels:
app: taskchampion
spec:
initContainers:
- name: mkdir
image: busybox:1.28
command: ['sh', '-c', 'chown -R 100:100 /tss']
volumeMounts:
- name: data
mountPath: /tss
containers:
- name: taskchampion
image: ghcr.io/gothenburgbitfactory/taskchampion-sync-server:latest
imagePullPolicy: Always
args: ["--data-dir", "/tss", "--port", "8080"]
env:
- name: RUST_LOG
value: info
ports:
- containerPort: 8080
name: http
protocol: TCP
volumeMounts:
- name: data
mountPath: /tss
volumes:
- name: data
persistentVolumeClaim:
claimName: taskchampion-data

View File

@@ -1,15 +0,0 @@
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: taskchampion.michaelthomson.dev
namespace: taskchampion
spec:
endpoints:
- dnsName: taskchampion.michaelthomson.dev
recordTTL: 180
recordType: CNAME
targets:
- michaelthomson.ddns.net
providerSpecific:
- name: external-dns.alpha.kubernetes.io/cloudflare-proxied
value: "true"

View File

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

View File

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

View File

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