diff --git a/charts/syncthing/1.0.18/Chart.lock b/charts/syncthing/1.0.18/Chart.lock deleted file mode 100644 index 34f351403c..0000000000 --- a/charts/syncthing/1.0.18/Chart.lock +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: -- name: common - repository: file://../../../library/common/2207.0.0 - version: 2207.0.0 -digest: sha256:f17f3d458ca0210a52e39da0dce35034e900b36f2040d4b19bed46a7aae91506 -generated: "2022-07-25T00:20:48.009872898+05:00" diff --git a/charts/syncthing/1.0.18/Chart.yaml b/charts/syncthing/1.0.18/Chart.yaml deleted file mode 100644 index abfcac1d3f..0000000000 --- a/charts/syncthing/1.0.18/Chart.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v2 -appVersion: 1.23.2 -dependencies: -- name: common - repository: file://../../../library/common/2207.0.0 - version: 2207.0.0 -description: Syncthing is a continuous file synchronization program. -home: https://syncthing.net/ -icon: https://play-lh.googleusercontent.com/KIy_dqUdZqcsTq4GDstHrHwLRvu60gT3v0p41gw792BC6OxamNhUw2eIy0-LI05qNEA=w240-h480 -keywords: -- storage -- backup -name: syncthing -version: 1.0.18 diff --git a/charts/syncthing/1.0.18/charts/common-2207.0.0.tgz b/charts/syncthing/1.0.18/charts/common-2207.0.0.tgz deleted file mode 100644 index 2adf94b438..0000000000 Binary files a/charts/syncthing/1.0.18/charts/common-2207.0.0.tgz and /dev/null differ diff --git a/charts/syncthing/1.0.18/templates/tests/deployment-check.yaml b/charts/syncthing/1.0.18/templates/tests/deployment-check.yaml deleted file mode 100644 index 64ebf08fa3..0000000000 --- a/charts/syncthing/1.0.18/templates/tests/deployment-check.yaml +++ /dev/null @@ -1,21 +0,0 @@ -{{- $serviceName := (include "common.names.fullname" .) -}} -apiVersion: v1 -kind: Pod -metadata: - name: {{ .Release.Name }}-syncthing - labels: - app: {{ .Release.Name }} - release: {{ .Release.Name }} - annotations: - "helm.sh/hook": test -spec: - containers: - - name: test-curl - image: alpine/curl - imagePullPolicy: "IfNotPresent" - command: - - /bin/sh - - -ec - - | - curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 15 --retry-max-time 90 --retry-all-errors -ksf http://{{ $serviceName }}:{{.Values.web_port}}/ - restartPolicy: Never diff --git a/charts/syncthing/.helmignore b/library/ix-dev/charts/syncthing/.helmignore similarity index 100% rename from charts/syncthing/.helmignore rename to library/ix-dev/charts/syncthing/.helmignore diff --git a/library/ix-dev/charts/syncthing/Chart.lock b/library/ix-dev/charts/syncthing/Chart.lock new file mode 100644 index 0000000000..9fca7496bd --- /dev/null +++ b/library/ix-dev/charts/syncthing/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: file://../../../common/2207.0.0 + version: 2207.0.0 +digest: sha256:a301ba0f99ec1e08a60a7f0a0320aa02d225993572f2f056f09520f06df88b37 +generated: "2023-03-21T16:55:13.420478187Z" diff --git a/library/ix-dev/charts/syncthing/Chart.yaml b/library/ix-dev/charts/syncthing/Chart.yaml new file mode 100644 index 0000000000..febf37fa90 --- /dev/null +++ b/library/ix-dev/charts/syncthing/Chart.yaml @@ -0,0 +1,24 @@ +name: syncthing +description: Syncthing is a continuous file synchronization program. +annotations: + title: Syncthing +type: application +version: 1.0.19 +apiVersion: v2 +appVersion: '1.23.2' +kubeVersion: '>=1.16.0-0' +maintainers: + - name: truenas + url: https://www.truenas.com/ +dependencies: + - name: common + repository: file://../../../common/2207.0.0 + version: 2207.0.0 +home: https://syncthing.net/ +icon: https://play-lh.googleusercontent.com/KIy_dqUdZqcsTq4GDstHrHwLRvu60gT3v0p41gw792BC6OxamNhUw2eIy0-LI05qNEA=w240-h480 +sources: + - https://syncthing.net + - https://github.com/truenas/charts/tree/master/library/ix-dev/charts/syncthing +keywords: + - storage + - backup diff --git a/charts/syncthing/1.0.18/README.md b/library/ix-dev/charts/syncthing/README.md similarity index 100% rename from charts/syncthing/1.0.18/README.md rename to library/ix-dev/charts/syncthing/README.md diff --git a/charts/syncthing/1.0.18/app-readme.md b/library/ix-dev/charts/syncthing/app-readme.md similarity index 100% rename from charts/syncthing/1.0.18/app-readme.md rename to library/ix-dev/charts/syncthing/app-readme.md diff --git a/library/ix-dev/charts/syncthing/charts/common-2207.0.0.tgz b/library/ix-dev/charts/syncthing/charts/common-2207.0.0.tgz new file mode 100644 index 0000000000..5b18dad37f Binary files /dev/null and b/library/ix-dev/charts/syncthing/charts/common-2207.0.0.tgz differ diff --git a/charts/syncthing/1.0.18/test_values.yaml b/library/ix-dev/charts/syncthing/ci/test-values.yaml similarity index 77% rename from charts/syncthing/1.0.18/test_values.yaml rename to library/ix-dev/charts/syncthing/ci/test-values.yaml index 65fa05bc2b..c7a3504c57 100644 --- a/charts/syncthing/1.0.18/test_values.yaml +++ b/library/ix-dev/charts/syncthing/ci/test-values.yaml @@ -8,10 +8,6 @@ emptyDirVolumes: true environmentVariables: [] extraAppVolumeMounts: [] hostNetwork: false -image: - pullPolicy: IfNotPresent - repository: syncthing/syncthing - tag: 1.23.2 ownerGID: 568 ownerUID: 568 tcp_port: 32001 diff --git a/charts/syncthing/item.yaml b/library/ix-dev/charts/syncthing/item.yaml similarity index 100% rename from charts/syncthing/item.yaml rename to library/ix-dev/charts/syncthing/item.yaml diff --git a/charts/syncthing/1.0.18/questions.yaml b/library/ix-dev/charts/syncthing/questions.yaml similarity index 100% rename from charts/syncthing/1.0.18/questions.yaml rename to library/ix-dev/charts/syncthing/questions.yaml diff --git a/charts/syncthing/1.0.18/templates/deployment.yaml b/library/ix-dev/charts/syncthing/templates/deployment.yaml similarity index 78% rename from charts/syncthing/1.0.18/templates/deployment.yaml rename to library/ix-dev/charts/syncthing/templates/deployment.yaml index 6161992205..43c0a48d2d 100644 --- a/charts/syncthing/1.0.18/templates/deployment.yaml +++ b/library/ix-dev/charts/syncthing/templates/deployment.yaml @@ -47,6 +47,33 @@ spec: - name: udp containerPort: 22000 protocol: UDP + readinessProbe: + httpGet: + path: / + port: 8384 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 5 + successThreshold: 2 + livenessProbe: + httpGet: + path: / + port: 8384 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 5 + successThreshold: 1 + startupProbe: + httpGet: + path: / + port: 8384 + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 2 + failureThreshold: 60 + successThreshold: 1 env: {{ $envList := (default list .Values.environmentVariables) }} {{ $envList = mustAppend $envList (dict "name" "PUID" "value" (printf "%d" (.Values.ownerUID | int))) }} diff --git a/charts/syncthing/1.0.18/templates/pre-install-job.yaml b/library/ix-dev/charts/syncthing/templates/pre-install-job.yaml similarity index 100% rename from charts/syncthing/1.0.18/templates/pre-install-job.yaml rename to library/ix-dev/charts/syncthing/templates/pre-install-job.yaml diff --git a/charts/syncthing/1.0.18/templates/service.yaml b/library/ix-dev/charts/syncthing/templates/service.yaml similarity index 100% rename from charts/syncthing/1.0.18/templates/service.yaml rename to library/ix-dev/charts/syncthing/templates/service.yaml diff --git a/charts/syncthing/upgrade_info.json b/library/ix-dev/charts/syncthing/upgrade_info.json similarity index 100% rename from charts/syncthing/upgrade_info.json rename to library/ix-dev/charts/syncthing/upgrade_info.json diff --git a/charts/syncthing/upgrade_strategy b/library/ix-dev/charts/syncthing/upgrade_strategy similarity index 100% rename from charts/syncthing/upgrade_strategy rename to library/ix-dev/charts/syncthing/upgrade_strategy diff --git a/charts/syncthing/1.0.18/ix_values.yaml b/library/ix-dev/charts/syncthing/values.yaml similarity index 100% rename from charts/syncthing/1.0.18/ix_values.yaml rename to library/ix-dev/charts/syncthing/values.yaml