Felix Wischke (65278)
b4ee9218fc
proxmoxmachine_type: validate sourceNode/templateId/templateSelector
2024-12-05 10:21:34 +01:00
Philipp Born
8caf78564e
feat: allow template selection based on tags
...
* `sourceNode + templateID` and `templateSelector` are mutually exclusive
* automatically detects both `sourceNode` + `templateID`
* errors out if anything but one (1) VM template with desired flags was found
2024-12-04 08:23:13 +01:00
Hampus Carlsson
51a9d0a454
Improve docker build workflow in forks ( #337 )
...
* Use lowercase repo name for ghcr image
Instead of using hardcoded image name, take it from the repo name. This makes it work well for forks.
* Update container-image.yaml
* Update container-image.yaml
---------
Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com >
2024-11-27 16:45:21 +01:00
Vic Kerr
a4c1bd4561
docs, test: k8s 1.30 ( #321 )
...
* test: bump k8s to 1.30.6
* docs/advanced-setups: bump k8s to 1.30.6
* go.mod: bump k8s.io/* to v0.30.6
* Update proxmox-ci.yaml
* Update proxmox-dev.yaml
* Update Makefile
---------
Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com >
2024-11-13 13:32:25 +01:00
Vic Kerr
11692d339c
webhook_suite_test: goimports
2024-11-12 11:52:49 +01:00
Vic Kerr
fbbec81a9b
proxmoxcluster_webhook: goimports
2024-11-12 11:52:49 +01:00
Vic Kerr
b4d79c2a20
utils_test: goimports
2024-11-12 11:52:49 +01:00
Vic Kerr
2a33573014
power_test: goimports
2024-11-12 11:52:49 +01:00
Vic Kerr
cd9f628806
delete: goimports
2024-11-12 11:52:49 +01:00
Vic Kerr
646c1935ea
vmscheduler: goimports
2024-11-12 11:52:49 +01:00
Vic Kerr
3dafc132e6
proxmoxmachine_controller: goimports
2024-11-12 11:52:49 +01:00
Vic Kerr
2cd9439788
golangci: configure goimports
2024-11-12 11:52:49 +01:00
Vic Kerr
65fe60e82d
internal/service/vmservice/bootstrap: more tests
2024-11-12 11:52:49 +01:00
Vic Kerr
3436c35d44
internal/service/taskservice/error: add test
2024-11-12 11:52:49 +01:00
Vic Kerr
1e604723ce
port "pkg/proxmox/goproxmox: test coverage"
2024-11-12 11:52:49 +01:00
Felix Wischke (65278)
44c7cb5985
pkg/proxmox/goproxmox: test coverage
2024-11-12 11:52:49 +01:00
dependabot[bot]
defd654edc
build(deps): bump golang.org/x/tools from 0.26.0 to 0.27.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.26.0 to 0.27.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-11 14:20:18 +01:00
Vic Kerr
a72eef5bde
bump cluster-api to 1.8.5 ( #328 )
2024-11-11 11:10:50 +00:00
dependabot[bot]
4fe3c8d1a9
build(deps): bump sigs.k8s.io/cluster-api/test in the cluster-api group
...
Bumps the cluster-api group with 1 update: [sigs.k8s.io/cluster-api/test](https://github.com/kubernetes-sigs/cluster-api ).
Updates `sigs.k8s.io/cluster-api/test` from 1.8.4 to 1.8.5
- [Release notes](https://github.com/kubernetes-sigs/cluster-api/releases )
- [Commits](https://github.com/kubernetes-sigs/cluster-api/compare/v1.8.4...v1.8.5 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/cluster-api/test
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cluster-api
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-11 11:33:39 +01:00
Mohamed Chiheb Ben Jemaa
69bfdfd5c8
Group CAPI Deps
2024-11-07 15:06:44 +01:00
Mohamed Chiheb Ben Jemaa
203b7f2ba3
Add tests for main.go to increase test coverage ( #319 )
...
* Exclude main from test coverage
* Add tests for main
* Mock restConfig
2024-11-05 12:34:40 +01:00
dependabot[bot]
89223b1a9b
build(deps): bump github.com/luthermonson/go-proxmox from 0.1.1 to 0.2.1
...
Bumps [github.com/luthermonson/go-proxmox](https://github.com/luthermonson/go-proxmox ) from 0.1.1 to 0.2.1.
- [Release notes](https://github.com/luthermonson/go-proxmox/releases )
- [Commits](https://github.com/luthermonson/go-proxmox/compare/v0.1.1...v0.2.1 )
---
updated-dependencies:
- dependency-name: github.com/luthermonson/go-proxmox
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-05 10:52:30 +01:00
dependabot[bot]
09a9422888
build(deps): bump thollander/actions-comment-pull-request from 2 to 3 ( #320 )
...
Bumps [thollander/actions-comment-pull-request](https://github.com/thollander/actions-comment-pull-request ) from 2 to 3.
- [Release notes](https://github.com/thollander/actions-comment-pull-request/releases )
- [Commits](https://github.com/thollander/actions-comment-pull-request/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: thollander/actions-comment-pull-request
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>
2024-11-05 10:39:26 +01:00
dependabot[bot]
b339b53477
build(deps): bump github.com/onsi/gomega from 1.35.0 to 1.35.1
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.35.0 to 1.35.1.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.35.0...v1.35.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-04 16:42:33 +01:00
dependabot[bot]
3b55da8858
build(deps): bump github.com/onsi/ginkgo/v2 from 2.20.2 to 2.21.0
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.20.2 to 2.21.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.20.2...v2.21.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-04 16:37:14 +01:00
Mohamed Chiheb Ben Jemaa
9a79e5efbf
Skip e2e based on label ( #314 )
...
* Skip e2e based on label
* simplify
* allow skipping Generic
* Add action to add e2e docs into each PR
* Update e2e-comment.yml
* do not permit skipping Generic tests
---------
Co-authored-by: Vic Kerr <wiktor.kerr@ionos.com >
2024-11-04 15:34:38 +00:00
Dario Tranchitella
c8cc3a4ce1
feat: support for externally managed control plane ( #106 )
...
* feat: support for externally managed control plane
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu >
* proxmoxcluster_controller.go: check for nil ControlPlaneEnpoint
* gofmt -s
---------
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu >
Co-authored-by: Vic Kerr <wiktor.kerr@ionos.com >
2024-11-04 15:27:55 +00:00
Mohamed Chiheb Ben Jemaa
a67b48d0e8
fix/cluster state failed reconcile ( #317 )
...
* Fix Cluster state failed when controller restarted with proper credentials
* Refactor the code
2024-10-31 12:51:06 +01:00
dependabot[bot]
757ae9ad35
build(deps): bump github.com/onsi/gomega from 1.34.2 to 1.35.0 ( #315 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.34.2 to 1.35.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.34.2...v1.35.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
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>
2024-10-30 13:55:19 +01:00
dependabot[bot]
afca76cd2b
build(deps): bump anchore/scan-action from 4 to 5
...
Bumps [anchore/scan-action](https://github.com/anchore/scan-action ) from 4 to 5.
- [Release notes](https://github.com/anchore/scan-action/releases )
- [Changelog](https://github.com/anchore/scan-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/anchore/scan-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: anchore/scan-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-23 09:42:03 +02:00
Nico
3f118918d2
Add documentation for Proxmox RBAC with least privileges ( #307 )
...
* docs: Add "Proxmox RBAC with least privileges" to advanced-setup.md
* docs(fix): Fix formatting in "Proxmox RBAC with least privileges"
* docs: Add link to advanced-setups/Proxmox RBAC with least privileges in Usage guide
2024-10-23 07:23:15 +00:00
Endre Karlson
0d011ceb1c
Support toggling provisioning checks ( #290 )
...
* Support toggling provisioning checks
Signed-off-by: ekarlso <endre.karlson@gmail.com >
* Generate descriptions
Signed-off-by: ekarlso <endre.karlson@gmail.com >
* Fix tests
Signed-off-by: ekarlso <endre.karlson@gmail.com >
---------
Signed-off-by: ekarlso <endre.karlson@gmail.com >
2024-10-13 14:56:40 +02:00
Erwin Kok
7d9b12bce9
Adding Finalizer on Secret ( #279 )
...
* Bumped some versions as the controller-gen crashed
* Added ProxmoxClusterTemplate properly
* Proper alignment //+kubebuilder, and provide annotatons as specified by spec
* Added concurrency to controllers. Added constructors to controllers
* Added capiflags
* metrics-bind-address is obsolete. Use diagnostics address
* Add finalizer on secret
* Cleanup to minimize differences
* Processing review feedback
* Processing feedback
* Update
* Processing feedback
* Fixing tests
* Update
* Delete capi cluster first
* Processing review feedback
* Renamed test context
* Processing review feedback: solve linting issues
---------
Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com >
2024-10-09 18:14:54 +00:00
Endre Karlson
3644c4671c
cloud-init: Add provider-id to metadata ( #292 )
...
Some operating system(s) like Talos use provider-id for their
cloud-provider implementation in the format of <provider>://<id>
to be picked up by the cloud-init impl. Having it available is pretty standard.
Signed-off-by: ekarlso <endre.karlson@gmail.com >
Co-authored-by: Mohamed Chiheb Ben Jemaa <mc.benjemaa@gmail.com >
2024-10-09 17:38:15 +00:00
dependabot[bot]
c8ec224ae4
build(deps): bump sigs.k8s.io/cluster-api{,/test} from 1.8.3 to 1.8.4
...
Bumps [sigs.k8s.io/cluster-api/test](https://github.com/kubernetes-sigs/cluster-api ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/kubernetes-sigs/cluster-api/releases )
- [Commits](https://github.com/kubernetes-sigs/cluster-api/compare/v1.8.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/cluster-api/test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-09 07:07:17 +00:00
dependabot[bot]
23e2b99ba3
build(deps): bump golang.org/x/tools from 0.25.0 to 0.26.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-08 13:39:15 +00:00
dependabot[bot]
fbdad0bc2d
build(deps): bump SonarSource/sonarcloud-github-action
...
Bumps [SonarSource/sonarcloud-github-action](https://github.com/sonarsource/sonarcloud-github-action ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/sonarsource/sonarcloud-github-action/releases )
- [Commits](https://github.com/sonarsource/sonarcloud-github-action/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: SonarSource/sonarcloud-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-08 13:14:14 +00:00
Vic Kerr
321d629faf
build(deps): bump sigs.k8s.io/cluster-api from 1.8.2 to 1.8.3
2024-09-16 09:11:52 +00:00
dependabot[bot]
e5d52aeb4f
build(deps): bump sigs.k8s.io/cluster-api/test from 1.8.2 to 1.8.3
...
Bumps [sigs.k8s.io/cluster-api/test](https://github.com/kubernetes-sigs/cluster-api ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/kubernetes-sigs/cluster-api/releases )
- [Commits](https://github.com/kubernetes-sigs/cluster-api/compare/v1.8.2...v1.8.3 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/cluster-api/test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-16 09:11:52 +00:00
dependabot[bot]
8deaf3d4e5
build(deps): bump golang.org/x/tools from 0.24.0 to 0.25.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-13 08:49:32 +00:00
dependabot[bot]
3b43841ddc
build(deps): bump github.com/onsi/gomega from 1.34.1 to 1.34.2 ( #277 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.34.1 to 1.34.2.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.34.1...v1.34.2 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
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>
2024-09-06 16:00:31 +02:00
Mohamed Chiheb Ben Jemaa
bfa3e96ee0
Upgrade CAPI to v1.8.2 ( #284 )
2024-09-06 15:54:01 +02:00
Nico
1905624a0e
Check if VM exists before deletion ( #278 )
2024-09-03 19:53:03 +02:00
dependabot[bot]
94904fe441
build(deps): bump github.com/onsi/ginkgo/v2 from 2.19.1 to 2.20.2
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.19.1 to 2.20.2.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.19.1...v2.20.2 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-03 09:02:30 +00:00
Mohamed Chiheb Ben Jemaa
7b75c862dd
Remove unnecessary task from Development.md ( #275 )
...
Props to Nick Coish for spotting this.
2024-08-22 09:24:03 +00:00
Mohamed Chiheb Ben Jemaa
9bba25568b
Fix CNI cluster templates ( #264 )
...
* Fix CNI cluster templates
* Add condition to skip webhook when network is not set
2024-08-21 13:07:37 +02:00
dependabot[bot]
95216059cb
build(deps): bump SonarSource/sonarcloud-github-action
...
Bumps [SonarSource/sonarcloud-github-action](https://github.com/sonarsource/sonarcloud-github-action ) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/sonarsource/sonarcloud-github-action/releases )
- [Commits](https://github.com/sonarsource/sonarcloud-github-action/compare/v2.3.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: SonarSource/sonarcloud-github-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-21 09:31:14 +00:00
dependabot[bot]
57973eb0ce
build(deps): bump github.com/onsi/gomega from 1.33.1 to 1.34.1
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.33.1 to 1.34.1.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.33.1...v1.34.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 13:01:38 +00:00
dependabot[bot]
fa7a870f7e
build(deps): bump golang.org/x/tools from 0.22.0 to 0.24.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.22.0 to 0.24.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.22.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-20 10:49:39 +00:00
dependabot[bot]
e3c6c22184
build(deps): bump codespell-project/actions-codespell from 2.0 to 2.1 ( #272 )
...
Bumps [codespell-project/actions-codespell](https://github.com/codespell-project/actions-codespell ) from 2.0 to 2.1.
- [Release notes](https://github.com/codespell-project/actions-codespell/releases )
- [Commits](94259cd8be...406322ec52 )
---
updated-dependencies:
- dependency-name: codespell-project/actions-codespell
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>
2024-08-20 12:41:12 +02:00