renovate[bot]
bb44a8d844
chore(ci): update actions/checkout action (v4.1.1 → v4.1.3)
...
| datasource | package | from | to |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v4.1.1 | v4.1.3 |
2024-04-25 09:58:52 +00:00
Pavel Boldyrev
a55b0c1013
misc: bump qodana to v2024.1.1
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-24 21:14:48 -04:00
Pavel Boldyrev
efd0d7b466
chore: remove unused code ( #1236 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-24 20:52:41 -04:00
Pavel Boldyrev
dd7bcc700d
misc: setup qodana.cloud
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-23 22:46:05 -04:00
Pavel Boldyrev
7209fe0321
chore(vm2): experimental support for clone
and inherited attributes ( #1235 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-24 02:00:11 +00:00
renovate[bot]
ee939a38a3
chore(deps): update go (1.22.0 → 1.22.2) ( #1234 )
...
| datasource | package | from | to |
| -------------- | ------- | ------ | ------ |
| golang-version | go | 1.22.0 | 1.22.2 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-21 13:37:54 +00:00
Pavel Boldyrev
961404dd0b
chore(vm2): experiment with sets, add tags
support ( #1232 )
...
* chore(vm2): experiment with sets, add `tags` support
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-21 00:15:42 +00:00
bpg-autobot[bot]
c2bb48ea21
chore(main): release 0.54.0 ( #1217 )
...
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-04-19 18:32:20 -04:00
Pavel Boldyrev
d8202dd7a1
chore(vm2): initial experimental VM resource implementation using Plugin Framework ( #1230 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-19 21:57:12 +00:00
renovate[bot]
5a606ec18e
chore(deps): update github.com/hashicorp/terraform-plugin-* ( #1228 )
...
| datasource | package | from | to |
| ---------- | ----------------------------------------------- | ------- | ------- |
| go | github.com/hashicorp/terraform-plugin-framework | v1.7.0 | v1.8.0 |
| go | github.com/hashicorp/terraform-plugin-go | v0.22.1 | v0.22.2 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-19 12:54:43 -04:00
renovate[bot]
938784531f
chore(deps): update module github.com/avast/retry-go/v4 (v4.5.1 → v4.6.0) ( #1229 )
...
* chore(deps): update module github.com/avast/retry-go/v4 (v4.5.1 → v4.6.0)
| datasource | package | from | to |
| ---------- | ---------------------------- | ------ | ------ |
| go | github.com/avast/retry-go/v4 | v4.5.1 | v4.6.0 |
* switch to `retry.UntilSucceeded()`
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-19 16:48:38 +00:00
renovate[bot]
83d835ff3e
chore(deps): update golang.org/x/exp digest (93d18d7 → fe59bbe) ( #1226 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-19 16:43:29 +00:00
renovate[bot]
c7e36ee1a1
chore(deps): update go (1.22.0 → 1.22.2) in /tools ( #1227 )
...
* chore(deps): update tools
| datasource | package | from | to |
| -------------- | ------------------------------------------ | ------- | ------- |
| go | github.com/hashicorp/terraform-plugin-docs | v0.18.0 | v0.19.0 |
| golang-version | go | 1.22.0 | 1.22.2 |
* bump toolchain
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-19 16:42:00 +00:00
Pavel Boldyrev
0c9c2066fd
fix(vm,lxc,file): improve timeouts handling ( #1222 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-19 12:38:16 -04:00
dependabot[bot]
7e4710d3f0
chore(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 in /tools ( #1225 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 12:01:00 -04:00
Pavel Boldyrev
653e6f25f8
chore(vm): fix acceptance test for hardware mapping ( #1223 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-18 20:27:59 +00:00
Sven Greb
76c1c2282b
feat(cluster): Implement initial support for "hardware mappings" ( #1213 )
...
* feat(cluster): Implement initial support for "hardware mappings"
Right now it is alredy possible to use a mapped resource [1], but there
is no dedicated `proxmox_virtual_environment_cluster_hardware_mapping`
resource but this step must still be done manually (or automated through
other ways that interact with the Proxmox API).
This commit implements support for "hardware mapping" resources and data
sources for the, currently, available bus types PCI and USB, based on
the Proxmox VE API documentations [2].
There are some "specialities" in these resources and data sources:
1. The Proxmox VE API attribute, but this implementations names it
"comment" since this naming is generally across the Proxmox VE web UI
and API documentations. This still follows the Terraform
"best practices" [3] as it improves the user experience by matching
the field name to the naming used in the human-facing interfaces.
2. Like in point 1, the name of the attribute of "node checks
diagnostics" for USB hardware mappings is "errors" in the Proxmox VE
API while it is "checks" for hardware mappings of type PCI.
The second naming pattern is also generally used across the
Proxmox VE web UI and API documentations, including the "check_node"
attribute that is also implemented in the
"proxmox_virtual_environment_hardware_mappings" data source.
Therefore, this implementation named both attributes "checks" which
still follows the Terraform "best practices" [3] as it improves the
user experience by matching the field name to the naming used in the
human-facing interfaces.
3. This implmenetation comes with the "unique" feature of allowing
comments (named "descriptions" by the Proxmox VE API) for an entry in
a device map which is not possible through the web UI at all but only
adding a comment for the whole mapping entry instead.
Note that this implementation also adds another point in the
"Known Issues" documentation since it is only possible to map a
PCI/USB device using the `root` PAM account, but this is still better
than having to manually configure it through the web UI or by
interacting with the Proxmox VE API on other ways.
[1]: https://github.com/bpg/terraform-provider-proxmox/pull/500
[2]: https://pve.proxmox.com/pve-docs/api-viewer/#/cluster/mapping/pci
[3]: https://developer.hashicorp.com/terraform/plugin/best-practices/hashicorp-provider-design-principles#resource-and-attribute-schema-should-closely-match-the-underlying-api
Signed-off-by: Sven Greb <development@svengreb.de>
* fix linter
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Sven Greb <development@svengreb.de>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-18 16:00:51 -04:00
Pavel Boldyrev
163a773088
chore(code): reorganize HA & node network code ( #1218 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-16 00:08:14 +00:00
renovate[bot]
1bf3bf0f68
chore(deps): update tools ( #1216 )
...
| datasource | package | from | to |
| -------------- | ------------------------------------------ | ------- | ------- |
| go | github.com/hashicorp/terraform-plugin-docs | v0.18.0 | v0.19.0 |
| golang-version | go | 1.22.0 | 1.22.2 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 16:46:35 -04:00
Pavel Boldyrev
ad036a67e8
fix(vm): state drift due to disk re-ordering ( #1215 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-15 16:45:38 -04:00
bpg-autobot[bot]
8d1a5415ae
chore(main): release 0.53.1 ( #1208 )
...
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-04-11 23:19:17 -04:00
Pavel Boldyrev
628d0f15dd
fix(vm): regression: force VM recreation due to initialization.upgrade
when it is not in the plan ( #1209 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-12 03:13:29 +00:00
allcontributors[bot]
9b06405157
docs: add tyxieblub as a contributor for code ( #1210 )
...
* docs: update CONTRIBUTORS.md
* docs: update .all-contributorsrc
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-11 23:11:40 -04:00
joris
46d323d31b
fix(vm): error 'resizing of efidisks is not supported' when clonning a VM with re-defined efi_disk
( #1206 )
...
* fix(vm): compare efiType value instead of address
Signed-off-by: tyxieblub <5111464+tyxieblub@users.noreply.github.com>
* update example to reproduce the error case
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: tyxieblub <5111464+tyxieblub@users.noreply.github.com>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-11 23:09:56 -04:00
dependabot[bot]
19a13bee0a
chore(deps): bump github.com/sigstore/cosign/v2 from 2.2.3 to 2.2.4 in /tools ( #1207 )
...
chore(deps): bump github.com/sigstore/cosign/v2 in /tools
Bumps [github.com/sigstore/cosign/v2](https://github.com/sigstore/cosign ) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/sigstore/cosign/releases )
- [Changelog](https://github.com/sigstore/cosign/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sigstore/cosign/compare/v2.2.3...v2.2.4 )
---
updated-dependencies:
- dependency-name: github.com/sigstore/cosign/v2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 21:13:04 -04:00
bpg-autobot[bot]
8187d2eaea
chore(main): release 0.53.0 ( #1193 )
...
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-04-10 22:40:58 -04:00
Pavel Boldyrev
59972dc1b5
feat(vm): add support for initialization.upgrade
attribute ( #1203 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-10 23:43:39 +00:00
Pavel Boldyrev
8515be686c
misc: do not auto-dispatch acceptance tests
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-09 22:39:10 -04:00
renovate[bot]
ead36dcafb
chore(deps): update golang.org/x/exp digest (c0f41cb → 93d18d7) ( #1201 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 02:12:52 +00:00
Pavel Boldyrev
c14b7ebe1d
chore(docs): minor documentation updates ( #1200 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-10 02:07:22 +00:00
Pavel Boldyrev
ae88cf603d
fix(firewall): remove strict validation for rule.iface
attribute ( #1199 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-10 01:46:53 +00:00
Pavel Boldyrev
b4174a7c82
fix(vm): panic if initialization.user_account_keys
contains null
( #1197 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-09 02:48:07 +00:00
Pavel Boldyrev
c27311183a
fix(vm): panic if numa
block is empty ( #1196 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-09 02:35:25 +00:00
Pavel Boldyrev
c772fb3cf6
chore: refactor acceptance tests ( #1195 )
...
* misc: refactor acceptance tests
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* moar refactoring
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
* fix cleanup in TestAccResourceFile
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-09 02:01:32 +00:00
allcontributors[bot]
119fc8ad76
docs: add TheDevMinerTV as a contributor for code ( #1194 )
...
* docs: update CONTRIBUTORS.md
* docs: update .all-contributorsrc
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-08 21:50:33 -04:00
DevMiner
f0a7afa57d
impl(proxmoxtf): Intel E1000E support ( #1191 )
...
Signed-off-by: DevMiner <devminer@devminer.xyz>
2024-04-08 20:35:58 -04:00
bpg-autobot[bot]
a1058f4633
chore(main): release 0.52.0 ( #1189 )
...
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-04-07 22:03:27 -04:00
Pavel Boldyrev
268c861649
chore: improve acceptance tests on CI ( #1173 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-07 04:41:57 +00:00
renovate[bot]
24daca5941
chore(ci): update actions/create-github-app-token action (v1.9.2 → v1.9.3) ( #1190 )
...
| datasource | package | from | to |
| ----------- | ------------------------------- | ------ | ------ |
| github-tags | actions/create-github-app-token | v1.9.2 | v1.9.3 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-07 04:06:21 +00:00
renovate[bot]
f4e5ef8aaa
chore(deps): update tools ( #1184 )
...
* chore(ci): update actions/create-github-app-token action (v1.9.2 → v1.9.3)
| datasource | package | from | to |
| ----------- | ------------------------------- | ------ | ------ |
| github-tags | actions/create-github-app-token | v1.9.2 | v1.9.3 |
* chore(deps): update tools
| datasource | package | from | to |
| ---------- | ------------------------------------------------------------- | ------- | ------- |
| go | github.com/goreleaser/goreleaser | v1.24.0 | v1.25.1 |
| go | go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp | v0.49.0 | v0.50.0 |
* fix go.mod
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-06 16:39:15 -04:00
Serge
dbbd966736
feat(vm): add support for numa architecture attribute ( #1156 ) ( #1175 )
...
* feat(vm): add support for numa architecture attribute (#1156 )
Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
* fix: numa blocks reordering issue
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-06 16:30:13 -04:00
Pavel Boldyrev
31b6812ce2
fix(vm): regression: provider always tries to update memory.*hugepages
even if it is not specified ( #1188 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-06 12:27:55 +00:00
bpg-autobot[bot]
c1c4cf159b
chore(main): release 0.51.1 ( #1178 )
...
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-04-04 19:53:55 -04:00
renovate[bot]
e680aa9318
chore(deps): update golang.org/x/exp digest (a685a6e → c0f41cb) ( #1183 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 19:49:24 -04:00
Pavel Boldyrev
82d435f575
fix(vm): regressions: provider always tries to update cpu.affinity
even if it is not specified ( #1182 )
...
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-04 23:48:49 +00:00
allcontributors[bot]
39e67da544
docs: add batonogov as a contributor for bug ( #1181 )
...
* docs: update CONTRIBUTORS.md
* docs: update .all-contributorsrc
---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-04 19:41:26 -04:00
renovate[bot]
7358257dba
chore(ci): update actions/create-github-app-token action (v1.9.0 → v1.9.2) ( #1177 )
...
| datasource | package | from | to |
| ----------- | ------------------------------- | ------ | ------ |
| github-tags | actions/create-github-app-token | v1.9.0 | v1.9.2 |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 00:05:14 +00:00
bpg-autobot[bot]
13b25df005
chore(main): release 0.51.0 ( #1154 )
...
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-03-30 08:20:13 -04:00
renovate[bot]
02efdc40bf
chore(deps): update module github.com/golangci/golangci-lint (v1.57.1 → v1.57.2) in /tools ( #1172 )
...
* chore(ci): update actions/create-github-app-token action (v1.9.0 → v1.9.1)
| datasource | package | from | to |
| ----------- | ------------------------------- | ------ | ------ |
| github-tags | actions/create-github-app-token | v1.9.0 | v1.9.1 |
* chore(deps): update module github.com/golangci/golangci-lint (v1.57.1 → v1.57.2) in /tools
| datasource | package | from | to |
| ---------- | --------------------------------- | ------- | ------- |
| go | github.com/golangci/golangci-lint | v1.57.1 | v1.57.2 |
* fix linter errors
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
---------
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-30 03:32:08 +00:00
renovate[bot]
e60ee990fa
chore(deps): update golang.org/x/exp digest (a85f2c6 → a685a6e) ( #1171 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 23:31:02 -04:00