Skip to content

Commit 41f6f2d

Browse files
committed
[secrets] bump EC2LaunchV2 min version to 2.0.2107
This commit updates the EC2LaunchV2 minimum version to address the conflict with hybrid-overlay network interfaces. Fixes OCPBUGS-35285
1 parent f2e2f5a commit 41f6f2d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pkg/secrets/secrets.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,12 @@ func generateUserDataWithPubKey(platformType oconfig.PlatformType, pubKey string
113113
// appendAwsUserDataConfig appends the AWS EC2Launch installation script to
114114
// the given userData to persist the instance metadata routes
115115
func appendAwsUserDataConfig(userData string) string {
116-
// EC2Launch v2 minimum version where the task to persist routes was introduced
117-
// see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launchv2-versions.html#ec2launchv2-version-history
118-
EC2LaunchMinimumVersion := "2.0.1643"
116+
// EC2LaunchMinimumVersion is the EC2Launch v2 minimum supported version.
117+
// Requires:
118+
// - custom task to persist routes (WINC-1149)
119+
// - bug fix with hybrid-overlay network interface (OCPBUGS-35285)
120+
// See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launchv2-versions.html#ec2launchv2-version-history
121+
EC2LaunchMinimumVersion := "2.0.2107"
119122

120123
// S3 URL for the latest EC2Launch version
121124
// see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launch-v2-install.html#lv2-download-s3

0 commit comments

Comments
 (0)