github siderolabs/terraform-provider-talos v0.2.0

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

terraform-provider-talos 0.2.0 (2023-04-24)

Welcome to the v0.2.0 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

Contributors

  • Andrey Smirnov
  • Noel Georgi
  • Andrey Smirnov
  • Artem Chernyshev
  • Alexey Palazhchenko
  • Artem Chernyshev
  • Serge Logvinov
  • Andrew Rynhard
  • Spencer Smith
  • Andrew Rynhard
  • Matt Zahorik
  • Olli Janatuinen
  • Robert Wunderer
  • Seán C McCord

Changes

21 commits

  • 300423a release(v0.2.0): prepare release
  • 5bd3a56 chore: bump test timeout
  • 8d33d68 chore: bump deps
  • b905597 release(v0.2.0-beta.0): prepare release
  • 606f408 chore: bump deps
  • 1678814 release(v0.2.0-alpha.2): prepare release
  • 187e434 feat: talos_machine_disks data source
  • a29e1e7 fix: handle unknown types at plan time
  • a1b7a38 release(v0.2.0-alpha.1): prepare release
  • 96aeedd docs: fix rendering of website
  • 06418cd release(v0.2.0-alpha.0): prepare release
  • 6b2182b chore: ci cleanup
  • ea07caa feat: code cleanup and tests
  • 4e5c210 feat: use new tf sdk
  • d1438b7 chore: bump talos machinery
  • aed502e fix: state update required two runs
  • dc00baa fix: force new talosconfig if endpoints or nodes change
  • b7d84ba chore: update registry index file, remove example
  • 158dbbd docs: re-word talos_version
  • f3b4a5b chore: bump deps
  • d2b6df0 docs: clarify meaning of talos_version in machine_configuration resources

Changes since v0.2.0-beta.0

3 commits

Changes from siderolabs/crypto

27 commits

  • c3225ee feat: allow CSR template subject field to be overridden
  • 8570669 chore: rename to siderolabs/crypto
  • e9df1b8 feat: add support for generating keys from RSA-SHA256 CAs
  • 510b0d2 chore: add json tags
  • 6fa2d93 fix: deepcopy nil fields as nil
  • 9a63cba fix: add back support for generating ECDSA keys with P-256 and SHA512
  • 893bc66 fix: use SHA256 for ECDSA-P256
  • deec8d4 chore: implement DeepCopy methods for PEMEncoded* types
  • d3cb772 feat: make possible to change KeyUsage
  • 6bc5bb5 chore: remove unused argument
  • cd18ef6 feat: add support for several organizations
  • 97c888b chore: add options to CSR
  • 7776057 chore: fix typos
  • 80df078 chore: remove named result parameters
  • 15bdd28 chore: minor updates
  • 4f80b97 fix: verify CSR signature before issuing a certificate
  • 39584f1 feat: support for key/certificate types RSA, Ed25519, ECDSA
  • cf75519 fix: function NewKeyPair should create certificate with proper subject
  • 751c95a feat: add 'PEMEncodedKey' which allows to transport keys in YAML
  • 562c3b6 feat: add support for public RSA key in RSAKey
  • bda0e9c feat: enable more conversions between encoded and raw versions
  • e0dd56a feat: add NotBefore option for x509 cert creation
  • 12a4897 feat: add support for SPKI fingerprint generation and matching
  • d0c3eef fix: implement NewKeyPair
  • 196679e feat: move pkg/grpc/tls from github.com/talos-systems/talos as ./tls
  • 1ff6242 chore: initial version as imported from talos-systems/talos
  • 835063e chore: 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/hashicorp/terraform-plugin-framework v1.2.0 new
  • github.com/hashicorp/terraform-plugin-framework-timeouts v0.3.1 new
  • github.com/hashicorp/terraform-plugin-framework-validators v0.10.0 new
  • github.com/hashicorp/terraform-plugin-go v0.15.0 new
  • github.com/hashicorp/terraform-plugin-sdk/v2 v2.25.0 -> v2.26.1
  • github.com/hashicorp/terraform-plugin-testing v1.2.0 new
  • github.com/siderolabs/crypto v0.4.0 new
  • github.com/siderolabs/go-blockdevice v0.4.4 new
  • github.com/siderolabs/talos/pkg/machinery v1.3.6 -> v1.4.0
  • golang.org/x/mod v0.10.0 new
  • google.golang.org/grpc v1.51.0 -> v1.54.0
  • k8s.io/client-go v0.27.1 new

Previous release can be found at v0.1.2

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

NewReleases is sending notifications on new releases.