Skip to content

Commit

Permalink
adjust update-helm script to enable readiness check
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Dec 3, 2024
1 parent c88fef1 commit 6989499
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nextcloud-aio-helm-chart/update-helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ set -ex
cd manual-install
cp latest.yml latest.yml.backup

# Additional config
cat << EOL > /tmp/labels
labels:
- kompose.service.healthcheck.readiness.disable=false
EOL
# shellcheck disable=SC1083
sed -i "/image:.*/r /tmp/labels" latest.yml
sed -i -E '/^( *- )(NET_RAW|SYS_NICE|MKNOD|SYS_ADMIN)$/!s/( *- )([A-Z_]+)$/\1\2=${\2}/' latest.yml
cp sample.conf /tmp/
sed -i 's|^|export |' /tmp/sample.conf
Expand Down

0 comments on commit 6989499

Please sign in to comment.