Skip to content

Commit

Permalink
ec2-resource: add credential-providers and no-proxy settings
Browse files Browse the repository at this point in the history
  • Loading branch information
gthao313 committed Oct 30, 2024
1 parent 0347c22 commit 499d918
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 499d918

Please sign in to comment.