Compare commits
2 Commits
b6c201775a
...
32be7b487e
| Author | SHA1 | Date | |
|---|---|---|---|
|
32be7b487e
|
|||
|
940b01a7dc
|
@@ -1,7 +1,7 @@
|
|||||||
schematicId: !schematic default
|
schematicId: !schematic default
|
||||||
arch: amd64
|
arch: amd64
|
||||||
talosVersion: v1.11.3
|
talosVersion: 1.11.3
|
||||||
kubernesVersion: v1.34.1
|
kubernetesVersion: 1.34.1
|
||||||
kernelArgs:
|
kernelArgs:
|
||||||
- talos.platform=metal
|
- talos.platform=metal
|
||||||
- console=tty0
|
- console=tty0
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
machine:
|
machine:
|
||||||
kubelet:
|
kubelet:
|
||||||
extraArgs:
|
extraArgs:
|
||||||
rotate-server-certificates: true
|
rotate-server-certificates: "true"
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ goto node_${serial} || exit
|
|||||||
{% do kernelArgs.append("talos.config=" ~ config.server.httpUrl ~ "/configs/" ~ node.filename ~ ".yaml") %}
|
{% do kernelArgs.append("talos.config=" ~ config.server.httpUrl ~ "/configs/" ~ node.filename ~ ".yaml") %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
imgfree
|
imgfree
|
||||||
kernel https://pxe.factory.talos.dev/image/{{ node.schematicId }}/{{ node.talosVersion }}/kernel-{{ node.arch }} {{ kernelArgs|join(" ") }}
|
kernel https://pxe.factory.talos.dev/image/{{ node.schematicId }}/v{{ node.talosVersion }}/kernel-{{ node.arch }} {{ kernelArgs|join(" ") }}
|
||||||
initrd https://pxe.factory.talos.dev/image/{{ node.schematicId }}/{{ node.talosVersion }}/initramfs-{{ node.arch }}.xz
|
initrd https://pxe.factory.talos.dev/image/{{ node.schematicId }}/v{{ node.talosVersion }}/initramfs-{{ node.arch }}.xz
|
||||||
boot
|
boot
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ CONFIGS={{ root }}/configs
|
|||||||
{% for node in nodes -%}
|
{% for node in nodes -%}
|
||||||
talosctl gen config {{ node.cluster.name }} https://{{ node.cluster.controlPlaneIp }}:6443 -f \
|
talosctl gen config {{ node.cluster.name }} https://{{ node.cluster.controlPlaneIp }}:6443 -f \
|
||||||
--with-secrets {{ node.cluster.secretsFile }} \
|
--with-secrets {{ node.cluster.secretsFile }} \
|
||||||
--talos-version {{ node.talosVersion }} \
|
--talos-version v{{ node.talosVersion }} \
|
||||||
--kubernetes-version {{ node.kubernesVersion }} \
|
--kubernetes-version v{{ node.kubernetesVersion }} \
|
||||||
--output-types {{ node.type }} \
|
--output-types {{ node.type }} \
|
||||||
--install-image factory.talos.dev/metal-installer/{{ node.schematicId }}:{{ node.talosVersion }} \
|
--install-image factory.talos.dev/metal-installer/{{ node.schematicId }}:v{{ node.talosVersion }} \
|
||||||
{% for patch in node.patches -%}
|
{% for patch in node.patches -%}
|
||||||
{# The double call to tojson is needed to properly escape the patch (object -> json -> string) -#}
|
{# The double call to tojson is needed to properly escape the patch (object -> json -> string) -#}
|
||||||
--config-patch {{ patch|tojson|tojson }} \
|
--config-patch {{ patch|tojson|tojson }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user