Skip to content

Commit

Permalink
Fix s3 config env variable names
Browse files Browse the repository at this point in the history
Signed-off-by: JordanRushing <[email protected]>
  • Loading branch information
JordanRushing committed Nov 28, 2023
1 parent bd9ef2d commit b11ec77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/admission/prep_downscale.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ func PrepareDownscale(ctx context.Context, logger log.Logger, ar v1.AdmissionRev
var zt *zoneTracker
if useZoneTracker {
// TODO(jordanrushing): fix bucket creation semantics and wire-in config supporting multiple CSPs
accessKey := os.Getenv("S3_ACCESS_KEY")
secretKey := os.Getenv("S3_SECRET_KEY")
accessKey := os.Getenv("AWS_ACCESS_KEY_ID")
secretKey := os.Getenv("AWS_SECRET_ACCESS_KEY")
// TODO(jordanrushing): stop hardcoding insecure: true
s3Config, _ := config.CreateS3ConfigYaml(bucketName, endpoint, region, accessKey, secretKey, true)
bkt, _ := newS3BucketClient(s3Config, logger)
Expand Down

0 comments on commit b11ec77

Please sign in to comment.