VM-Operator/dev-example
2024-02-22 10:13:14 +01:00
..
.gitignore Support cloudInit in CRD. 2024-02-18 11:46:09 +01:00
config.yaml Provide more context information. 2023-11-05 15:08:51 +01:00
kustomization.yaml Provide more context information. 2023-11-05 15:08:51 +01:00
Readme.md Update Readme.md 2023-09-02 08:16:14 +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.yaml Use locally administered address in example. 2024-02-22 10:13:14 +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.