diff --git a/charts/other/myprecious/Chart.yaml b/charts/other/myprecious/Chart.yaml index 6be35a7d2..09958ff9e 100644 --- a/charts/other/myprecious/Chart.yaml +++ b/charts/other/myprecious/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.32784 +version: 1.0.32786 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -510,7 +510,12 @@ dependencies: condition: jackettio.enabled version: ~0.2.1 repository: oci://ghcr.io/elfhosted/charts - alias: jackettio + alias: jackettio + - name: app-template + condition: davio.enabled + version: ~0.2.1 + repository: oci://ghcr.io/elfhosted/charts + alias: davio - name: app-template condition: stremioserver.enabled version: ~0.2.1 diff --git a/charts/other/myprecious/templates/configmaps/configmap-davio-env.yaml b/charts/other/myprecious/templates/configmaps/configmap-davio-env.yaml new file mode 100644 index 000000000..d8aba8ade --- /dev/null +++ b/charts/other/myprecious/templates/configmaps/configmap-davio-env.yaml @@ -0,0 +1,23 @@ +{{ if .Values.davio.enabled }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: davio-env +data: + TRUST_PROXY: "true" + DATA_FOLDER: /config + WELCOME_MESSAGE: | + ![](https://elfhosted.com/images/logo.png) + + This is a subscription instance of [Davio](https://github.com/arvida42/davio) for {{ .Release.Name }} - Enjoy! + + Possible interesting use-cases for Davio: + + * 📺 Stream your WebDAV-compatible Debrid content via Stremio + * 🧠 Stream your ElfHosted-managed media from [ElfStorage](https://store.elfhosted.com/product/elfstorage) via Stremio + * 🤯 [Mount any rclone-compatible storage](https://store.elfhosted.com/product-category/storage) (*Dropbox, Google Drive, SSH, SMB, etc*), expose it via [WebDAV](https://store.elfhosted.com/product/webdav-access-plus), and stream it with Stremio! + + ADDON_ID: {{ .Release.Name }}-davio.elfhosted.com + ADDON_NAME: {{ .Release.Name }} ElfHosted Davio | + ADDON_ICON: https://elfhosted.com/images/davio.png +{{ end }} \ No newline at end of file diff --git a/charts/other/myprecious/templates/configmaps/configmap-gatus-config.yaml b/charts/other/myprecious/templates/configmaps/configmap-gatus-config.yaml index 6b83632b8..a401de586 100644 --- a/charts/other/myprecious/templates/configmaps/configmap-gatus-config.yaml +++ b/charts/other/myprecious/templates/configmaps/configmap-gatus-config.yaml @@ -194,6 +194,17 @@ data: - type: email {{ end }} + {{ if .Values.davio.enabled }} + - name: davio + group: consume-media + url: "http://davio:4000" + interval: 5m + conditions: + - "[STATUS] == 200" + alerts: + - type: email + {{ end }} + {{ if .Values.annatar.enabled }} - name: annatar group: consume-media diff --git a/charts/other/myprecious/templates/configmaps/configmap-homepage-config.yaml b/charts/other/myprecious/templates/configmaps/configmap-homepage-config.yaml index 522b00db8..a562140e0 100644 --- a/charts/other/myprecious/templates/configmaps/configmap-homepage-config.yaml +++ b/charts/other/myprecious/templates/configmaps/configmap-homepage-config.yaml @@ -166,7 +166,15 @@ data: href: https://{{ .Release.Name }}-jackettio.elfhosted.com description: Stremio Addon supporting private trackers siteMonitor: http://jackettio:4000 - {{ end }} + {{ end }} + + {{ if .Values.davio.enabled }} + - Davio: + icon: webdav.png + href: https://{{ .Release.Name }}-davio.elfhosted.com + description: Stremio Addon to serve your WebDAV content + siteMonitor: http://davio:4000 + {{ end }} {{ if .Values.annatar.enabled }} - Annatar: @@ -733,7 +741,7 @@ data: {{ if .Values.rclonemountalldebridpia.enabled }} - AllDebrid: - icon: real-debrid.png + icon: webdav.png href: https://{{ .Release.Name }}-alldebrid.elfhosted.com/ description: Manage AllDebrid files siteMonitor: http://alldebrid-webdav:9999 @@ -946,7 +954,7 @@ data: {{ if .Values.webdav.enabled }} - WebDAV: - icon: rclone.png + icon: webdav.png href: https://{{ .Release.Name }}-webdav.elfhosted.com description: Your WebDAV endpoint for migration siteMonitor: http://rclonebrowser:5574 @@ -954,7 +962,7 @@ data: {{ if .Values.webdavplus.enabled }} - WebDAV Plus: - icon: rclone.png + icon: webdav.png href: https://{{ .Release.Name }}-webdav-plus.elfhosted.com description: Your WebDAV Plus endpoint for migration at 150Mbps siteMonitor: http://webdav-plus:5574 diff --git a/charts/other/myprecious/templates/configmaps/configmap-homer-config.yaml b/charts/other/myprecious/templates/configmaps/configmap-homer-config.yaml index d2ac92b0f..c49ce4e8c 100644 --- a/charts/other/myprecious/templates/configmaps/configmap-homer-config.yaml +++ b/charts/other/myprecious/templates/configmaps/configmap-homer-config.yaml @@ -386,6 +386,16 @@ data: target: "_blank" # optional html tag target attribute {{ end }} + {{ if .Values.davio.enabled }} + - name: "Davio" + logo: "assets/png/webdav.png" + subtitle: "Stremio Addon to stream your WebDAV content" + tag: "protected" + tagstyle: "is-success" + url: "https://{{ .Release.Name }}-davio.elfhosted.com" + target: "_blank" # optional html tag target attribute + {{ end }} + {{ if .Values.annatar.enabled }} - name: "Annatar" logo: "assets/png/annatar.png" diff --git a/charts/other/myprecious/templates/ingressroutes/ingressroute-davio.yaml b/charts/other/myprecious/templates/ingressroutes/ingressroute-davio.yaml new file mode 100644 index 000000000..a3fb1faf6 --- /dev/null +++ b/charts/other/myprecious/templates/ingressroutes/ingressroute-davio.yaml @@ -0,0 +1,27 @@ +{{ if .Values.davio.enabled }} +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: {{ .Release.Name }}-davio.elfhosted.com +spec: + routes: + - match: Host(`{{ .Release.Name }}-davio.elfhosted.com`) + kind: Rule + services: + - name: davio + kind: Service + port: 4000 + middlewares: + - name: chain-hosted-stremio-addon + namespace: traefik + - match: Host(`{{ .Release.Name }}-davio.elfhosted.com`) && PathPrefix(`/configure/`) + kind: Rule + services: + - name: davio + kind: Service + port: 4000 + middlewares: + - name: {{ .Release.Name }}-traefik-forward-auth + - name: chain-hosted-stremio-addon + namespace: traefik +{{ end }} \ No newline at end of file diff --git a/charts/other/myprecious/templates/services/service-davio.yaml b/charts/other/myprecious/templates/services/service-davio.yaml new file mode 100644 index 000000000..93b8f36bd --- /dev/null +++ b/charts/other/myprecious/templates/services/service-davio.yaml @@ -0,0 +1,20 @@ +{{ if .Values.davio.enabled }} +apiVersion: v1 +kind: Service +metadata: + name: davio + labels: + app.kubernetes.io/name: davio + app.kubernetes.io/instance: {{ .Release.Name }} + annotations: +spec: + type: ClusterIP + ports: + - port: 4000 + targetPort: 4000 + protocol: TCP + name: http + selector: + app.kubernetes.io/name: davio + app.kubernetes.io/instance: {{ .Release.Name }} +{{ end }} \ No newline at end of file diff --git a/charts/other/myprecious/values.yaml b/charts/other/myprecious/values.yaml index 62a77e6e0..2735050d6 100644 --- a/charts/other/myprecious/values.yaml +++ b/charts/other/myprecious/values.yaml @@ -10677,6 +10677,63 @@ jackettio: name: elfbot-jackettio optional: true +davio: + enabled: false + image: + repository: ghcr.io/geek-cookbook/davio + tag: v1.0.0@sha256:9a45e792fb1c6f17396cc0fcb13b795fe4727732d87b26cd285aea6439b2ed70 + priorityClassName: tenant-normal + controller: + annotations: + configmap.reloader.stakater.com/reload: "elfbot-all,elfbot-davio,davio-env" + secret.reloader.stakater.com/reload: "davio-env" + strategy: + rollingUpdate: + unavailable: 1 + securityContext: + seccompProfile: + type: RuntimeDefault + readOnlyRootFilesystem: true + podSecurityContext: + seccompProfile: + type: RuntimeDefault + runAsUser: 568 + runAsGroup: 568 + fsGroup: 568 + fsGroupChangePolicy: "OnRootMismatch" + automountServiceAccountToken: false + persistence: + tmp: *tmp + config: + enabled: true + type: custom + mountPath: /config + volumeSpec: *volumespec_ephemeral_volume_1g + resources: + requests: + cpu: 10m + memory: 512Mi + limits: + cpu: 1 + memory: 1Gi + ingress: + main: + enabled: false + service: + main: + enabled: true # necessary for probes + ports: + http: + port: 4000 + envFrom: + - configMapRef: + name: davio-env + - secretRef: + name: davio-env + - configMapRef: + name: elfbot-davio + optional: true + mediafusion: enabled: false image: