|
89 | 89 | image: {{ include "karpenter.controller.image" . }} |
90 | 90 | imagePullPolicy: {{ .Values.imagePullPolicy }} |
91 | 91 | env: |
92 | | - - name: KUBERNETES_MIN_VERSION |
93 | | - value: "1.19.0-0" |
94 | 92 | - name: KARPENTER_SERVICE |
95 | 93 | value: {{ include "karpenter.fullname" . }} |
96 | 94 | {{- with .Values.logLevel }} |
@@ -130,37 +128,9 @@ spec: |
130 | 128 | {{- with .Values.settings.preferencePolicy }} |
131 | 129 | - name: PREFERENCE_POLICY |
132 | 130 | value: "{{ . }}" |
133 | | - {{- end }} |
134 | | - {{- with .Values.settings.clusterCABundle }} |
135 | | - - name: CLUSTER_CA_BUNDLE |
136 | | - value: "{{ tpl (toString .) $ }}" |
137 | 131 | {{- end }} |
138 | 132 | - name: CLUSTER_NAME |
139 | 133 | value: "{{ required "Chart cannot be installed without a valid settings.clusterName!" (tpl .Values.settings.clusterName .) }}" |
140 | | - {{- with .Values.settings.clusterEndpoint }} |
141 | | - - name: CLUSTER_ENDPOINT |
142 | | - value: "{{ tpl (toString .) $ }}" |
143 | | - {{- end }} |
144 | | - {{- with .Values.settings.isolatedVPC }} |
145 | | - - name: ISOLATED_VPC |
146 | | - value: "{{ tpl (toString .) $ }}" |
147 | | - {{- end }} |
148 | | - {{- with .Values.settings.eksControlPlane }} |
149 | | - - name: EKS_CONTROL_PLANE |
150 | | - value: "{{ tpl (toString .) $ }}" |
151 | | - {{- end }} |
152 | | - {{- with .Values.settings.vmMemoryOverheadPercent }} |
153 | | - - name: VM_MEMORY_OVERHEAD_PERCENT |
154 | | - value: "{{ tpl (toString .) $ }}" |
155 | | - {{- end }} |
156 | | - {{- with .Values.settings.interruptionQueue }} |
157 | | - - name: INTERRUPTION_QUEUE |
158 | | - value: "{{ tpl (toString .) $ }}" |
159 | | - {{- end }} |
160 | | - {{- with .Values.settings.reservedENIs }} |
161 | | - - name: RESERVED_ENIS |
162 | | - value: "{{ tpl (toString .) $ }}" |
163 | | - {{- end }} |
164 | 134 | {{- with .Values.controller.env }} |
165 | 135 | {{- toYaml . | nindent 12 }} |
166 | 136 | {{- end }} |
|
0 commit comments