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: | run: |
# FIXME: use upstream after https://github.com/technosophos/helm-gpg/issues/1 is solved # 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/pat-s/helm-gpg
helm plugin install https://github.com/chartmuseum/helm-push
make all 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 - name: Deploy to FTP Server
uses: https://github.com/SamKirkland/FTP-Deploy-Action@v4.3.4 uses: https://github.com/SamKirkland/FTP-Deploy-Action@v4.3.4
with: with:

View File

@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
name: homebox name: homebox
# This is the chart version. # This is the chart version.
version: 0.1.0 version: 0.1.2
# A SemVer range of compatible Kubernetes versions (optional) # A SemVer range of compatible Kubernetes versions (optional)
# kubeVersion: ">=1.16.0-0" # kubeVersion: ">=1.16.0-0"
# What is this Application? # What is this Application?

View File

@ -18,10 +18,10 @@ metadata:
{{- end }} {{- end }}
spec: spec:
accessModes: accessModes:
{{- range .Values.persistence.accessModes }} {{- range .Values.persistence.accessModes }}
- {{ . | quote }} - {{ . | quote }}
{{- end }} {{- end }}
{{- include "homebox.persistence.storageClass" . | indent 8 }} {{- include "homebox.persistence.storageClass" . | indent 2 }}
resources: resources:
requests: requests:
storage: {{ .Values.persistence.size | quote }} storage: {{ .Values.persistence.size | quote }}