Fixed actions

This commit is contained in:
alice 2023-06-26 11:07:51 +00:00
parent b22b7376a3
commit c1466a998b
3 changed files with 13 additions and 5 deletions

View File

@ -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:

View File

@ -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?

View File

@ -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 }}