mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-08 08:35:19 +00:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: navidrome
|
|
namespace: navidrome
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
app: navidrome
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: navidrome
|
|
spec:
|
|
containers:
|
|
- name: navidrome
|
|
image: deluan/navidrome:pr-5495
|
|
ports:
|
|
- containerPort: 4533
|
|
resources:
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
limits:
|
|
cpu: "1000m"
|
|
memory: "512Mi"
|
|
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
|