github siderolabs/terraform-provider-talos v0.2.0-alpha.2

latest releases: v0.12.0, v0.12.0-rc.0, v0.12.0-beta.0...
3 years ago

terraform-provider-talos 0.2.0-alpha.2 (2023-04-14)

Welcome to the v0.2.0-alpha.2 release of terraform-provider-talos!
This is a pre-release of terraform-provider-talos

Please try out the release binaries and report any issues at
https://github.com/siderolabs/terraform-provider-talos/issues.

Data Sources

talos_machine_disks data source is added to list disks on a machine.

Provider Changes

This version of the provider includes some breaking changes. Make sure to follow the provider upgrade guide at https://registry.terraform.io/providers/siderolabs/talos/latest/docs/guides/version-0.2-upgrade.html

Component Updates

Talos sdk: v1.4.0-beta.1

Contributors

  • Andrey Smirnov
  • Andrey Smirnov
  • Artem Chernyshev
  • Dmitriy Matrenichev
  • Artem Chernyshev
  • Noel Georgi
  • Serge Logvinov
  • Andrew Rynhard
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Seán C McCord
  • Spencer Smith

Changes

3 commits

  • 1678814 release(v0.2.0-alpha.2): prepare release
  • 187e434 feat: talos_machine_disks data source
  • a29e1e7 fix: handle unknown types at plan time

Changes from siderolabs/gen

9 commits

  • 214c1ef chore: set slice.Filter result slice cap to len
  • 8e89b1e feat: add GetOrCreate and GetOrCall methods
  • 7c7ccc3 feat: introduce channel SendWithContext
  • b3b6db8 fix: fix Copy documentation and implementation
  • 521f737 feat: add xerrors package which contains additions to the std errors
  • 726e066 fix: rename tuples.go to pair.go and set proper package name
  • d8d7d25 chore: minor additions
  • 338a650 chore: add initial implementation and documentation
  • 4fd8667 Initial commit

Changes from siderolabs/go-blockdevice

59 commits

  • b4386f3 feat: make disk utils read subsystem information from the /sys/block
  • 8c7ea19 fix: blockdevice size is reported by Linux in 512 blocks always
  • e52e012 feat: add ext4 filesystem detection logic
  • 694ac62 chore: update imports to siderolabs, rekres
  • dcf6044 chore: rekres and rename
  • 9c4af49 fix: cryptsetup remove slot
  • 74ea471 feat: add freebsd stubs
  • 9fa801c feat: add ReadOnly attribute to Disk
  • fccee8b chore: rekres the source, fix issues
  • d9c3a27 feat: support probing FAT12/FAT16 filesystems
  • b374eb4 fix: align partition to 1M boundary by default
  • ec428fe fix: lookup filesystem labels on the actual device path
  • 7b9de26 feat: read symlink fullpath in block device list function
  • 6928ee4 refactor: rewrite GPT serialize/deserialize functions
  • 0c7e429 refactor: simplify middle endian functions
  • 15b182d fix: return partition table not exist when trying to read an empty dev
  • b9517d5 fix: resize partition
  • 70d2865 fix: try to find cdrom disks
  • 667bf53 fix: revert gpt partition not found
  • d7d4cdd fix: gpt partition not found
  • 33afba3 fix: also open in readonly mode when running All lookup method
  • e367f9d feat: make probe always open blockdevices in readonly mode
  • d981156 fix: allow Build for Windows
  • fe24303 fix: perform correct PMBR partition calculations
  • 2ec0c3c fix: preserve the PMBR bootable flag when opening GPT partition
  • 87816a8 feat: align partition to minimum I/O size
  • c34b59f feat: expose more encryption options in the LUKS module
  • 30c2bc3 feat: mark MBR bootable
  • 1292574 fix: make disk type matcher parser case insensitive
  • b77400e fix: properly detect nvme and sd card disk types
  • 1d830a2 fix: revert mark the EFI partition in PMBR as bootable
  • bec914f fix: mark the EFI partition in PMBR as bootable
  • 776b37d feat: add options to probe disk by various sysblock parameters
  • bb3ad73 fix: align partition start to physical sector size
  • 8f976c2 feat: replace exec.Command with go-cmd module
  • 1cf7f25 fix: properly handle no child processes error from cmd.Wait
  • 04a9851 feat: implement luks encryption provider
  • b0375e4 feat: add an option to open block device with exclusive flock
  • 5a1c7f7 refactor: add devname into gpt.Partition, refactor probe package
  • f2728a5 fix: keep contents of PMBR when writing it
  • 2878460 fix: write second copy of partition entries
  • 943b08b fix: blockdevice reset should read partition table from disk
  • 5b4ee44 fix: ignore /dev/ram devices
  • 98754ec refactor: rewrite GPT library
  • 2a1baad fix: correctly build paths for mmcblk devices
  • 8076344 fix: return proper disk size from GetDisks function
  • 8742133 chore: add common method to list available disks using /sys/block
  • c4b5833 feat: implement "fast" wipe
  • b4e67d7 feat: return resize status from Resize() function
  • ceae64e fix: sync kernel partition table incrementally
  • 2cb9516 fix: return correct error value from blkpg functions
  • cebe43d refactor: expose InsertAt method via interface
  • c40dcd8 fix: properly inform kernel about partition deletion
  • bb8ac5d feat: implement disk wiping via several methods
  • 23fb7dc feat: expose partition name (label)
  • ff3a821 feat: implement 'InsertAt' method to insert partitions at any position
  • 3d1ce4f fix: calculate last lba of partition correctly
  • b71540f feat: copy initial version from talos-systems/talos
  • ca3c078 Initial commit

Dependency Changes

  • github.com/dustin/go-humanize v1.0.1 new
  • github.com/siderolabs/gen v0.4.3 new
  • github.com/siderolabs/go-blockdevice v0.4.4 new
  • k8s.io/client-go v0.26.3 -> v0.27.0

Previous release can be found at v0.2.0-alpha.1

Don't miss a new terraform-provider-talos release

NewReleases is sending notifications on new releases.