Skip to content

Commit

Permalink
[stacks-blockchain] update permissions on archive
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieC3 committed Sep 28, 2022
1 parent 8c56344 commit 8d96a8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hirosystems/stacks-blockchain/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: bitcoin-core
repository: https://charts.hiro.so/hirosystems
version: 1.1.1
version: 1.1.2
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.17.1
digest: sha256:095258480680ab789850955c34b4a4a1c1918066a09e1d6c3aa1a1476515085d
generated: "2022-09-28T14:01:28.452601-04:00"
digest: sha256:2270f055e599374632cbb172e3bccbc336ae77f96b8e0d243da285958f4aabcf
generated: "2022-09-28T14:24:39.001855-04:00"
2 changes: 1 addition & 1 deletion hirosystems/stacks-blockchain/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ name: stacks-blockchain
sources:
- https://github.com/stacks-network/stacks-blockchain
- https://docs.stacks.co/
version: 1.1.2
version: 1.1.3
2 changes: 2 additions & 0 deletions hirosystems/stacks-blockchain/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ spec:
wget ${ARCHIVE_URL} -O ${DATA_DIR}/archive.tar.gz
tar zxvf ${DATA_DIR}/archive.tar.gz -C ${DATA_DIR}
rm -f ${DATA_DIR}/archive.tar.gz
echo "Setting permissions"
chown -R {{ .Values.containerSecurityContext.runAsUser }}:{{ .Values.containerSecurityContext.fsGroup }} ${DATA_DIR}
else
echo "Previous data found. Exiting."
fi
Expand Down

0 comments on commit 8d96a8a

Please sign in to comment.