VM-Operator/dev-example
2023-08-19 15:22:31 +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 Basics for automated test. 2023-08-19 15:22:31 +02:00
test-vm-pv-system.yaml Add/update example configurations. 2023-08-11 12:22:26 +02:00
test-vm.yaml Basics for automated test. 2023-08-19 15:22:31 +02:00

Example setup for development

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

  • creates a small 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 image repository for the operator to a private repository for development. You have to either remove this or adapt it 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 run with a private repository and the private repository must match the one configured for gradle pushImages.