k8s-manifests/homarr/deployments.yaml

96 lines
2.7 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: '12'
name: homarr
namespace: homarr
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: homarr
strategy:
type: Recreate
template:
metadata:
annotations:
kubectl.kubernetes.io/restartedAt: '2026-03-26T09:33:28Z'
labels:
app: homarr
spec:
containers:
- env:
- name: SECRET_ENCRYPTION_KEY
value: b2e4c8f1a3d7e9b5c2f6a0d4e8b1c5f9a2d6e0b4c8f3a7d1e5b9c3f7a0d4e8b2
- name: AUTH_URL
value: https://home.chemavx.xyz
- name: AUTH_TRUST_HOST
value: 'true'
- name: AUTH_SECRET
value: 1id8Afa/VdxLxi/DAgmq6uW1sU/y2jAeyn3JXKw4sog=
- name: AUTH_PROVIDERS
value: oidc
- name: AUTH_OIDC_ISSUER
value: https://auth.chemavx.xyz/application/o/homarr-oidc/
- name: AUTH_OIDC_CLIENT_ID
value: THDiU3sUF562PXa9LcXCAiKSQG596ZfqymcWJIks
- name: AUTH_OIDC_CLIENT_SECRET
value: 9EQzeq0bzwlHbfDffCk7r8KYi2fjaxY3FTcjt0wkmd62PykN6bn35RzpowtnMqWvsNOIOzo1PZZfHYlWIrWsKLz8COAZwFwOPeyxwu0oSE3fbreJKeGbq7seAXkFoGE3
- name: AUTH_OIDC_CLIENT_NAME
value: Authentik
- name: AUTH_OIDC_AUTO_LOGIN
value: 'true'
- name: AUTH_OIDC_ADMIN_GROUP
value: authentik Admins
image: ghcr.io/homarr-labs/homarr:latest
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
httpGet:
path: /
port: 7575
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 1
name: homarr
ports:
- containerPort: 7575
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: 7575
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 200m
memory: 256Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /appdata
name: data
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: data
persistentVolumeClaim:
claimName: homarr-pvc