0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 19:12:59 +00:00
Commit Graph

1110 Commits

Author SHA1 Message Date
Rafał Safin
40102a6a50
fix(lxc): add missing onboot param on container clone create (#838)
* fix(lxc): add missing start params on container clone create

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix(lxc): remove set started attr on container clone

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* chore(lxc): add `start_on_boot` to example templates

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Rafał Safin <rafal.safin@rafsaf.pl>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-28 10:48:53 -05:00
Pavel Boldyrev
d8f82d47b3
chore(tests): Update acceptance tests to PVE 8.1, add docs (#834)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-24 07:26:06 -05:00
GitHub Bot
528efbca0d
chore(main): release 0.42.0 (#821)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-12-22 20:28:12 -05:00
Rafał Safin
16e571dc19
feat(vm, lxc): add new initialization.dns.servers param to vm and container (#832)
feat(vm): add new dns servers param to vm and container, deprecated server param

Signed-off-by: rafsaf <rafal.safin12@gmail.com>
2023-12-22 20:19:21 -05:00
allcontributors[bot]
a8b574cfa5
docs: add rafsaf as a contributor for doc, and ideas (#830)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-21 19:25:37 -05:00
Rafał Safin
4f54f89b5d
docs: improve make example docs and add proxmox setup how-to (#829)
* docs: improve make example documentation, add how-to for proxmox setup

Signed-off-by: rafsaf <rafal.safin12@gmail.com>

* docs: revert unwanted styling changes in pull request template file

Signed-off-by: rafsaf <rafal.safin12@gmail.com>

---------

Signed-off-by: rafsaf <rafal.safin12@gmail.com>
2023-12-21 19:23:07 -05:00
Pavel Boldyrev
0ffe75afa4
fix(vm): update smbios during clone (#827)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-21 02:28:43 +00:00
allcontributors[bot]
552f56f289
docs: add scibi as a contributor for bug, and ideas (#826)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-21 02:14:43 +00:00
allcontributors[bot]
8749cf7d54
docs: add olemathias as a contributor for bug (#825)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-20 21:09:38 -05:00
bitchecker
34df9773c3
fix(provider): allow FQDN for ssh.node.address in provider's config (#824)
* fix(provider): removed ip check/limitation to mkProviderSSHNode

It is now possible to use an FQDN instead of an IP Address when the SSH
node is configured

Changes to be committed:
modified:   proxmoxtf/provider/schema.go

Signed-off-by: bitchecker <ciro.deluca@autistici.org>

* fix(docs): Updating documentation after the code updates

Signed-off-by: bitchecker <ciro.deluca@autistici.org>

---------

Signed-off-by: bitchecker <ciro.deluca@autistici.org>
2023-12-20 19:40:11 -05:00
allcontributors[bot]
8d1a72923c
docs: add bitchecker as a contributor for code (#823)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-19 21:35:36 -05:00
bitchecker
4113bec1b5
feat(vm): add support up to 32 network interfaces (#822)
* Added NetworkDevices and IPs

Removed previous limitation to 8 network interfaces/ips and moved to
new proxmox limit (up to 32)

Modifiche di cui verrà eseguito il commit:
modificato:             proxmox/nodes/vms/vms_types.go

Signed-off-by: bitchecker <ciro.deluca@autistici.org>

* Code alignment for vm resource

After updates to vm_types structure definition, updated the resource
code in order to reflect changes

Modifiche di cui verrà eseguito il commit:
modificato:             proxmoxtf/resource/vm.go

Signed-off-by: bitchecker <ciro.deluca@autistici.org>

* fix few typos, fix struct to state mapping

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: bitchecker <ciro.deluca@autistici.org>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-19 21:33:40 -05:00
dependabot[bot]
ec31d75fe1
chore(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#820) 2023-12-19 00:18:45 +00:00
dependabot[bot]
21a4b01cd1
chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /tools (#819) 2023-12-18 19:17:12 -05:00
allcontributors[bot]
19d1ab59de
docs: add mkopnsrc as a contributor for financial (#818)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-17 22:35:08 -05:00
GitHub Bot
100eec3a28
chore(main): release 0.41.0 (#786)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-12-17 22:31:13 -05:00
Michael Iseli
aa939c731f
fix(vm): hostpci devices not showing up in refresh plan (#578)
* bug(vm): fix hostpci devices not showing up in refresh plan

Signed-off-by: Michael Iseli <michael.iseli@bsi-software.com>

* fix pci & usb devices set on read, fix test

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Michael Iseli <michael.iseli@bsi-software.com>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-17 22:28:33 -05:00
Pavel Boldyrev
3e0ef1d08b
fix(vm): panic at read when cloud-init drive is on directory storage (#811)
* fix(vm): panic at read when cloud-init drive is on directory storage

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* fix linter, add tests

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-17 18:22:48 -05:00
Pavel Boldyrev
9712952e26
feat(vm): add cpu.limit attribute (#814)
* feat(vm): add `cpu.limit` attribute

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* update docs and examples

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-17 18:18:41 -05:00
dependabot[bot]
3b4a69edfa
chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 (#805)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 15:52:07 -05:00
dependabot[bot]
5c91b91938
chore(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.30.0 to 2.31.0 (#808)
chore(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2

Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-sdk/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 20:46:00 +00:00
dependabot[bot]
53270e2310
chore(deps): bump github.com/hashicorp/terraform-plugin-mux from 0.12.0 to 0.13.0 (#806)
chore(deps): bump github.com/hashicorp/terraform-plugin-mux

Bumps [github.com/hashicorp/terraform-plugin-mux](https://github.com/hashicorp/terraform-plugin-mux) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-mux/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-mux/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-mux/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-mux
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-15 15:42:34 -05:00
dependabot[bot]
1d69c691ac
chore(deps): bump github.com/brianvoe/gofakeit/v6 from 6.26.0 to 6.26.3 (#807)
Bumps [github.com/brianvoe/gofakeit/v6](https://github.com/brianvoe/gofakeit) from 6.26.0 to 6.26.3.
- [Release notes](https://github.com/brianvoe/gofakeit/releases)
- [Commits](https://github.com/brianvoe/gofakeit/compare/v6.26.0...v6.26.3)

---
updated-dependencies:
- dependency-name: github.com/brianvoe/gofakeit/v6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 15:38:15 -05:00
allcontributors[bot]
c1f60dab72
docs: add joek-office as a contributor for bug (#803)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-13 22:07:33 -05:00
allcontributors[bot]
f7e5b5e6d5
docs: add frostyfab as a contributor for doc (#801)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-13 21:02:01 -05:00
frostyfab
86d0f07e9b
fix(docs): add clone/full parameter for vms (#797)
Add documentation for vm/clone/full parameter related to #551

Signed-off-by: Moritz Winter <siliconaire@frostyfab.de>
2023-12-13 20:59:23 -05:00
dependabot[bot]
02b5da705d
chore(deps): bump actions/stale from 8 to 9 (#790)
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 00:19:38 +00:00
dependabot[bot]
164a72d19d
chore(deps): bump actions/setup-go from 4 to 5 (#791)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 19:17:48 -05:00
allcontributors[bot]
3a000a04b4
docs: add zmingxie as a contributor for code (#788)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-11 04:57:03 +00:00
allcontributors[bot]
b26cf5a537
docs: add ActualTrash as a contributor for code (#787)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-10 23:55:42 -05:00
Ming Xie
32bdc21750
fix(provider): typo in provider example (#785)
Signed-off-by: Ming Xie <git@mxie.dev>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-11 04:44:25 +00:00
Chase H
6ebe8dcc60
feat(vm): support stopping (rather than shutting down) VMs on resource destroy (#783)
* Support stopping VMs on destroy

Signed-off-by: Chase <31072505+ActualTrash@users.noreply.github.com>

* Make the linter happy

Signed-off-by: Chase <31072505+ActualTrash@users.noreply.github.com>

---------

Signed-off-by: Chase <31072505+ActualTrash@users.noreply.github.com>
2023-12-10 23:43:30 -05:00
GitHub Bot
db270efd89
chore(main): release 0.40.0 (#763)
Signed-off-by: GitHub Bot <48106979+bpg-bot@users.noreply.github.com>
2023-12-06 19:31:34 -05:00
Pavel Boldyrev
25deebba26
fix(lxc): fixes for datastore-backed volume mounts (#772)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-06 23:39:35 +00:00
allcontributors[bot]
52f17defda
docs: add dylanbegin as a contributor for bug, and test (#780)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-06 18:27:42 -05:00
allcontributors[bot]
8eeb051fef
docs: add redpimpernel as a contributor for test (#779)
* docs: update README.md

* docs: update .all-contributorsrc

* change columns

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: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-06 18:24:59 -05:00
Pavel Boldyrev
fbd2a716c6
misc(ci): fix metrics rendering (#778)
* misc(ci): fix metrics rendering

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* decrease contributors avatar sizes

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-06 18:14:49 -05:00
dependabot[bot]
006b5e9caa
chore(deps): bump github.com/brianvoe/gofakeit/v6 from 6.25.0 to 6.26.0 (#775)
Bumps [github.com/brianvoe/gofakeit/v6](https://github.com/brianvoe/gofakeit) from 6.25.0 to 6.26.0.
- [Release notes](https://github.com/brianvoe/gofakeit/releases)
- [Commits](https://github.com/brianvoe/gofakeit/compare/v6.25.0...v6.26.0)

---
updated-dependencies:
- dependency-name: github.com/brianvoe/gofakeit/v6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-06 22:42:15 +00:00
Pavel Boldyrev
54288ddd76
chore(docs): update PR and issue templates (#777)
* chore: repo docs

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* Update github-metrics.svg - [Skip GitHub Action]

* update repository metrics workflow configuration

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* Update metrics.repository.svg - [Skip GitHub Action]

* update repository metrics

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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-06 17:31:10 -05:00
Pavel Boldyrev
d0f43e1497
chore: configure vscode's linter to use proper .golangci.yml file (#774)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-06 16:36:54 -05:00
allcontributors[bot]
ae429148b5
docs: add tarik02 as a contributor for code (#773)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-06 16:19:27 -05:00
Taras
8bf26099e0
feat(lxc)!: allow to update features, add mount type support (#765)
* feat(lxc): allow to update features, add mount type support

Signed-off-by: tarik02 <taras.fomin@gmail.com>

* updates according to the MR

Signed-off-by: tarik02 <taras.fomin@gmail.com>

* update according to the pull request

Signed-off-by: tarik02 <taras.fomin@gmail.com>

---------

Signed-off-by: tarik02 <taras.fomin@gmail.com>
2023-12-06 16:18:05 -05:00
Pavel Boldyrev
7505b37708
fix(docs): update CONTRIBUTING.md and other project docs (#771)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-06 17:09:47 +00:00
Pavel Boldyrev
a6772544f6
ci: configure release-please to bump minor version on breaking changes (#770)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-06 15:43:02 +00:00
Pavel Boldyrev
8d12f93f7a
chore(deps): revert bump google-github-actions/release-please-action from 3.7.13 to 4.0.0 (#768)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-05 18:06:44 +00:00
Pavel Boldyrev
5a56845dcd
fix(ci): fix release-please config after version bump (part2) (#767)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-05 17:58:18 +00:00
Pavel Boldyrev
f2d76d7d69
fix(ci): fix release-please config after version bump (#766)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-05 17:52:01 +00:00
dependabot[bot]
5dd8c8794a
chore(deps): bump google-github-actions/release-please-action from 3.7.13 to 4.0.0 (#761)
* chore(deps): bump google-github-actions/release-please-action

Bumps [google-github-actions/release-please-action](https://github.com/google-github-actions/release-please-action) from 3.7.13 to 4.0.0.
- [Release notes](https://github.com/google-github-actions/release-please-action/releases)
- [Changelog](https://github.com/google-github-actions/release-please-action/blob/main/CHANGELOG.md)
- [Commits](db8f2c60ee...a6d1fd9854)

---
updated-dependencies:
- dependency-name: google-github-actions/release-please-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update release-please configuration

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* Add bump-minor-pre-major flag to release-please
manifest

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-05 12:43:19 -05:00
DanielHabenicht
f1450cb6dd
fix(docs): add more details about local testing of the provider (#698)
* fix(docs): add local testing part

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: DanielHabenicht <daniel-habenicht@outlook.de>

* fix code format

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: DanielHabenicht <daniel-habenicht@outlook.de>

* update manual testing instructions

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* fix terraform.rc ref for windows

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: DanielHabenicht <daniel-habenicht@outlook.de>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-12-04 22:33:19 -05:00
allcontributors[bot]
0cc3358330
docs: add geoshapka as a contributor for bug, and test (#764)
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2023-12-04 21:55:28 -05:00