Initial commit: Add tinkerbell-k0s cluster templates

This commit is contained in:
Pavel Basov
2025-12-15 20:35:51 +01:00
commit b0d7a8eb4e
17 changed files with 460 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{{- if gt (int .Values.workersNumber) 0 }}
apiVersion: bootstrap.cluster.x-k8s.io/v1beta1
kind: K0sWorkerConfigTemplate
metadata:
name: {{ .Release.Name }}-worker
namespace: {{ .Release.Namespace }}
spec:
template:
spec:
version: {{ .Values.k0s.version }}
{{- if .Values.worker.args }}
args:
{{- toYaml .Values.worker.args | nindent 8 }}
{{- end }}
{{- end }}