Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeaty-cisco committed Dec 5, 2024
1 parent 83d85ba commit 2c55e58
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions modules/aws/node/templates/user-data.tftpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="BOUNDARY"

--BOUNDARY
Content-Type: application/node.eks.aws

---
apiVersion: node.eks.aws/v1alpha1
kind: NodeConfig
Expand All @@ -13,5 +7,10 @@ spec:
apiServerEndpoint: ${api_endpoint}
certificateAuthority: ${certificate_authority}
cidr: ${cidr}

--BOUNDARY--
%{~ if length(kubelet_flags) > 0 ~}
kubelet:
flags:
%{~ for flag in kubelet_flags }
- ${flag}
%{~ endfor }
%{~ endif }

0 comments on commit 2c55e58

Please sign in to comment.