added homer app

This commit is contained in:
2024-06-16 22:43:04 +10:00
parent 23a3ce7478
commit f71dac54b2
8 changed files with 123 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: homer
namespace: homer
labels:
app.kubernetes.io/name: homer
spec:
selector:
matchLabels:
app.kubernetes.io/name: homer
template:
metadata:
labels:
app.kubernetes.io/name: homer
rpi5.cluster.policy/egress-kubeapi: "true"
rpi5.cluster.policy/egress-namespace: "true"
rpi5.cluster.policy/egress-world: "true"
rpi5.cluster.policy/ingress-namespace: "true"
rpi5.cluster.policy/ingress-nginx: "true"
rpi5.cluster.policy/ingress-nodes: "true"
rpi5.cluster.policy/ingress-world: "true"
spec:
containers:
- name: homer
image: b4bz/homer:v24.05.1
ports:
- protocol: TCP
containerPort: 8080
name: http
volumeMounts:
- name: www
mountPath: /www
volumes:
- name: www
hostPath:
path: /mnt/nfs/AppData/homer/www
type: Directory