chore(argocd): Allow applicationsync to be turned off

This commit is contained in:
Peter 2025-12-19 12:48:24 +01:00
parent 621f22546f
commit ebb770d44e
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
11 changed files with 221 additions and 8 deletions

View file

@ -0,0 +1,53 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: sonarr
labels:
app: sonarr
spec:
replicas: 1
selector:
matchLabels:
app: sonarr
template:
metadata:
labels:
app: sonarr
spec:
volumes:
- name: sonarr-config
persistentVolumeClaim:
claimName: sonarr-storage
- name: nfs-media
persistentVolumeClaim:
claimName: nfs-media
containers:
- name: sonarr
image: linuxserver/sonarr:4.0.16
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8989
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: Europe/Amsterdam
volumeMounts:
- mountPath: /config
name: sonarr-config
- mountPath: /shared/media
name: nfs-media
securityContext:
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
# add:
# - "CHOWN"
# - "SETUID"
# - "SETGID"