Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Commit

Permalink
Set V4 signatures to enable kube-resources-autosave to work in all re…
Browse files Browse the repository at this point in the history
…gions

The coreos awscli container image is ancient and unmaintained and defaults to the old V2 signatures. We need to explicitly set V4 signatures to enable this feature to function in all regions, e.g. us-east-2 where only V4 is supported.
  • Loading branch information
whereisaaron authored Dec 28, 2017
1 parent 3cd920d commit 5416759
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/controlplane/config/templates/cloud-config-controller
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,7 @@ write_files:
- |
set -x ;
DUMP_DIR_COMPLETE=/kube-resources-autosave/complete ;
aws configure set s3.signature_version s3v4 ;
mkdir -p ${DUMP_DIR_COMPLETE} ;
while true; do
TIMESTAMP=$(date +%Y-%m-%d_%H-%M-%S)
Expand Down

0 comments on commit 5416759

Please sign in to comment.