Skip to content

Commit 2125e1c

Browse files
committed
fix: Add extraObjects to helm chart
We require node join token, so normally it would come via SealedSecret or External secret. Allow consumer to specify any extra object. Signed-off-by: Dinar Valeev <[email protected]>
1 parent f0ac501 commit 2125e1c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{ range .Values.extraObjects }}
2+
---
3+
{{- if typeIs "string" . }}
4+
{{ tpl . $ }}
5+
{{ else }}
6+
{{ tpl (. | toYaml) $ }}
7+
{{- end }}
8+
{{ end }}

charts/karpenter/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,6 @@ settings:
163163
clusterName: ""
164164
# -- The VM memory overhead as a percent that will be subtracted from the total memory for all instance types. The value of `0.075` equals to 7.5%.
165165
vmMemoryOverheadPercent: 0.075
166+
167+
# -- extraObjects could be utilized to add dynamic manifests via values
168+
extraObjects: []

0 commit comments

Comments
 (0)