diff --git a/catalog.json b/catalog.json index 542b95d6b0..bfafff7c0a 100644 --- a/catalog.json +++ b/catalog.json @@ -169,25 +169,6 @@ "title": "Collabora", "icon_url": "https://avatars.githubusercontent.com/u/22418908?s=200&v=4" }, - "qbittorent": { - "app_readme": "
qbittorent is a utorrent downloading client.
", - "categories": [ - "media", - "torrent" - ], - "description": "Download data from qbittorent.", - "healthy": true, - "healthy_error": null, - "location": "/__w/charts/charts/charts/qbittorent", - "latest_version": "1.0.11", - "latest_app_version": "4.5.2", - "latest_human_version": "4.5.2_1.0.11", - "last_update": "2023-02-28 16:37:54", - "name": "qbittorent", - "recommended": false, - "title": "Qbittorent", - "icon_url": "https://github.com/linuxserver/docker-templates/raw/master/linuxserver.io/img/qbittorrent-icon.png" - }, "storj": { "app_readme": "storj share your extra storage and earn money
", "categories": [ @@ -300,7 +281,7 @@ "latest_version": "1.0.0", "latest_app_version": "1.27.0", "latest_human_version": "1.27.0_1.0.0", - "last_update": null, + "last_update": "2023-04-04 06:53:15", "name": "vaultwarden", "recommended": false, "title": "Vaultwarden", @@ -338,10 +319,10 @@ "healthy": true, "healthy_error": null, "location": "/__w/charts/charts/community/qbittorrent", - "latest_version": "1.0.0", + "latest_version": "1.0.1", "latest_app_version": "4.5.2", - "latest_human_version": "4.5.2_1.0.0", - "last_update": null, + "latest_human_version": "4.5.2_1.0.1", + "last_update": "2023-04-04 06:53:15", "name": "qbittorrent", "recommended": false, "title": "qBittorrent", diff --git a/community/qbittorrent/1.0.0/Chart.lock b/community/qbittorrent/1.0.0/Chart.lock deleted file mode 100644 index ad10850747..0000000000 --- a/community/qbittorrent/1.0.0/Chart.lock +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: -- name: common - repository: file://../../../common - version: 1.0.1 -digest: sha256:ec8784f128039af68613a8268208bde360d5b178f811c4a16c79a1650ca8be92 -generated: "2023-04-03T17:54:32.688255209+03:00" diff --git a/community/qbittorrent/1.0.0/charts/common-1.0.1.tgz b/community/qbittorrent/1.0.0/charts/common-1.0.1.tgz deleted file mode 100644 index 60818764b0..0000000000 Binary files a/community/qbittorrent/1.0.0/charts/common-1.0.1.tgz and /dev/null differ diff --git a/community/qbittorrent/1.0.1/Chart.lock b/community/qbittorrent/1.0.1/Chart.lock new file mode 100644 index 0000000000..cdaeed26ad --- /dev/null +++ b/community/qbittorrent/1.0.1/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: file://../../../common + version: 1.0.2 +digest: sha256:c6d163d47f4544126093e26c4f13a6f5a35feeaa594df31459e9fb31dcb2c938 +generated: "2023-04-04T07:09:23.956314889Z" diff --git a/community/qbittorrent/1.0.0/Chart.yaml b/community/qbittorrent/1.0.1/Chart.yaml similarity index 95% rename from community/qbittorrent/1.0.0/Chart.yaml rename to community/qbittorrent/1.0.1/Chart.yaml index 359cf235e4..89313a1e20 100644 --- a/community/qbittorrent/1.0.0/Chart.yaml +++ b/community/qbittorrent/1.0.1/Chart.yaml @@ -3,7 +3,7 @@ description: The qBittorrent project aims to provide an open-source software alt annotations: title: qBittorrent type: application -version: 1.0.0 +version: 1.0.1 apiVersion: v2 appVersion: '4.5.2' kubeVersion: '>=1.16.0-0' @@ -13,7 +13,7 @@ maintainers: dependencies: - name: common repository: file://../../../common - version: 1.0.1 + version: 1.0.2 home: https://www.qbittorrent.org/ icon: https://upload.wikimedia.org/wikipedia/commons/9/9e/Qbittorrent_logo.png sources: diff --git a/community/qbittorrent/1.0.0/README.md b/community/qbittorrent/1.0.1/README.md similarity index 100% rename from community/qbittorrent/1.0.0/README.md rename to community/qbittorrent/1.0.1/README.md diff --git a/community/qbittorrent/1.0.0/app-readme.md b/community/qbittorrent/1.0.1/app-readme.md similarity index 100% rename from community/qbittorrent/1.0.0/app-readme.md rename to community/qbittorrent/1.0.1/app-readme.md diff --git a/community/qbittorrent/1.0.1/charts/common-1.0.2.tgz b/community/qbittorrent/1.0.1/charts/common-1.0.2.tgz new file mode 100644 index 0000000000..aaf302e8dc Binary files /dev/null and b/community/qbittorrent/1.0.1/charts/common-1.0.2.tgz differ diff --git a/community/qbittorrent/1.0.0/ci/basic-values.yaml b/community/qbittorrent/1.0.1/ci/basic-values.yaml similarity index 100% rename from community/qbittorrent/1.0.0/ci/basic-values.yaml rename to community/qbittorrent/1.0.1/ci/basic-values.yaml diff --git a/community/qbittorrent/1.0.0/ci/extra-env-values.yaml b/community/qbittorrent/1.0.1/ci/extra-env-values.yaml similarity index 100% rename from community/qbittorrent/1.0.0/ci/extra-env-values.yaml rename to community/qbittorrent/1.0.1/ci/extra-env-values.yaml diff --git a/community/qbittorrent/1.0.0/ci/hostNet-values.yaml b/community/qbittorrent/1.0.1/ci/hostNet-values.yaml similarity index 100% rename from community/qbittorrent/1.0.0/ci/hostNet-values.yaml rename to community/qbittorrent/1.0.1/ci/hostNet-values.yaml diff --git a/community/qbittorrent/1.0.0/ix_values.yaml b/community/qbittorrent/1.0.1/ix_values.yaml similarity index 100% rename from community/qbittorrent/1.0.0/ix_values.yaml rename to community/qbittorrent/1.0.1/ix_values.yaml diff --git a/community/qbittorrent/1.0.0/questions.yaml b/community/qbittorrent/1.0.1/questions.yaml similarity index 100% rename from community/qbittorrent/1.0.0/questions.yaml rename to community/qbittorrent/1.0.1/questions.yaml diff --git a/community/qbittorrent/1.0.0/templates/NOTES.txt b/community/qbittorrent/1.0.1/templates/NOTES.txt similarity index 100% rename from community/qbittorrent/1.0.0/templates/NOTES.txt rename to community/qbittorrent/1.0.1/templates/NOTES.txt diff --git a/community/qbittorrent/1.0.0/templates/_configuration.tpl b/community/qbittorrent/1.0.1/templates/_configuration.tpl similarity index 100% rename from community/qbittorrent/1.0.0/templates/_configuration.tpl rename to community/qbittorrent/1.0.1/templates/_configuration.tpl diff --git a/community/qbittorrent/1.0.0/templates/_portal.tpl b/community/qbittorrent/1.0.1/templates/_portal.tpl similarity index 100% rename from community/qbittorrent/1.0.0/templates/_portal.tpl rename to community/qbittorrent/1.0.1/templates/_portal.tpl diff --git a/community/qbittorrent/1.0.0/templates/_qbittorrent.tpl b/community/qbittorrent/1.0.1/templates/_qbittorrent.tpl similarity index 65% rename from community/qbittorrent/1.0.0/templates/_qbittorrent.tpl rename to community/qbittorrent/1.0.1/templates/_qbittorrent.tpl index 712ef63cdd..911474a8d7 100644 --- a/community/qbittorrent/1.0.0/templates/_qbittorrent.tpl +++ b/community/qbittorrent/1.0.1/templates/_qbittorrent.tpl @@ -40,43 +40,11 @@ workload: port: "{{ .Values.qbitNetwork.webPort }}" path: / initContainers: - check-permissions: - enabled: true - type: init - imageSelector: bashImage - resources: - limits: - cpu: 1000m - memory: 512Mi - securityContext: - runAsUser: 0 - runAsGroup: 0 - runAsNonRoot: false - readOnlyRootFilesystem: false - capabilities: - add: - - CHOWN - command: bash - args: - - -c - - | - for dir in /mnt/directories/*; do - if [ ! -d "$dir" ]; then - echo "[$dir] is not a directory, skipping" - continue - fi - - if [ $(stat -c %u "$dir") -eq {{ .Values.qbitRunAs.user }} ] && [ $(stat -c %g "$dir") -eq {{ .Values.qbitRunAs.group }} ]; then - echo "Permissions on ["$dir"] are correct" - else - echo "Permissions on ["$dir"] are incorrect" - echo "Changing ownership to {{ .Values.qbitRunAs.user }}:{{ .Values.qbitRunAs.group }} on the following directories: ["$dir"]" - chown -R {{ .Values.qbitRunAs.user }}:{{ .Values.qbitRunAs.group }} "$dir" - echo "Finished changing ownership" - echo "Permissions after changing ownership:" - stat -c "%u %g" "$dir" - fi - done + {{- include "ix.v1.common.app.permissions" (dict "containerName" "01-permissions" + "UID" .Values.qbitRunAs.user + "GID" .Values.qbitRunAs.group + "mode" "check" + "type" "init") | nindent 8 }} {{/* Service */}} service: @@ -122,7 +90,7 @@ persistence: qbittorrent: qbittorrent: mountPath: /config - check-permissions: + 01-permissions: mountPath: /mnt/directories/config downloads: enabled: true @@ -133,6 +101,6 @@ persistence: qbittorrent: qbittorrent: mountPath: /downloads - check-permissions: + 01-permissions: mountPath: /mnt/directories/downloads {{- end -}} diff --git a/community/qbittorrent/1.0.0/templates/common.yaml b/community/qbittorrent/1.0.1/templates/common.yaml similarity index 100% rename from community/qbittorrent/1.0.0/templates/common.yaml rename to community/qbittorrent/1.0.1/templates/common.yaml