mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-21 17:09:04 +01:00
feat: Add support for AL2023 nodeadm user data (#2942)
This commit is contained in:
13
templates/al2023_user_data.tpl
Normal file
13
templates/al2023_user_data.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
%{ if enable_bootstrap_user_data ~}
|
||||
---
|
||||
apiVersion: node.eks.aws/v1alpha1
|
||||
kind: NodeConfig
|
||||
spec:
|
||||
cluster:
|
||||
name: ${cluster_name}
|
||||
apiServerEndpoint: ${cluster_endpoint}
|
||||
certificateAuthority: ${cluster_auth_base64}
|
||||
%{ if length(cluster_service_ipv4_cidr) > 0 ~}
|
||||
cidr: ${cluster_service_ipv4_cidr}
|
||||
%{ endif ~}
|
||||
%{ endif ~}
|
||||
Reference in New Issue
Block a user