Skip to content

Commit 6a01f27

Browse files
authored
fix: adds ami details for nodeadm configs (#1334)
**What problem does this PR solve?**: adds details required for al 2023 **Which issue(s) this PR fixes**: stacked on #1332 **How Has This Been Tested?**: <!-- Please describe the tests that you ran to verify your changes. Provide output from the tests and any manual steps needed to replicate the tests. --> **Special notes for your reviewer**: <!-- Use this to provide any additional information to the reviewers. This may include: - Best way to review the PR. - Where the author wants the most review attention on. - etc. -->
1 parent 9592e74 commit 6a01f27

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

charts/cluster-api-runtime-extensions-nutanix/defaultclusterclasses/eks-cluster-class.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ metadata:
7373
spec:
7474
template:
7575
spec:
76+
ami:
77+
eksLookupType: AmazonLinux2023
78+
instanceMetadataOptions:
79+
httpPutResponseHopLimit: 2
80+
httpTokens: required
7681
instanceType: PLACEHOLDER
7782
sshKeyName: ""
7883
---

hack/examples/bases/eks/clusterclass/clusterclass.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ metadata:
5858
name: "quick-start-worker-machinetemplate"
5959
spec:
6060
template:
61-
spec: {}
61+
spec:
62+
ami:
63+
eksLookupType: AmazonLinux2023
64+
instanceMetadataOptions:
65+
httpTokens: required
66+
httpPutResponseHopLimit: 2
6267
---
6368
apiVersion: bootstrap.cluster.x-k8s.io/v1beta2
6469
kind: NodeadmConfigTemplate

0 commit comments

Comments
 (0)