diff options
author | 2020-05-18 16:43:18 +0000 | |
---|---|---|
committer | 2020-05-18 16:43:18 +0000 | |
commit | 3c9391cbc3445e25b46962bc16c47c03b78bb7c6 (patch) | |
tree | 2d9c2266010ea0ae83b7ec89381ddfef5962a1e8 /kubernetes | |
parent | 8a538c7d286233a56ccf3b0adcedb9ca01045130 (diff) | |
parent | cbe0b5456ab607c0a6772eab20296354b7ef5685 (diff) |
Merge "deploy.sh does not work on Mac os x because untar directory is created before helm fetch" into frankfurt
Diffstat (limited to 'kubernetes')
-rwxr-xr-x | kubernetes/helm/plugins/deploy/deploy.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/helm/plugins/deploy/deploy.sh b/kubernetes/helm/plugins/deploy/deploy.sh index 3da189b908..bb98a3b95e 100755 --- a/kubernetes/helm/plugins/deploy/deploy.sh +++ b/kubernetes/helm/plugins/deploy/deploy.sh @@ -151,9 +151,6 @@ deploy() { # clear previously cached charts rm -rf $CACHE_DIR - # create log driectory - mkdir -p $LOG_DIR - # fetch umbrella chart (parent chart containing subcharts) if [[ -d "$CHART_URL" ]]; then mkdir -p $CHART_DIR @@ -169,6 +166,9 @@ deploy() { helm fetch $CHART_URL --untar --untardir $CACHE_DIR $VERSION fi + # create log driectory + mkdir -p $LOG_DIR + # move out subcharts to process separately mkdir -p $CACHE_SUBCHART_DIR mv $CHART_DIR/charts/* $CACHE_SUBCHART_DIR/ |