Skip to content

Commit

Permalink
fix: fix the bug for file permissions after chart task
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtabaimani committed Jun 28, 2021
1 parent 17bf7a8 commit 0f05878
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chart/scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
. /home/app/stack/env/sops-creds.env
# exception for google:
[ -n "$GCLOUD_SERVICE_KEY" ] && echo $GCLOUD_SERVICE_KEY >/tmp/gcloud_service_key && export GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcloud_service_key

echo expoDeploying otomi...
bin/deploy.sh
1 change: 1 addition & 0 deletions chart/scripts/map-values.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
npm run tasks:otomi-chart -- true
chmod a+w $OTOMI_ENV_DIR/env/charts/* &>/dev/null || exit 0 #some files are created by this task and need to change their permissions
2 changes: 1 addition & 1 deletion chart/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
spec:
template:
metadata:
name: otomi-install-{{ randAlphaNum 8 }} # FIXME: remove random part
name: otomi-install
spec:
imagePullSecrets:
- name: regcred
Expand Down

0 comments on commit 0f05878

Please sign in to comment.