2023-08-11 12:22:26 +02:00
|
|
|
# Example setup for development
|
|
|
|
|
|
2024-06-09 13:25:10 +02:00
|
|
|
The CRD must be deployed independently. Apart from that, the
|
2023-08-11 12:22:26 +02:00
|
|
|
`kustomize.yaml`
|
|
|
|
|
|
2023-09-02 08:09:53 +02:00
|
|
|
* creates a small cdrom image repository and
|
2024-06-09 13:25:10 +02:00
|
|
|
|
2023-08-11 13:26:36 +02:00
|
|
|
* deploys the operator in namespace `vmop-dev` with a replica of 0.
|
2024-06-09 13:25:10 +02:00
|
|
|
|
2023-08-11 12:22:26 +02:00
|
|
|
This allows you to run the manager in your IDE.
|
|
|
|
|
|
2023-09-02 08:09:53 +02:00
|
|
|
The `kustomize.yaml` also changes the container image repository for
|
2024-06-09 13:25:10 +02:00
|
|
|
the operator to a private repository for development. You have to
|
2023-09-02 08:16:14 +02:00
|
|
|
adapt this to your own repository if you also want to test your
|
|
|
|
|
development version in a container.
|
2023-08-19 15:22:31 +02:00
|
|
|
|
2023-09-02 08:16:14 +02:00
|
|
|
If you want to run the unittests, this setup *must* be used with a private
|
2023-09-02 08:09:53 +02:00
|
|
|
container image repository which must match the one configured
|
|
|
|
|
for gradle pushImages.
|