From b0c082dd4eb697c43b3e198898b222a92ab80564 Mon Sep 17 00:00:00 2001 From: Max Soest Date: Thu, 8 Aug 2024 08:05:00 +0200 Subject: [PATCH] Adapt templates correctly: --- jobs/aws_cpi/spec | 4 ++++ jobs/aws_cpi/templates/cpi.json.erb | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/jobs/aws_cpi/spec b/jobs/aws_cpi/spec index 65a2f6e5..1ca413f1 100644 --- a/jobs/aws_cpi/spec +++ b/jobs/aws_cpi/spec @@ -55,6 +55,10 @@ properties: so the more retries the longer it can take to fail. This only applies to the AWS client passing calls to the AWS API. default: 8 + aws.dualstack: + description: | + AWS provide new APIs to support IPv6. If you want to use IPv6 only, you must enable dualstack. + default: false aws.connection_options.ca_cert: description: All required custom CA certificates example: diff --git a/jobs/aws_cpi/templates/cpi.json.erb b/jobs/aws_cpi/templates/cpi.json.erb index 901379f2..8ceb9aaa 100644 --- a/jobs/aws_cpi/templates/cpi.json.erb +++ b/jobs/aws_cpi/templates/cpi.json.erb @@ -16,7 +16,8 @@ params = { "max_retries" => p('aws.max_retries'), "encrypted" => p('aws.encrypted'), "kms_key_arn" => p('aws.kms_key_arn', nil), - "metadata_options" => p('aws.metadata_options', nil) + "metadata_options" => p('aws.metadata_options', nil), + "dualstack" => p('aws.dualstack') }, "agent" => { "ntp" => p('ntp')