From c1466a998b35c76f19bf2898cdd838429eadde48 Mon Sep 17 00:00:00 2001 From: alice Date: Mon, 26 Jun 2023 11:07:51 +0000 Subject: [PATCH] Fixed actions --- .gitea/workflows/release-version.yml | 8 ++++++++ charts/stable/homebox/Chart.yaml | 2 +- charts/stable/homebox/templates/pvc.yaml | 8 ++++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release-version.yml b/.gitea/workflows/release-version.yml index 6233a48..c789574 100644 --- a/.gitea/workflows/release-version.yml +++ b/.gitea/workflows/release-version.yml @@ -32,8 +32,16 @@ jobs: run: | # FIXME: use upstream after https://github.com/technosophos/helm-gpg/issues/1 is solved helm plugin install https://github.com/pat-s/helm-gpg + helm plugin install https://github.com/chartmuseum/helm-push make all + - name: Deploy to Gitea helm + run: | + helm repo add --username ${{ secrets.repo_user }} --password ${{ secrets.repo_password }} cooopsspace https://git.coo-ops.space/api/packages/coo-ops.space/helm + for filename in ./_build/*.tgz; do + helm cm-push $filename cooopsspace + done + - name: Deploy to FTP Server uses: https://github.com/SamKirkland/FTP-Deploy-Action@v4.3.4 with: diff --git a/charts/stable/homebox/Chart.yaml b/charts/stable/homebox/Chart.yaml index 08539b8..3272fda 100644 --- a/charts/stable/homebox/Chart.yaml +++ b/charts/stable/homebox/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: homebox # This is the chart version. -version: 0.1.0 +version: 0.1.2 # A SemVer range of compatible Kubernetes versions (optional) # kubeVersion: ">=1.16.0-0" # What is this Application? diff --git a/charts/stable/homebox/templates/pvc.yaml b/charts/stable/homebox/templates/pvc.yaml index 02aebc9..fc200d2 100644 --- a/charts/stable/homebox/templates/pvc.yaml +++ b/charts/stable/homebox/templates/pvc.yaml @@ -18,10 +18,10 @@ metadata: {{- end }} spec: accessModes: - {{- range .Values.persistence.accessModes }} - - {{ . | quote }} - {{- end }} - {{- include "homebox.persistence.storageClass" . | indent 8 }} + {{- range .Values.persistence.accessModes }} + - {{ . | quote }} + {{- end }} + {{- include "homebox.persistence.storageClass" . | indent 2 }} resources: requests: storage: {{ .Values.persistence.size | quote }}