VM-Operator/dev-example
2023-09-02 08:16:14 +02:00
..
config.yaml Basics for automated test. 2023-08-19 15:22:31 +02:00
kustomization.yaml Basics for automated test. 2023-08-19 15:22:31 +02: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.yaml Use alpine for testing and also create (sw)tpm. 2023-08-23 10:58:28 +02: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.