Skip to content

Commit 8875e84

Browse files
committed
allow support for duakStackEndpoints to support both ipv4 & ipv6
1 parent bb1bde7 commit 8875e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/internal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
func newAWSConfigV2(ctx context.Context, secretClient wranglerv1.SecretClient, spec eksv1.EKSClusterConfigSpec) (aws.Config, error) {
19-
cfg, err := config.LoadDefaultConfig(ctx)
19+
cfg, err := config.LoadDefaultConfig(ctx, config.WithUseDualStackEndpoint(aws.DualStackEndpointStateEnabled))
2020
if err != nil {
2121
return cfg, fmt.Errorf("error loading default AWS config: %w", err)
2222
}

0 commit comments

Comments
 (0)