diff --git a/library/ix-dev/charts/storj/Chart.yaml b/library/ix-dev/charts/storj/Chart.yaml index 7423f0dfd9..3648e79f2c 100644 --- a/library/ix-dev/charts/storj/Chart.yaml +++ b/library/ix-dev/charts/storj/Chart.yaml @@ -3,10 +3,10 @@ description: Share your storage on the internet and earn. annotations: title: Storj type: application -version: 2.0.0 +version: 2.0.1 apiVersion: v2 appVersion: v1.68.2 -kubeVersion: '>=1.16.0-0' +kubeVersion: ">=1.16.0-0" maintainers: - name: truenas url: https://www.truenas.com/ diff --git a/library/ix-dev/charts/storj/templates/_storj.tpl b/library/ix-dev/charts/storj/templates/_storj.tpl index 9866ad44ec..2efb079ecc 100644 --- a/library/ix-dev/charts/storj/templates/_storj.tpl +++ b/library/ix-dev/charts/storj/templates/_storj.tpl @@ -16,14 +16,6 @@ workload: runAsUser: {{ .Values.storjRunAs.user }} runAsGroup: {{ .Values.storjRunAs.group }} readOnlyRootFilesystem: false - # capabilities: - # add: - # - CHOWN - # - DAC_OVERRIDE - # - FOWNER - # - SETGID - # - SETUID - # - KILL {{- include "storj.args" $ | nindent 10 }} envFrom: - secretRef: @@ -89,5 +81,11 @@ workload: - /bin/sh - -c - | - test ! -f /app/config/config.yaml && export SETUP="true"; /entrypoint + if test ! -f /app/config/config.yaml; then + echo "Setting up Storj" + export SETUP="true" + /entrypoint + else + echo "Storj already setup" + fi {{- end -}}