diff --git a/talos/clusters/testing.yaml b/talos/clusters/testing.yaml index c097238..847bdf4 100644 --- a/talos/clusters/testing.yaml +++ b/talos/clusters/testing.yaml @@ -4,6 +4,7 @@ controlPlaneIp: 192.168.1.100 secretsFile: testing/secrets.yaml nodes: - testing/talos-vm + - testing/phobos default: network: diff --git a/talos/nodes/testing/phobos.yaml b/talos/nodes/testing/phobos.yaml new file mode 100644 index 0000000..d66a2e7 --- /dev/null +++ b/talos/nodes/testing/phobos.yaml @@ -0,0 +1,8 @@ +# yaml-language-server: $schema=https://git.huizinga.dev/infra/crete/raw/branch/main/schemas/node.json +type: worker +network: + ip: 192.168.178.77 + netmask: 255.255.255.0 + gateway: 192.168.178.1 +install: + disk: /dev/sda diff --git a/talos/patches/storage/local-path-provisioner/user-volume.yaml b/talos/patches/storage/local-path-provisioner/user-volume.yaml index 6c12b62..c1075fc 100644 --- a/talos/patches/storage/local-path-provisioner/user-volume.yaml +++ b/talos/patches/storage/local-path-provisioner/user-volume.yaml @@ -2,8 +2,4 @@ apiVersion: v1alpha1 kind: UserVolumeConfig name: local-path-provisioner -provisioning: - diskSelector: - match: system_disk - grow: true - maxSize: 10GB +volumeType: directory diff --git a/talos/patches/storage/longhorn/user-volume.yaml b/talos/patches/storage/longhorn/user-volume.yaml index ff4211a..2dee5f0 100644 --- a/talos/patches/storage/longhorn/user-volume.yaml +++ b/talos/patches/storage/longhorn/user-volume.yaml @@ -7,3 +7,14 @@ provisioning: match: system_disk grow: true maxSize: 2000GB +# # yaml-language-server: $schema=https://raw.githubusercontent.com/siderolabs/talos/refs/heads/release-1.12/website/content/v1.12/schemas/config.schema.json +# apiVersion: v1alpha1 +# kind: UserVolumeConfig +# name: longhorn +# # We want to take the whole distk +# # TODO: Add second disk to virtual machine +# volumeType: "disk" +# provisioning: +# diskSelector: +# # TODO: UPDATE THIS +# # match: system_disk diff --git a/talos/schematics/rpi.yaml b/talos/schematics/rpi.yaml new file mode 100644 index 0000000..56116d1 --- /dev/null +++ b/talos/schematics/rpi.yaml @@ -0,0 +1,9 @@ +overlay: + name: rpi_generic + image: siderolabs/sbc-raspberrypi +customization: + systemExtensions: + officialExtensions: + - siderolabs/iscsi-tools + - siderolabs/util-linux-tools + - siderolabs/tailscale