feat: add SUC for talos and k3s and move schematics to cluster.nodes.talos

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2024-01-30 09:10:46 -05:00
1 parent fa689379af
commit 2267494b98
11 files changed
+392 -6

No files matched your search

@@ -55,6 +55,11 @@ nodes:
{% endfor %}
controlPlane:
{% if cluster.nodes.talos.schematics.enabled %}
schematic:
customization:
{{ cluster.nodes.talos.schematics.customization | indent(6, first=True) }}
{% endif %}
patches:
# Configure containerd
- &containerdPatch |-
@@ -157,7 +162,23 @@ controlPlane:
- op: remove
path: /cluster/apiServer/admissionControl
# Enable K8s Talos API Access
- |-
machine:
features:
kubernetesTalosAPIAccess:
enabled: true
allowedRoles:
- os:operator
allowedKubernetesNamespaces:
- system-upgrade
worker:
{% if cluster.nodes.talos.schematics.enabled %}
schematic:
customization:
{{ cluster.nodes.talos.schematics.customization | indent(6, first=True) }}
{% endif %}
patches:
- *containerdPatch
- *disableSearchDomainPatch