Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Oct 26, 2024
1 parent ade32dd commit d021279
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/monica/files/init-publicdir.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ln -sf ../storage /var/www/html/public/storage
rm -rf /public/*
cp -ra /var/www/html/public/* /public
cp -ra /var/www/html/public /public
1 change: 1 addition & 0 deletions charts/monica/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ spec:
readOnly: true
- name: monica-publicdir
mountPath: /var/www/html/public
subPath: public
readOnly: true
{{- if .Values.persistence.enabled }}
- name: monica-storage
Expand Down
2 changes: 1 addition & 1 deletion charts/monica/templates/nginx-init-publicdir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{- include "monica.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade,pre-rollback
"helm.sh/hook-weight": "5"
"helm.sh/hook-weight": "-3"
"helm.sh/hook-delete-policy": before-hook-creation
spec:
template:
Expand Down

0 comments on commit d021279

Please sign in to comment.