VM-Operator/dev-example
Michael N. Lipp 7b8df80828
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Java CI with Gradle / build (push) Waiting to run
Deploy Jekyll site to Pages / build (push) Waiting to run
Deploy Jekyll site to Pages / deploy (push) Blocked by required conditions
Use display manager for login.
2025-08-01 17:41:03 +02:00
..
vmop-agent Use display manager for login. 2025-08-01 17:41:03 +02:00
.gitignore Add maintenance script. 2025-02-02 16:50:52 +01:00
config.yaml Intermediate state. 2025-03-12 11:56:32 +01:00
gen-pool-vm-crds Add number format. 2025-03-05 18:10:54 +01:00
kustomization.yaml Add users for pool testing. 2025-01-25 15:14:58 +01:00
pool-action Rename. 2025-02-25 13:48:23 +01:00
Readme.md Minor editorial changes. 2025-03-29 17:41:01 +01:00
test-pool.yaml So auto login according to pool setting. 2025-03-03 21:26:10 +01:00
test-vm-display-secret.yaml Add viewer conlet (#25) 2024-05-27 12:57:01 +02:00
test-vm-pv-system.yaml Add/update example configurations. 2023-08-11 12:22:26 +02:00
test-vm-shell.yaml Support cloudInit in CRD. 2024-02-18 11:46:09 +01:00
test-vm-snapshot.yaml Generate test VMs. 2024-11-17 15:08:22 +01:00
test-vm.tpl.yaml Update templates when testing. 2025-03-14 18:37:05 +01:00
test-vm.yaml Add guest agent client and retrieve OS info. 2025-02-10 22:24:10 +01:00

Example setup for development

The CRD must be deployed independently. Apart from that, the kustomize.yaml

  • creates a small cdrom image repository and

  • deploys the operator in namespace vmop-dev with a replica of 0.

This allows you to run the manager in your IDE.

The kustomize.yaml also changes the container image repository for the operator to a private repository for development. You have to adapt this to your own repository if you also want to test your development version in a container.

If you want to run the unittests, this setup must be used with a private container image repository which must match the one configured for gradle pushImages.