Pārlūkot izejas kodu

Move sonarr/radarr to correct train (#1101)

Stavros Kois 2 gadi atpakaļ
vecāks
revīzija
04dc6d5237
64 mainītis faili ar 0 papildinājumiem un 917 dzēšanām
  1. 0 25
      charts/radarr/1.0.0/ix_values.yaml
  2. 0 25
      charts/sonarr/1.0.0/ix_values.yaml
  3. 0 6
      library/ix-dev/charts/radarr/Chart.lock
  4. 0 25
      library/ix-dev/charts/radarr/Chart.yaml
  5. 0 8
      library/ix-dev/charts/radarr/README.md
  6. 0 8
      library/ix-dev/charts/radarr/app-readme.md
  7. BIN
      library/ix-dev/charts/radarr/charts/common-1.0.3.tgz
  8. 0 11
      library/ix-dev/charts/radarr/ci/basic-values.yaml
  9. 0 21
      library/ix-dev/charts/radarr/ci/extra-values.yaml
  10. 0 8
      library/ix-dev/charts/radarr/ci/hostNet-values.yaml
  11. 0 4
      library/ix-dev/charts/radarr/item.yaml
  12. 0 225
      library/ix-dev/charts/radarr/questions.yaml
  13. 0 1
      library/ix-dev/charts/radarr/templates/NOTES.txt
  14. 0 12
      library/ix-dev/charts/radarr/templates/_portal.tpl
  15. 0 101
      library/ix-dev/charts/radarr/templates/_radarr.tpl
  16. 0 9
      library/ix-dev/charts/radarr/templates/common.yaml
  17. 0 6
      library/ix-dev/charts/sonarr/Chart.lock
  18. 0 25
      library/ix-dev/charts/sonarr/Chart.yaml
  19. 0 8
      library/ix-dev/charts/sonarr/README.md
  20. 0 8
      library/ix-dev/charts/sonarr/app-readme.md
  21. BIN
      library/ix-dev/charts/sonarr/charts/common-1.0.3.tgz
  22. 0 11
      library/ix-dev/charts/sonarr/ci/basic-values.yaml
  23. 0 21
      library/ix-dev/charts/sonarr/ci/extra-values.yaml
  24. 0 8
      library/ix-dev/charts/sonarr/ci/hostNet-values.yaml
  25. 0 4
      library/ix-dev/charts/sonarr/item.yaml
  26. 0 225
      library/ix-dev/charts/sonarr/questions.yaml
  27. 0 1
      library/ix-dev/charts/sonarr/templates/NOTES.txt
  28. 0 12
      library/ix-dev/charts/sonarr/templates/_portal.tpl
  29. 0 90
      library/ix-dev/charts/sonarr/templates/_sonarr.tpl
  30. 0 9
      library/ix-dev/charts/sonarr/templates/common.yaml
  31. 0 0
      library/ix-dev/community/radarr/Chart.lock
  32. 0 0
      library/ix-dev/community/radarr/Chart.yaml
  33. 0 0
      library/ix-dev/community/radarr/README.md
  34. 0 0
      library/ix-dev/community/radarr/app-readme.md
  35. 0 0
      library/ix-dev/community/radarr/charts/common-1.0.3.tgz
  36. 0 0
      library/ix-dev/community/radarr/ci/basic-values.yaml
  37. 0 0
      library/ix-dev/community/radarr/ci/extra-values.yaml
  38. 0 0
      library/ix-dev/community/radarr/ci/hostNet-values.yaml
  39. 0 0
      library/ix-dev/community/radarr/item.yaml
  40. 0 0
      library/ix-dev/community/radarr/questions.yaml
  41. 0 0
      library/ix-dev/community/radarr/templates/NOTES.txt
  42. 0 0
      library/ix-dev/community/radarr/templates/_portal.tpl
  43. 0 0
      library/ix-dev/community/radarr/templates/_radarr.tpl
  44. 0 0
      library/ix-dev/community/radarr/templates/common.yaml
  45. 0 0
      library/ix-dev/community/radarr/upgrade_info.json
  46. 0 0
      library/ix-dev/community/radarr/upgrade_strategy
  47. 0 0
      library/ix-dev/community/radarr/values.yaml
  48. 0 0
      library/ix-dev/community/sonarr/Chart.lock
  49. 0 0
      library/ix-dev/community/sonarr/Chart.yaml
  50. 0 0
      library/ix-dev/community/sonarr/README.md
  51. 0 0
      library/ix-dev/community/sonarr/app-readme.md
  52. 0 0
      library/ix-dev/community/sonarr/charts/common-1.0.3.tgz
  53. 0 0
      library/ix-dev/community/sonarr/ci/basic-values.yaml
  54. 0 0
      library/ix-dev/community/sonarr/ci/extra-values.yaml
  55. 0 0
      library/ix-dev/community/sonarr/ci/hostNet-values.yaml
  56. 0 0
      library/ix-dev/community/sonarr/item.yaml
  57. 0 0
      library/ix-dev/community/sonarr/questions.yaml
  58. 0 0
      library/ix-dev/community/sonarr/templates/NOTES.txt
  59. 0 0
      library/ix-dev/community/sonarr/templates/_portal.tpl
  60. 0 0
      library/ix-dev/community/sonarr/templates/_sonarr.tpl
  61. 0 0
      library/ix-dev/community/sonarr/templates/common.yaml
  62. 0 0
      library/ix-dev/community/sonarr/upgrade_info.json
  63. 0 0
      library/ix-dev/community/sonarr/upgrade_strategy
  64. 0 0
      library/ix-dev/community/sonarr/values.yaml

+ 0 - 25
charts/radarr/1.0.0/ix_values.yaml

@@ -1,25 +0,0 @@
-image:
-  repository: ghcr.io/onedr0p/radarr
-  pullPolicy: IfNotPresent
-  tag: '4.3.2.6857'
-
-resources:
-  limits:
-    cpu: 4000m
-    memory: 8Gi
-
-radarrConfig:
-  instanceName: Radarr
-  additionalEnvs: []
-radarrNetwork:
-  webPort: 30000
-  hostNetwork: false
-radarrRunAs:
-  user: 568
-  group: 568
-radarrStorage:
-  config:
-    type: ixVolume
-    hostPath: ''
-    datasetName: config
-  additionalStorages: []

+ 0 - 25
charts/sonarr/1.0.0/ix_values.yaml

@@ -1,25 +0,0 @@
-image:
-  repository: ghcr.io/onedr0p/sonarr
-  pullPolicy: IfNotPresent
-  tag: '3.0.10.1567'
-
-resources:
-  limits:
-    cpu: 4000m
-    memory: 8Gi
-
-sonarrConfig:
-  instanceName: Sonarr
-  additionalEnvs: []
-sonarrNetwork:
-  webPort: 30000
-  hostNetwork: false
-sonarrRunAs:
-  user: 568
-  group: 568
-sonarrStorage:
-  config:
-    type: ixVolume
-    hostPath: ''
-    datasetName: config
-  additionalStorages: []

+ 0 - 6
library/ix-dev/charts/radarr/Chart.lock

@@ -1,6 +0,0 @@
-dependencies:
-- name: common
-  repository: file://../../../common
-  version: 1.0.3
-digest: sha256:1a090020cfa582aff29906320874ffe9b543fcc6c2423c281f434514f2653e02
-generated: "2023-04-07T14:31:28.408246409+03:00"

+ 0 - 25
library/ix-dev/charts/radarr/Chart.yaml

@@ -1,25 +0,0 @@
-name: radarr
-description: Radarr is a movie collection manager for Usenet and BitTorrent users.
-annotations:
-  title: Radarr
-type: application
-version: 1.0.0
-apiVersion: v2
-appVersion: '4.3.2.6857'
-kubeVersion: '>=1.16.0-0'
-maintainers:
-  - name: truenas
-    url: https://www.truenas.com/
-dependencies:
-  - name: common
-    repository: file://../../../common
-    version: 1.0.3
-home: https://github.com/Radarr/Radarr
-icon: https://raw.githubusercontent.com/Radarr/Radarr/develop/Logo/256.png
-sources:
-  - https://github.com/onedr0p/containers/tree/main/apps/radarr
-  - https://github.com/truenas/charts/tree/master/charts/radarr
-  - https://github.com/Radarr/Radarr
-keywords:
-  - media
-  - movies

+ 0 - 8
library/ix-dev/charts/radarr/README.md

@@ -1,8 +0,0 @@
-# Radarr
-
-[Radarr](https://github.com/Radarr/Radarr) is a movie collection manager for Usenet and BitTorrent users.
-
-> When application is installed, a container will be launched with **root** privileges.
-> This is required in order to apply the correct permissions to the `Radarr` directories.
-> Afterward, the `Radarr` container will run as a **non**-root user (Default: `568`).
-> All mounted storage(s) will be `chown`ed only if the parent directory does not match the configured user.

+ 0 - 8
library/ix-dev/charts/radarr/app-readme.md

@@ -1,8 +0,0 @@
-# Radarr
-
-[Radarr](https://github.com/Radarr/Radarr) is a movie collection manager for Usenet and BitTorrent users.
-
-> When application is installed, a container will be launched with **root** privileges.
-> This is required in order to apply the correct permissions to the `Radarr` directories.
-> Afterward, the `Radarr` container will run as a **non**-root user (Default: `568`).
-> All mounted storage(s) will be `chown`ed only if the parent directory does not match the configured user.

BIN
library/ix-dev/charts/radarr/charts/common-1.0.3.tgz


+ 0 - 11
library/ix-dev/charts/radarr/ci/basic-values.yaml

@@ -1,11 +0,0 @@
-radarrNetwork:
-  webPort: 31000
-
-radarrRunAs:
-  user: 1000
-  group: 1000
-
-radarrStorage:
-  config:
-    type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/config

+ 0 - 21
library/ix-dev/charts/radarr/ci/extra-values.yaml

@@ -1,21 +0,0 @@
-radarrConfig:
-  additionalEnvs:
-    - name: RADARR__AUTHENTICATION_METHOD
-      value: some-long-api-key
-    - name: RADARR__LOG_LEVEL
-      value: error
-
-radarrNetwork:
-  webPort: 31000
-
-radarrStorage:
-  config:
-    type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/config
-  additionalStorages:
-  - type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/action_movies
-    mountPath: /action_movies
-  - type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/adventure_movies
-    mountPath: /adventure_movies

+ 0 - 8
library/ix-dev/charts/radarr/ci/hostNet-values.yaml

@@ -1,8 +0,0 @@
-radarrNetwork:
-  webPort: 30000
-  hostNetwork: true
-
-radarrStorage:
-  config:
-    type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/config

+ 0 - 4
library/ix-dev/charts/radarr/item.yaml

@@ -1,4 +0,0 @@
-icon_url: https://raw.githubusercontent.com/Radarr/Radarr/develop/Logo/256.png
-categories:
-  - media
-  - movies

+ 0 - 225
library/ix-dev/charts/radarr/questions.yaml

@@ -1,225 +0,0 @@
-groups:
-  - name: Radarr Configuration
-    description: Configure Radarr
-  - name: User and Group Configuration
-    description: Configure User and Group for Radarr
-  - name: Network Configuration
-    description: Configure Network for Radarr
-  - name: Storage Configuration
-    description: Configure Storage for Radarr
-  - name: Resources Configuration
-    description: Configure Resources for Radarr
-
-portals:
-  web_portal:
-    protocols:
-      - "$kubernetes-resource_configmap_portal_protocol"
-    host:
-      - "$kubernetes-resource_configmap_portal_host"
-    ports:
-      - "$kubernetes-resource_configmap_portal_port"
-    path: "$kubernetes-resource_configmap_portal_path"
-
-questions:
-  - variable: radarrConfig
-    label: ""
-    group: Radarr Configuration
-    schema:
-      type: dict
-      attrs:
-        - variable: instanceName
-          label: Instance Name
-          description: The name of the Radarr instance.
-          schema:
-            type: string
-            default: Radarr
-            required: true
-        - variable: additionalEnvs
-          label: Additional Environment Variables
-          description: Configure additional environment variables for Radarr.
-          schema:
-            type: list
-            default: []
-            items:
-              - variable: env
-                label: Environment Variable
-                schema:
-                  type: dict
-                  attrs:
-                    - variable: name
-                      label: Name
-                      schema:
-                        type: string
-                        required: true
-                    - variable: value
-                      label: Value
-                      schema:
-                        type: string
-                        required: true
-
-  - variable: radarrRunAs
-    label: ""
-    group: User and Group Configuration
-    schema:
-      type: dict
-      attrs:
-        - variable: user
-          label: User ID
-          description: The user id that Radarr will run as.
-          schema:
-            type: int
-            min: 1
-            default: 568
-            required: true
-        - variable: group
-          label: Group ID
-          description: The group id that Radarr will run as.
-          schema:
-            type: int
-            min: 1
-            default: 568
-            required: true
-
-  - variable: radarrNetwork
-    label: ""
-    group: Network Configuration
-    schema:
-      type: dict
-      attrs:
-        - variable: webPort
-          label: Web Port
-          description: The port for the Radarr Web UI.
-          schema:
-            type: int
-            default: 30000
-            min: 9000
-            max: 65535
-            required: true
-        - variable: hostNetwork
-          label: Host Network
-          description: |
-            Bind to the host network. It's recommended to keep this disabled.</br>
-          schema:
-            type: boolean
-            default: false
-
-  - variable: radarrStorage
-    label: ""
-    group: Storage Configuration
-    schema:
-      type: dict
-      attrs:
-        - variable: config
-          label: Radarr Config Storage
-          description: The path to store Radarr Configuration.
-          schema:
-            type: dict
-            attrs:
-              - variable: type
-                label: Type
-                description: |
-                  ixVolume: Is dataset created automatically by the system.</br>
-                  Host Path: Is a path that already exists on the system.
-                schema:
-                  type: string
-                  required: true
-                  default: ixVolume
-                  enum:
-                    - value: hostPath
-                      description: Host Path (Path that already exists on the system)
-                    - value: ixVolume
-                      description: ixVolume (Dataset created automatically by the system)
-              - variable: datasetName
-                label: Dataset Name
-                schema:
-                  type: string
-                  show_if: [["type", "=", "ixVolume"]]
-                  required: true
-                  hidden: true
-                  immutable: true
-                  default: config
-                  $ref:
-                    - "normalize/ixVolume"
-              - variable: hostPath
-                label: Host Path
-                schema:
-                  type: hostpath
-                  show_if: [["type", "=", "hostPath"]]
-                  immutable: true
-                  required: true
-        - variable: additionalStorages
-          label: Additional Storage
-          description: Additional storage for Radarr.
-          schema:
-            type: list
-            default: []
-            items:
-              - variable: storageEntry
-                label: Storage Entry
-                schema:
-                  type: dict
-                  attrs:
-                    - variable: type
-                      label: Type
-                      description: |
-                        ixVolume: Is dataset created automatically by the system.</br>
-                        Host Path: Is a path that already exists on the system.
-                      schema:
-                        type: string
-                        required: true
-                        default: ixVolume
-                        enum:
-                          - value: hostPath
-                            description: Host Path (Path that already exists on the system)
-                          - value: ixVolume
-                            description: ixVolume (Dataset created automatically by the system)
-                    - variable: mountPath
-                      label: Mount Path
-                      description: The path inside the container to mount the storage.
-                      schema:
-                        type: path
-                        required: true
-                    - variable: hostPath
-                      label: Host Path
-                      description: The host path to use for storage.
-                      schema:
-                        type: hostpath
-                        show_if: [["type", "=", "hostPath"]]
-                        required: true
-                    - variable: datasetName
-                      label: Dataset Name
-                      description: The name of the dataset to use for storage.
-                      schema:
-                        type: string
-                        show_if: [["type", "=", "ixVolume"]]
-                        required: true
-                        immutable: true
-                        default: "storage_entry"
-                        $ref:
-                          - "normalize/ixVolume"
-
-  - variable: resources
-    group: Resources Configuration
-    label: ""
-    schema:
-      type: dict
-      attrs:
-        - variable: limits
-          label: Limits
-          schema:
-            type: dict
-            attrs:
-              - variable: cpu
-                label: CPU
-                description: CPU limit for Radarr.
-                schema:
-                  type: string
-                  default: 4000m
-                  required: true
-              - variable: memory
-                label: Memory
-                description: Memory limit for Radarr.
-                schema:
-                  type: string
-                  default: 8Gi
-                  required: true

+ 0 - 1
library/ix-dev/charts/radarr/templates/NOTES.txt

@@ -1 +0,0 @@
-{{ include "ix.v1.common.lib.chart.notes" $ }}

+ 0 - 12
library/ix-dev/charts/radarr/templates/_portal.tpl

@@ -1,12 +0,0 @@
-{{- define "radarr.portal" -}}
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
-  name: portal
-data:
-  path: "/"
-  port: {{ .Values.radarrNetwork.webPort | quote }}
-  protocol: http
-  host: $node_ip
-{{- end -}}

+ 0 - 101
library/ix-dev/charts/radarr/templates/_radarr.tpl

@@ -1,101 +0,0 @@
-{{- define "radarr.workload" -}}
-workload:
-  radarr:
-    enabled: true
-    primary: true
-    type: Deployment
-    podSpec:
-      hostNetwork: {{ .Values.radarrNetwork.hostNetwork }}
-      containers:
-        radarr:
-          enabled: true
-          primary: true
-          imageSelector: image
-          securityContext:
-            runAsUser: {{ .Values.radarrRunAs.user }}
-            runAsGroup: {{ .Values.radarrRunAs.group }}
-          {{ with .Values.radarrConfig.additionalEnvs }}
-          env:
-            {{ range $env := . }}
-            {{ $env.name }}: {{ $env.value }}
-            {{ end }}
-          {{ end }}
-          env:
-            RADARR__PORT: {{ .Values.radarrNetwork.webPort }}
-            RADARR__INSTANCE_NAME: {{ .Values.radarrConfig.instanceName }}
-          probes:
-            liveness:
-              enabled: true
-              type: http
-              port: "{{ .Values.radarrNetwork.webPort }}"
-              path: /
-              # FIXME: Next release will include this endpoint without auth
-              # path: /ping
-            readiness:
-              enabled: true
-              type: http
-              port: "{{ .Values.radarrNetwork.webPort }}"
-              path: /
-              # path: /ping
-            startup:
-              enabled: true
-              type: http
-              port: "{{ .Values.radarrNetwork.webPort }}"
-              path: /
-              # path: /ping
-      initContainers:
-      {{- include "ix.v1.common.app.permissions" (dict "containerName" "01-permissions"
-                                                        "UID" .Values.radarrRunAs.user
-                                                        "GID" .Values.radarrRunAs.group
-                                                        "mode" "check"
-                                                        "type" "init") | nindent 8 }}
-
-{{/* Service */}}
-service:
-  radarr:
-    enabled: true
-    primary: true
-    type: NodePort
-    targetSelector: radarr
-    ports:
-      webui:
-        enabled: true
-        primary: true
-        port: {{ .Values.radarrNetwork.webPort }}
-        nodePort: {{ .Values.radarrNetwork.webPort }}
-        targetSelector: radarr
-
-{{/* Persistence */}}
-persistence:
-  config:
-    enabled: true
-    type: {{ .Values.radarrStorage.config.type }}
-    datasetName: {{ .Values.radarrStorage.config.datasetName | default "" }}
-    hostPath: {{ .Values.radarrStorage.config.hostPath | default "" }}
-    targetSelector:
-      radarr:
-        radarr:
-          mountPath: /config
-        01-permissions:
-          mountPath: /mnt/directories/config
-  tmp:
-    enabled: true
-    type: emptyDir
-    targetSelector:
-      radarr:
-        radarr:
-          mountPath: /tmp
-  {{- range $idx, $storage := .Values.radarrStorage.additionalStorages }}
-  {{ printf "radarr-%v" (int $idx) }}:
-    enabled: true
-    type: {{ $storage.type }}
-    datasetName: {{ $storage.datasetName | default "" }}
-    hostPath: {{ $storage.hostPath | default "" }}
-    targetSelector:
-      radarr:
-        radarr:
-          mountPath: {{ $storage.mountPath }}
-        01-permissions:
-          mountPath: /mnt/directories{{ $storage.mountPath }}
-  {{- end }}
-{{- end -}}

+ 0 - 9
library/ix-dev/charts/radarr/templates/common.yaml

@@ -1,9 +0,0 @@
-{{- include "ix.v1.common.loader.init" . -}}
-
-{{/* Merge the templates with Values */}}
-{{- $_ := mustMergeOverwrite .Values (include "radarr.workload" $ | fromYaml) -}}
-
-{{/* Create the configmap for portal manually*/}}
-{{- include "radarr.portal" $ -}}
-
-{{- include "ix.v1.common.loader.apply" . -}}

+ 0 - 6
library/ix-dev/charts/sonarr/Chart.lock

@@ -1,6 +0,0 @@
-dependencies:
-- name: common
-  repository: file://../../../common
-  version: 1.0.3
-digest: sha256:1a090020cfa582aff29906320874ffe9b543fcc6c2423c281f434514f2653e02
-generated: "2023-04-06T11:54:15.069382144Z"

+ 0 - 25
library/ix-dev/charts/sonarr/Chart.yaml

@@ -1,25 +0,0 @@
-name: sonarr
-description: Sonarr is a PVR for Usenet and BitTorrent users.
-annotations:
-  title: Sonarr
-type: application
-version: 1.0.0
-apiVersion: v2
-appVersion: '3.0.10.1567'
-kubeVersion: '>=1.16.0-0'
-maintainers:
-  - name: truenas
-    url: https://www.truenas.com/
-dependencies:
-  - name: common
-    repository: file://../../../common
-    version: 1.0.3
-home: https://github.com/Sonarr/Sonarr
-icon: https://raw.githubusercontent.com/Sonarr/Sonarr/develop/Logo/256.png
-sources:
-  - https://github.com/onedr0p/containers/tree/main/apps/sonarr
-  - https://github.com/truenas/charts/tree/master/charts/sonarr
-  - https://github.com/Sonarr/Sonarr
-keywords:
-  - media
-  - series

+ 0 - 8
library/ix-dev/charts/sonarr/README.md

@@ -1,8 +0,0 @@
-# Sonarr
-
-[Sonarr](https://github.com/Sonarr/Sonarr) is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them.
-
-> When application is installed, a container will be launched with **root** privileges.
-> This is required in order to apply the correct permissions to the `Sonarr` directories.
-> Afterward, the `Sonarr` container will run as a **non**-root user (Default: `568`).
-> All mounted storage(s) will be `chown`ed only if the parent directory does not match the configured user.

+ 0 - 8
library/ix-dev/charts/sonarr/app-readme.md

@@ -1,8 +0,0 @@
-# Sonarr
-
-[Sonarr](https://github.com/Sonarr/Sonarr) is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them.
-
-> When application is installed, a container will be launched with **root** privileges.
-> This is required in order to apply the correct permissions to the `Sonarr` directories.
-> Afterward, the `Sonarr` container will run as a **non**-root user (Default: `568`).
-> All mounted storage(s) will be `chown`ed only if the parent directory does not match the configured user.

BIN
library/ix-dev/charts/sonarr/charts/common-1.0.3.tgz


+ 0 - 11
library/ix-dev/charts/sonarr/ci/basic-values.yaml

@@ -1,11 +0,0 @@
-sonarrNetwork:
-  webPort: 31000
-
-sonarrRunAs:
-  user: 1000
-  group: 1000
-
-sonarrStorage:
-  config:
-    type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/config

+ 0 - 21
library/ix-dev/charts/sonarr/ci/extra-values.yaml

@@ -1,21 +0,0 @@
-sonarrConfig:
-  additionalEnvs:
-    - name: SONARR__AUTHENTICATION_METHOD
-      value: some-long-api-key
-    - name: SONARR__LOG_LEVEL
-      value: error
-
-sonarrNetwork:
-  webPort: 31000
-
-sonarrStorage:
-  config:
-    type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/config
-  additionalStorages:
-  - type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/action_series
-    mountPath: /action_series
-  - type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/adventure_series
-    mountPath: /adventure_series

+ 0 - 8
library/ix-dev/charts/sonarr/ci/hostNet-values.yaml

@@ -1,8 +0,0 @@
-sonarrNetwork:
-  webPort: 30000
-  hostNetwork: true
-
-sonarrStorage:
-  config:
-    type: hostPath
-    hostPath: /mnt/{{ .Release.Namespace }}/config

+ 0 - 4
library/ix-dev/charts/sonarr/item.yaml

@@ -1,4 +0,0 @@
-icon_url: https://raw.githubusercontent.com/Sonarr/Sonarr/develop/Logo/256.png
-categories:
-  - media
-  - series

+ 0 - 225
library/ix-dev/charts/sonarr/questions.yaml

@@ -1,225 +0,0 @@
-groups:
-  - name: Sonarr Configuration
-    description: Configure Sonarr
-  - name: User and Group Configuration
-    description: Configure User and Group for Sonarr
-  - name: Network Configuration
-    description: Configure Network for Sonarr
-  - name: Storage Configuration
-    description: Configure Storage for Sonarr
-  - name: Resources Configuration
-    description: Configure Resources for Sonarr
-
-portals:
-  web_portal:
-    protocols:
-      - "$kubernetes-resource_configmap_portal_protocol"
-    host:
-      - "$kubernetes-resource_configmap_portal_host"
-    ports:
-      - "$kubernetes-resource_configmap_portal_port"
-    path: "$kubernetes-resource_configmap_portal_path"
-
-questions:
-  - variable: sonarrConfig
-    label: ""
-    group: Sonarr Configuration
-    schema:
-      type: dict
-      attrs:
-        - variable: instanceName
-          label: Instance Name
-          description: The name of the Sonarr instance.
-          schema:
-            type: string
-            default: Sonarr
-            required: true
-        - variable: additionalEnvs
-          label: Additional Environment Variables
-          description: Configure additional environment variables for Sonarr.
-          schema:
-            type: list
-            default: []
-            items:
-              - variable: env
-                label: Environment Variable
-                schema:
-                  type: dict
-                  attrs:
-                    - variable: name
-                      label: Name
-                      schema:
-                        type: string
-                        required: true
-                    - variable: value
-                      label: Value
-                      schema:
-                        type: string
-                        required: true
-
-  - variable: sonarrRunAs
-    label: ""
-    group: User and Group Configuration
-    schema:
-      type: dict
-      attrs:
-        - variable: user
-          label: User ID
-          description: The user id that Sonarr will run as.
-          schema:
-            type: int
-            min: 1
-            default: 568
-            required: true
-        - variable: group
-          label: Group ID
-          description: The group id that Sonarr will run as.
-          schema:
-            type: int
-            min: 1
-            default: 568
-            required: true
-
-  - variable: sonarrNetwork
-    label: ""
-    group: Network Configuration
-    schema:
-      type: dict
-      attrs:
-        - variable: webPort
-          label: Web Port
-          description: The port for the Sonarr Web UI.
-          schema:
-            type: int
-            default: 30000
-            min: 9000
-            max: 65535
-            required: true
-        - variable: hostNetwork
-          label: Host Network
-          description: |
-            Bind to the host network. It's recommended to keep this disabled.</br>
-          schema:
-            type: boolean
-            default: false
-
-  - variable: sonarrStorage
-    label: ""
-    group: Storage Configuration
-    schema:
-      type: dict
-      attrs:
-        - variable: config
-          label: Sonarr Config Storage
-          description: The path to store Sonarr Configuration.
-          schema:
-            type: dict
-            attrs:
-              - variable: type
-                label: Type
-                description: |
-                  ixVolume: Is dataset created automatically by the system.</br>
-                  Host Path: Is a path that already exists on the system.
-                schema:
-                  type: string
-                  required: true
-                  default: ixVolume
-                  enum:
-                    - value: hostPath
-                      description: Host Path (Path that already exists on the system)
-                    - value: ixVolume
-                      description: ixVolume (Dataset created automatically by the system)
-              - variable: datasetName
-                label: Dataset Name
-                schema:
-                  type: string
-                  show_if: [["type", "=", "ixVolume"]]
-                  required: true
-                  hidden: true
-                  immutable: true
-                  default: config
-                  $ref:
-                    - "normalize/ixVolume"
-              - variable: hostPath
-                label: Host Path
-                schema:
-                  type: hostpath
-                  show_if: [["type", "=", "hostPath"]]
-                  immutable: true
-                  required: true
-        - variable: additionalStorages
-          label: Additional Storage
-          description: Additional storage for Sonarr.
-          schema:
-            type: list
-            default: []
-            items:
-              - variable: storageEntry
-                label: Storage Entry
-                schema:
-                  type: dict
-                  attrs:
-                    - variable: type
-                      label: Type
-                      description: |
-                        ixVolume: Is dataset created automatically by the system.</br>
-                        Host Path: Is a path that already exists on the system.
-                      schema:
-                        type: string
-                        required: true
-                        default: ixVolume
-                        enum:
-                          - value: hostPath
-                            description: Host Path (Path that already exists on the system)
-                          - value: ixVolume
-                            description: ixVolume (Dataset created automatically by the system)
-                    - variable: mountPath
-                      label: Mount Path
-                      description: The path inside the container to mount the storage.
-                      schema:
-                        type: path
-                        required: true
-                    - variable: hostPath
-                      label: Host Path
-                      description: The host path to use for storage.
-                      schema:
-                        type: hostpath
-                        show_if: [["type", "=", "hostPath"]]
-                        required: true
-                    - variable: datasetName
-                      label: Dataset Name
-                      description: The name of the dataset to use for storage.
-                      schema:
-                        type: string
-                        show_if: [["type", "=", "ixVolume"]]
-                        required: true
-                        immutable: true
-                        default: "storage_entry"
-                        $ref:
-                          - "normalize/ixVolume"
-
-  - variable: resources
-    group: Resources Configuration
-    label: ""
-    schema:
-      type: dict
-      attrs:
-        - variable: limits
-          label: Limits
-          schema:
-            type: dict
-            attrs:
-              - variable: cpu
-                label: CPU
-                description: CPU limit for Sonarr.
-                schema:
-                  type: string
-                  default: 4000m
-                  required: true
-              - variable: memory
-                label: Memory
-                description: Memory limit for Sonarr.
-                schema:
-                  type: string
-                  default: 8Gi
-                  required: true

+ 0 - 1
library/ix-dev/charts/sonarr/templates/NOTES.txt

@@ -1 +0,0 @@
-{{ include "ix.v1.common.lib.chart.notes" $ }}

+ 0 - 12
library/ix-dev/charts/sonarr/templates/_portal.tpl

@@ -1,12 +0,0 @@
-{{- define "sonarr.portal" -}}
----
-apiVersion: v1
-kind: ConfigMap
-metadata:
-  name: portal
-data:
-  path: "/"
-  port: {{ .Values.sonarrNetwork.webPort | quote }}
-  protocol: http
-  host: $node_ip
-{{- end -}}

+ 0 - 90
library/ix-dev/charts/sonarr/templates/_sonarr.tpl

@@ -1,90 +0,0 @@
-{{- define "sonarr.workload" -}}
-workload:
-  sonarr:
-    enabled: true
-    primary: true
-    type: Deployment
-    podSpec:
-      hostNetwork: {{ .Values.sonarrNetwork.hostNetwork }}
-      containers:
-        sonarr:
-          enabled: true
-          primary: true
-          imageSelector: image
-          securityContext:
-            runAsUser: {{ .Values.sonarrRunAs.user }}
-            runAsGroup: {{ .Values.sonarrRunAs.group }}
-          {{ with .Values.sonarrConfig.additionalEnvs }}
-          env:
-            {{ range $env := . }}
-            {{ $env.name }}: {{ $env.value }}
-            {{ end }}
-          {{ end }}
-          env:
-            SONARR__PORT: {{ .Values.sonarrNetwork.webPort }}
-            SONARR__INSTANCE_NAME: {{ .Values.sonarrConfig.instanceName }}
-          probes:
-            liveness:
-              enabled: true
-              type: http
-              port: "{{ .Values.sonarrNetwork.webPort }}"
-              path: /ping
-            readiness:
-              enabled: true
-              type: http
-              port: "{{ .Values.sonarrNetwork.webPort }}"
-              path: /ping
-            startup:
-              enabled: true
-              type: http
-              port: "{{ .Values.sonarrNetwork.webPort }}"
-              path: /ping
-      initContainers:
-      {{- include "ix.v1.common.app.permissions" (dict "containerName" "01-permissions"
-                                                        "UID" .Values.sonarrRunAs.user
-                                                        "GID" .Values.sonarrRunAs.group
-                                                        "mode" "check"
-                                                        "type" "init") | nindent 8 }}
-
-{{/* Service */}}
-service:
-  sonarr:
-    enabled: true
-    primary: true
-    type: NodePort
-    targetSelector: sonarr
-    ports:
-      webui:
-        enabled: true
-        primary: true
-        port: {{ .Values.sonarrNetwork.webPort }}
-        nodePort: {{ .Values.sonarrNetwork.webPort }}
-        targetSelector: sonarr
-
-{{/* Persistence */}}
-persistence:
-  config:
-    enabled: true
-    type: {{ .Values.sonarrStorage.config.type }}
-    datasetName: {{ .Values.sonarrStorage.config.datasetName | default "" }}
-    hostPath: {{ .Values.sonarrStorage.config.hostPath | default "" }}
-    targetSelector:
-      sonarr:
-        sonarr:
-          mountPath: /config
-        01-permissions:
-          mountPath: /mnt/directories/config
-  {{- range $idx, $storage := .Values.sonarrStorage.additionalStorages }}
-  {{ printf "sonarr-%v" (int $idx) }}:
-    enabled: true
-    type: {{ $storage.type }}
-    datasetName: {{ $storage.datasetName | default "" }}
-    hostPath: {{ $storage.hostPath | default "" }}
-    targetSelector:
-      sonarr:
-        sonarr:
-          mountPath: {{ $storage.mountPath }}
-        01-permissions:
-          mountPath: /mnt/directories{{ $storage.mountPath }}
-  {{- end }}
-{{- end -}}

+ 0 - 9
library/ix-dev/charts/sonarr/templates/common.yaml

@@ -1,9 +0,0 @@
-{{- include "ix.v1.common.loader.init" . -}}
-
-{{/* Merge the templates with Values */}}
-{{- $_ := mustMergeOverwrite .Values (include "sonarr.workload" $ | fromYaml) -}}
-
-{{/* Create the configmap for portal manually*/}}
-{{- include "sonarr.portal" $ -}}
-
-{{- include "ix.v1.common.loader.apply" . -}}

+ 0 - 0
charts/radarr/1.0.0/Chart.lock → library/ix-dev/community/radarr/Chart.lock


+ 0 - 0
charts/radarr/1.0.0/Chart.yaml → library/ix-dev/community/radarr/Chart.yaml


+ 0 - 0
charts/radarr/1.0.0/README.md → library/ix-dev/community/radarr/README.md


+ 0 - 0
charts/radarr/1.0.0/app-readme.md → library/ix-dev/community/radarr/app-readme.md


+ 0 - 0
charts/radarr/1.0.0/charts/common-1.0.3.tgz → library/ix-dev/community/radarr/charts/common-1.0.3.tgz


+ 0 - 0
charts/radarr/1.0.0/ci/basic-values.yaml → library/ix-dev/community/radarr/ci/basic-values.yaml


+ 0 - 0
charts/radarr/1.0.0/ci/extra-values.yaml → library/ix-dev/community/radarr/ci/extra-values.yaml


+ 0 - 0
charts/radarr/1.0.0/ci/hostNet-values.yaml → library/ix-dev/community/radarr/ci/hostNet-values.yaml


+ 0 - 0
charts/radarr/item.yaml → library/ix-dev/community/radarr/item.yaml


+ 0 - 0
charts/radarr/1.0.0/questions.yaml → library/ix-dev/community/radarr/questions.yaml


+ 0 - 0
charts/radarr/1.0.0/templates/NOTES.txt → library/ix-dev/community/radarr/templates/NOTES.txt


+ 0 - 0
charts/radarr/1.0.0/templates/_portal.tpl → library/ix-dev/community/radarr/templates/_portal.tpl


+ 0 - 0
charts/radarr/1.0.0/templates/_radarr.tpl → library/ix-dev/community/radarr/templates/_radarr.tpl


+ 0 - 0
charts/radarr/1.0.0/templates/common.yaml → library/ix-dev/community/radarr/templates/common.yaml


+ 0 - 0
library/ix-dev/charts/radarr/upgrade_info.json → library/ix-dev/community/radarr/upgrade_info.json


+ 0 - 0
library/ix-dev/charts/radarr/upgrade_strategy → library/ix-dev/community/radarr/upgrade_strategy


+ 0 - 0
library/ix-dev/charts/radarr/values.yaml → library/ix-dev/community/radarr/values.yaml


+ 0 - 0
charts/sonarr/1.0.0/Chart.lock → library/ix-dev/community/sonarr/Chart.lock


+ 0 - 0
charts/sonarr/1.0.0/Chart.yaml → library/ix-dev/community/sonarr/Chart.yaml


+ 0 - 0
charts/sonarr/1.0.0/README.md → library/ix-dev/community/sonarr/README.md


+ 0 - 0
charts/sonarr/1.0.0/app-readme.md → library/ix-dev/community/sonarr/app-readme.md


+ 0 - 0
charts/sonarr/1.0.0/charts/common-1.0.3.tgz → library/ix-dev/community/sonarr/charts/common-1.0.3.tgz


+ 0 - 0
charts/sonarr/1.0.0/ci/basic-values.yaml → library/ix-dev/community/sonarr/ci/basic-values.yaml


+ 0 - 0
charts/sonarr/1.0.0/ci/extra-values.yaml → library/ix-dev/community/sonarr/ci/extra-values.yaml


+ 0 - 0
charts/sonarr/1.0.0/ci/hostNet-values.yaml → library/ix-dev/community/sonarr/ci/hostNet-values.yaml


+ 0 - 0
charts/sonarr/item.yaml → library/ix-dev/community/sonarr/item.yaml


+ 0 - 0
charts/sonarr/1.0.0/questions.yaml → library/ix-dev/community/sonarr/questions.yaml


+ 0 - 0
charts/sonarr/1.0.0/templates/NOTES.txt → library/ix-dev/community/sonarr/templates/NOTES.txt


+ 0 - 0
charts/sonarr/1.0.0/templates/_portal.tpl → library/ix-dev/community/sonarr/templates/_portal.tpl


+ 0 - 0
charts/sonarr/1.0.0/templates/_sonarr.tpl → library/ix-dev/community/sonarr/templates/_sonarr.tpl


+ 0 - 0
charts/sonarr/1.0.0/templates/common.yaml → library/ix-dev/community/sonarr/templates/common.yaml


+ 0 - 0
library/ix-dev/charts/sonarr/upgrade_info.json → library/ix-dev/community/sonarr/upgrade_info.json


+ 0 - 0
library/ix-dev/charts/sonarr/upgrade_strategy → library/ix-dev/community/sonarr/upgrade_strategy


+ 0 - 0
library/ix-dev/charts/sonarr/values.yaml → library/ix-dev/community/sonarr/values.yaml