mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-06 11:20:43 +00:00
Mostly copied over from my old repo and modified for app of apps. Cleaning up the mess from migration Signed-off-by: gwg313 <gwg313@pm.me>
38 lines
926 B
YAML
38 lines
926 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: navidrome
|
|
namespace: navidrome
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: navidrome
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: navidrome
|
|
spec:
|
|
containers:
|
|
- name: navidrome
|
|
image: deluan/navidrome:latest
|
|
ports:
|
|
- containerPort: 4533
|
|
envFrom:
|
|
- configMapRef:
|
|
name: navidrome-config
|
|
- secretRef:
|
|
name: navidrome-secrets
|
|
volumeMounts:
|
|
- mountPath: /data
|
|
name: navidrome-data
|
|
- mountPath: /music
|
|
name: navidrome-music
|
|
readOnly: true
|
|
volumes:
|
|
- name: navidrome-data
|
|
persistentVolumeClaim:
|
|
claimName: navidrome-data
|
|
- name: navidrome-music
|
|
persistentVolumeClaim:
|
|
claimName: navidrome-music
|