Skip to content

Commit

Permalink
Merge pull request #57 from d3adb5/feat/deploy-unpackerr
Browse files Browse the repository at this point in the history
feat(media): deploy instances of unpackerr
  • Loading branch information
d3adb5 authored Jul 14, 2024
2 parents b7c9858 + 2deb45e commit 26ba252
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app-of-apps/templates/media-apps/unpackerr-radarr-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
name: unpackerr-radarr
namespace: {{ .Values.media.namespace }}
spec:
encryptedData:
UN_RADARR_0_URL: AgCLQFhezp345jlUAB7k4/kMRhDb5XLbRtu8r9bCTvdBj41/lrhZxBp4QDNhSWfyMzwtrTujflqLfp7RbMaz7IL9qCupPE8dhWAJoT48sVgWrV14agwmDf3JmV7hLhO4s14KxijQmEq3iK4YqR7zIUWV5+nNicStsvVAnwixWRdvDVi9CfXDBx8Yo3/fSTab7VbSFPZ+OCMnNC+96UCMKhy86zo8EbEgRjNyHKHH0KNbyaAyo3W7+JKUzyi7pBPlTtXNiZR005FeseOEMLpBbNXTg+fFekCMvaTm9W4KT/VCjLPlSqmgTLbtWKeg+Kt1R+UFCvjOZE/m4dTgwOkWQJ8AQip2H+sfGPXJv/A78Ru0VmyYGNCRBPE7U/DQWRMIRNVVHEkpx4sil3l1xce7TBbt3xdseNdML/bUVLR+VpDRm4IIK5q6KV3gM52aGDiGuGL5cMCmMR8uzDtJ3uAZgKW4TRjNwxOynuL7pMZQ1vk9OOicnhn3kwmZHXGMlNeNbsyq/UUjcB6CcqoF693Pn82kEsrpNmXOutZFrZqlW9MpeTtgY2xQ3tHMyEWuyjC1NfSce+qTBoXLtpGoqpRKY2ozMVSoqapxSoI1iW3v9w3ArglYgMpau5bBkSlQ1dvfgedoWiwgV5lH7EGN9X16Sw9tkrmnKZlB2hOQWDm9Ae/8lGGPIEJ3Ee83VWFsViAyZ8JCYpDjpL8iqtK1S5ZOfKsvs3g=
UN_RADARR_0_API_KEY: AgCErXwxQdKXnRUvpP/wOht8sbZuSmNPpNaM8M0TmoLHGT5eb1dG3/7QLdAZ2cXwUe0JOsDBTHsZ4eB/QufeSolNk6YIu92BdnxxjOmk5gveSlv8ylm7jqo48rdAy7OgEeHk6C2cfz5E1AWO7RERWiR0lgBIB5V4m/VxsmKzkmwP7jdv0iAEHn/uspbXgELwv98PqYl6mlh+79ynSZvbgIAtRSZDHFymOQCZrOtjd3Hj7AJ8lqHb1H8qXBZvoJ0hxI2ImgOjSpjHugQflYnJMJNuwX7pDbbRsXkPuUBTKSEENxE/2dvRoOtVeEA0oijYed9o6SY7w0at/oAzZuJpRG+wlPlsHiQdDskOMAoQliiQs/8V3tC+IFP96maEVKdXxs5kBwRmMUa50JbNa2p1sE9kGYk0FQpo20uptzt8cGoQPqA3yNv5ojwx9csGneQXDQUT14XUnd0yCJoxWDtaUZx2BHZeu8zByqulH8z+kD/5Q1Dw0NPJllcRgB1LZ5hgfsWiE1PNb3Ux2ZtGeNz/sjYKoswaRLUofGq+edFajtBM9zKSuA/Mi/WYwZgE+5veHht2soq5Qt95wklozQKphUHmDpjyxSGsKawoWK2mhchon4UO5h/2+Hu8Bhd7jnVjneqASam170dpRtiGh0OxL/+AceO2pspEFiMkHYcNjG9sYFx+L7IdapWLizhTLnC5PnTEGmxYbfF7kgkL1TcHJsGmDt3c42dWKQuzw3U8DfBQ+Q==
48 changes: 48 additions & 0 deletions app-of-apps/templates/media-apps/unpackerr-radarr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: unpackerr-radarr
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: media
source:
repoURL: {{ .Values.helmRepos.d3adb5 }}
targetRevision: 0.1.0
chart: unpackerr

helm:
valuesObject:
podAnnotations:
linkerd.io/inject: enabled
image:
repository: golift/unpackerr
tag: "0.14"
resources:
requests:
cpu: 250m
memory: 256Mi
limits:
cpu: 2
memory: 512Mi
volumes:
- name: downloads
persistentVolumeClaim:
claimName: {{ .Values.media.libraries.movies.claimName }}
volumeMounts:
- name: downloads
mountPath: /downloads
config:
env:
existingSecret: unpackerr-radarr

destination:
server: https://kubernetes.default.svc
namespace: {{ .Values.media.namespace }}

syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
9 changes: 9 additions & 0 deletions app-of-apps/templates/media-apps/unpackerr-sonarr-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
name: unpackerr-sonarr
namespace: {{ .Values.media.namespace }}
spec:
encryptedData:
UN_SONARR_0_URL: AgCqlg2K6Kemc2qfPbs99xktu1Qn3R/SmURLId7zKmNx5d98VAF5LTaznsMkjsF3lu9+dMk/T54uzdwMHhWcV4IUpXpOxl0NfQ2bUVZVo0n2EYFMvEPTBRiM67SEpQ09bvj7MpjsF7kAhVtcUcViWZD0ZlwVNkFyf981qMARdHtlbQcetnkHq9s+PFSwI+OEVIWSS9qkfvO/NBnHuKOPgH5vnWhUISdyBJ4EJOGC4E5lddCWJiisoC0IskUVr4aeAVKKJc2DP9ZOcXwurrCyRya+yBcJcmUfrWAUQg/+US84Ts8OvK6QEUQjR+5vhTJJYnfx54Q/mhYbo2s0hpBLfTUQ8FC75r4EsI14RQkHbeUkfvc9yloYu86C3KZuJwtRPge7PPHEMktQV27OsJSFLfg/7yZmI4z7wzVeS1hn0y14fzMIiDhcQWHg+Xf+U1spFUbLaDaKfF2y0rjtdhP/sWVBrZxrJODSgPTHoKCzeHoCsagFb9cKiy/n8Lu4CmY+edrGb0mOs+V0npmOIAjaz4iyyIHATJUnxH7qr++px6nMmoNrvuWh66foNz4vYMeLzAJXX+nks8xMyTP0fFQXv/99gqB7/f680VnUWxXeB//8HdRJX9sPagl6kuMraV3JVcAMTkHnEdIAWfGYRygexirjHZDGJWi3cLrODESCWgpLCcl/6JL3dyxSy0QSMf7W37MMRDQWqx4kUOknMc58ahJPsTk=
UN_SONARR_0_API_KEY: AgCPIuujm/NQpxYpINiR+BxSB8Q1bNAjaEwTjcgIbIXw0VV7nz27BpXTV+k5rc1tQtp5IrdVTfiva2KMdIGbOwoZaXPYLFBrcMRwNucKLxPOjsaImg5INhHOu0i4lzGiwkRXSB66wLvVAcaOSayQ0A+hG1KuTcyAvVcNpSyF9jliAc7D1MOtahzb5sxBKkXDPiCsysaDiJG6Q5R/8GtNs1foKKr1u2xx5GVff7d0392/YI2mGT2AT+hkRxIN8vH6+0FDjRzyGstpg69Cwj3avos98086cUb5FetXuQaQByywdEOWX7lMOgAUUFv/YiH8C6I6wyH53Vw3AxdkbF+obyGfKkRJnmM5pdwkk+tZSsOmKLLlSYLcy4UHPuFAXTIlYR4qaOgIz8PP66jRykbYC3rZ2boo5jddDQlqid5C2Looa9xtwBy/r9OKVd2Qh8ZLi/2TJ8odNNZx/AbT/ZMefOc9GqTSJxcGTzr23qyFTiTD3759sCMo3xV/a5V1BgnE2hesvcdsQ/1OjwCqZmbaudWkpWJvT8V/vntpj3FHFyXhpH+Gt7VM+l+CYAYajeDF5T3tIsiDFqj0nTYVmNYsfo87xjhSl0FSMCJp4RkJo9fp5tmXx854UiUwxNxub9OXWqTLVRg97qvssteRZ2wJba7ar5PNXjy/OAvrb09365ypWC7Kv03RwQrje4G0JMJIMRt4nL6CIP5zZwt0wMx7RqwbvoDFvClhQqoxgp4z3bQoXQ==
48 changes: 48 additions & 0 deletions app-of-apps/templates/media-apps/unpackerr-sonarr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: unpackerr-sonarr
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: media
source:
repoURL: {{ .Values.helmRepos.d3adb5 }}
targetRevision: 0.1.0
chart: unpackerr

helm:
valuesObject:
podAnnotations:
linkerd.io/inject: enabled
image:
repository: golift/unpackerr
tag: "0.14"
resources:
requests:
cpu: 250m
memory: 256Mi
limits:
cpu: 2
memory: 512Mi
volumes:
- name: downloads
persistentVolumeClaim:
claimName: {{ .Values.media.libraries.tv.claimName }}
volumeMounts:
- name: downloads
mountPath: /downloads
config:
env:
existingSecret: unpackerr-sonarr

destination:
server: https://kubernetes.default.svc
namespace: {{ .Values.media.namespace }}

syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

0 comments on commit 26ba252

Please sign in to comment.