Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Commit

Permalink
copy-secrets: rm /opt/bootstrap/assets/manifests/manifests if exists (#…
Browse files Browse the repository at this point in the history
…49)

Otherwise, it will throw an error when tainting & re-applying null_resource `copy-secrets`
```
mv: cannot move 'manifests' to '/opt/bootstrap/assets/manifests/manifests': Directory not empty
```
  • Loading branch information
beyondbill authored Jun 2, 2020
1 parent a609c26 commit 02d2731
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/container-linux/kubernetes/cl/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ storage:
sudo mkdir -p /etc/kubernetes/manifests
sudo mv static-manifests/* /etc/kubernetes/manifests/
sudo mkdir -p /opt/bootstrap/assets
sudo rm -rf /opt/bootstrap/assets/manifests/manifests
sudo mv manifests /opt/bootstrap/assets/manifests
sudo mv manifests-networking/* /opt/bootstrap/assets/manifests/
rm -rf assets auth static-manifests tls manifests-networking
Expand Down

0 comments on commit 02d2731

Please sign in to comment.