Skip to content

Commit

Permalink
Merge pull request #953 from gthao313/develop
Browse files Browse the repository at this point in the history
ec2-resource: add `credential-providers` and `no-proxy` settings
  • Loading branch information
jpculp authored Oct 30, 2024
2 parents 0347c22 + 499d918 commit 9c02930
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion bottlerocket/agents/src/bin/ec2-resource-agent/ec2_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,18 @@ ignore-waves = true
api-server = "{}"
cluster-name = "{}"
cluster-certificate = "{}"
cluster-dns-ip = "{}""#,
cluster-dns-ip = "{}"
[settings.kubernetes.credential-providers.ecr-credential-provider]
enabled = true
cache-duration = "30m"
image-patterns = [
"*.dkr.ecr.us-east-2.amazonaws.com",
"*.dkr.ecr.us-west-2.amazonaws.com"
]
[settings.network]
no-proxy = ["localhost", "127.0.0.1"]"#,
endpoint
.as_ref()
.context(memo, "Server endpoint is required for eks clusters.")?,
Expand Down

0 comments on commit 9c02930

Please sign in to comment.