diff --git a/apps/bazarr.yaml b/apps/bazarr.yaml new file mode 100644 index 0000000..802becf --- /dev/null +++ b/apps/bazarr.yaml @@ -0,0 +1,26 @@ +# This ArgoCD application deploys bazarr to manage subtitles for the media library +# This application pulls its image from hotio as they're generally light weight. +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: bazarr + namespace: argocd + # skipping resources-finalizer.argocd.argoproj.io as it as bazaarr will create its configs +spec: + project: default + + source: + repoURL: https://tea.ahmza.com/ahmza.com/k8s-starter-pack.git + targetRevision: main + path: apps/bazarr + + destination: + server: https://kubernetes.default.svc + namespace: bazarr + + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace = true diff --git a/apps/bazarr/deployment.yaml b/apps/bazarr/deployment.yaml new file mode 100644 index 0000000..101cfdf --- /dev/null +++ b/apps/bazarr/deployment.yaml @@ -0,0 +1,23 @@ +# bazarr image from hotio ghcr.io/hotio/bazarr +apiVersion: apps/v1 +kind: Deployment +metadata: + name: bazarr + namespace: bazarr +spec: + # not critical infrastructure a single pod should be sufficient + replicas: 1 + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 0 + maxSurge: 1 + selector: + matchLabels: + app: bazarr + template: + metadata: + labels: + app: bazarr + spec: +