chore(dashboard): update resources based on current docs

https://gethomepage.dev/latest/installation/k8s
This commit is contained in:
David Landry 2024-05-08 00:45:14 -04:00
parent db4fbbb99f
commit 46b3a334d0
7 changed files with 81 additions and 103 deletions

View file

@ -1,12 +1,9 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: homepage
labels:
app.kubernetes.io/instance: homepage
app.kubernetes.io/name: homepage
app.kubernetes.io/version: v0.6.10
spec:
revisionHistoryLimit: 3
replicas: 1
@ -15,12 +12,10 @@ spec:
selector:
matchLabels:
app.kubernetes.io/name: homepage
app.kubernetes.io/instance: homepage
template:
metadata:
labels:
app.kubernetes.io/name: homepage
app.kubernetes.io/instance: homepage
spec:
serviceAccountName: homepage
automountServiceAccountToken: true
@ -28,54 +23,39 @@ spec:
enableServiceLinks: true
containers:
- name: homepage
image: "ghcr.io/benphelps/homepage:v0.6.10"
imagePullPolicy:
image: "ghcr.io/gethomepage/homepage:latest"
imagePullPolicy: Always
ports:
- name: http
containerPort: 3000
protocol: TCP
volumeMounts:
- name: homepage-config
- mountPath: /app/config/custom.js
name: homepage-config
subPath: custom.js
- mountPath: /app/config/custom.css
name: homepage-config
subPath: custom.css
- mountPath: /app/config/bookmarks.yaml
name: homepage-config
subPath: bookmarks.yaml
mountPath: /app/config/bookmarks.yaml
- name: homepage-config
- mountPath: /app/config/docker.yaml
name: homepage-config
subPath: docker.yaml
mountPath: /app/config/docker.yaml
- name: homepage-config
- mountPath: /app/config/kubernetes.yaml
name: homepage-config
subPath: kubernetes.yaml
mountPath: /app/config/kubernetes.yaml
- name: homepage-config
- mountPath: /app/config/services.yaml
name: homepage-config
subPath: services.yaml
mountPath: /app/config/services.yaml
- name: homepage-config
- mountPath: /app/config/settings.yaml
name: homepage-config
subPath: settings.yaml
mountPath: /app/config/settings.yaml
- name: homepage-config
- mountPath: /app/config/widgets.yaml
name: homepage-config
subPath: widgets.yaml
mountPath: /app/config/widgets.yaml
- name: logs
mountPath: /app/config/logs
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 0
periodSeconds: 10
tcpSocket:
port: 3000
timeoutSeconds: 1
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 0
periodSeconds: 10
tcpSocket:
port: 3000
timeoutSeconds: 1
startupProbe:
failureThreshold: 30
initialDelaySeconds: 0
periodSeconds: 5
tcpSocket:
port: 3000
timeoutSeconds: 1
- mountPath: /app/config/logs
name: logs
volumes:
- name: homepage-config
configMap: