File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 55
55
rootVolume :
56
56
size : {{ .Values.kubeadmControlPlane.rootVolume.size }}
57
57
type : {{ .Values.kubeadmControlPlane.rootVolume.type }}
58
- {{- if .Values.kubeadmControlPlane.ami }}
58
+ {{- with .Values.kubeadmControlPlane.ami }}
59
59
ami :
60
60
{{- toYaml . | nindent 8 }}
61
61
{{- end }}
Original file line number Diff line number Diff line change 83
83
additionalSecurityGroups :
84
84
{{- toYaml . | nindent 10 }}
85
85
{{- end }}
86
+ {{- with .ami }}
87
+ ami :
88
+ {{- toYaml . | nindent 10 }}
89
+ {{- end }}
90
+
86
91
87
92
---
88
93
{{- if $envAll.Values.cluster.eksEnabled }}
Original file line number Diff line number Diff line change 74
74
rootVolume :
75
75
size : {{ .rootVolume.size }}
76
76
type : {{ .rootVolume.type }}
77
- {{- if .ami }}
77
+ {{- with .ami }}
78
78
ami :
79
79
{{- toYaml . | nindent 8 }}
80
80
{{- end }}
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ kubeadmControlPlane:
61
61
size : 8
62
62
type : gp3
63
63
# ami:
64
- # id: ami-xxxxxxxxxxxxxxxxx
64
+ # id: ami-02e4e8f09921cfe97
65
65
# additionalSecurityGroups: []
66
66
useSpotInstance : # spotMarketOptions:
67
67
enabled : false
@@ -93,6 +93,7 @@ machinePool: []
93
93
# roleAdditionalPolicies:
94
94
# - "arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy"
95
95
# additionalSecurityGroups: []
96
+ # ami: ami-02e4e8f09921cfe97
96
97
# **this version dosen't support the spot instance, because the aws cluster api provider doesn't support it in awsmachinpool**
97
98
# useSpotInstance: #spotMarketOptions:
98
99
# enabled: false
@@ -108,6 +109,7 @@ machinePool: []
108
109
# subnets: []
109
110
# labels: []
110
111
# additionalSecurityGroups: []
112
+ # ami: ami-02e4e8f09921cfe97
111
113
112
114
machineDeployment : []
113
115
# You can define machineDeployment to use cluster-autoscaler on aws. Refer to below.
@@ -126,6 +128,7 @@ machineDeployment: []
126
128
# maxPrice: ''
127
129
# # MaxPrice defines the maximum price the user is willing to pay for Spot VM instances
128
130
# additionalSecurityGroups: []
131
+ # ami: ami-02e4e8f09921cfe97
129
132
130
133
machineKubeadmConfig :
131
134
kubeletExtraArgs : {}
You can’t perform that action at this time.
0 commit comments