Fix some minor codacy complaints.
This commit is contained in:
parent
6a3f6c5e3e
commit
074f0cf7da
6 changed files with 15 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
[](https://github.com/mnlipp/VM-Operator/actions/workflows/gradle.yml)
|
[](https://github.com/mnlipp/VM-Operator/actions/workflows/gradle.yml)
|
||||||
[](https://app.codacy.com/gh/mnlipp/VM-Operator/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
[](https://app.codacy.com/gh/mnlipp/VM-Operator/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
||||||

|

|
||||||

|

|
||||||
|
|
@ -6,8 +6,7 @@
|
||||||
# Run Qemu in Kubernetes Pods
|
# Run Qemu in Kubernetes Pods
|
||||||
|
|
||||||
The goal of this project is to provide the means for running Qemu
|
The goal of this project is to provide the means for running Qemu
|
||||||
based VMs in Kubernetes pods.
|
based VMs in Kubernetes pods.
|
||||||
|
|
||||||
See the [project's home page](https://mnlipp.github.io/VM-Operator/)
|
See the [project's home page](https://mnlipp.github.io/VM-Operator/)
|
||||||
for details.
|
for details.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
# Example setup for development
|
# Example setup for development
|
||||||
|
|
||||||
The CRD must be deployed independently. Apart from that, the
|
The CRD must be deployed independently. Apart from that, the
|
||||||
`kustomize.yaml`
|
`kustomize.yaml`
|
||||||
|
|
||||||
* creates a small cdrom image repository and
|
* creates a small cdrom image repository and
|
||||||
|
|
||||||
* deploys the operator in namespace `vmop-dev` with a replica of 0.
|
* deploys the operator in namespace `vmop-dev` with a replica of 0.
|
||||||
|
|
||||||
This allows you to run the manager in your IDE.
|
This allows you to run the manager in your IDE.
|
||||||
|
|
||||||
The `kustomize.yaml` also changes the container image repository for
|
The `kustomize.yaml` also changes the container image repository for
|
||||||
the operator to a private repository for development. You have to
|
the operator to a private repository for development. You have to
|
||||||
adapt this to your own repository if you also want to test your
|
adapt this to your own repository if you also want to test your
|
||||||
development version in a container.
|
development version in a container.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
# Example setup
|
# Example setup
|
||||||
|
|
||||||
The CRD must be deployed independently.
|
The CRD must be deployed independently.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
kubectl apply -f https://github.com/mnlipp/VM-Operator/raw/main/deploy/crds/vms-crd.yaml
|
kubectl apply -f https://github.com/mnlipp/VM-Operator/raw/main/deploy/crds/vms-crd.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Apart from that, the `kustomize.yaml` defines a namespace for the manager
|
Apart from that, the `kustomize.yaml` defines a namespace for the manager
|
||||||
(and the VMs managed by it) and patches the repository PVC to create
|
(and the VMs managed by it) and patches the repository PVC to create
|
||||||
a small volume using local-path.
|
a small volume using local-path.
|
||||||
|
|
||||||
A second patch provides a new configuration file for the manager
|
A second patch provides a new configuration file for the manager
|
||||||
that makes it use the local-path storage class when creating the
|
that makes it use the local-path storage class when creating the
|
||||||
small volume for a runner's data.
|
small volume for a runner's data.
|
||||||
|
|
||||||
The `kustomize.yaml` does not include the test VM. Before creating
|
The `kustomize.yaml` does not include the test VM. Before creating
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
# Example setup
|
# Example setup
|
||||||
|
|
||||||
The CRD must be deployed independently.
|
The CRD must be deployed independently.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
kubectl apply -f https://github.com/mnlipp/VM-Operator/raw/main/deploy/crds/vms-crd.yaml
|
kubectl apply -f https://github.com/mnlipp/VM-Operator/raw/main/deploy/crds/vms-crd.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Apart from that, the `kustomize.yaml` defines a namespace for the manager
|
Apart from that, the `kustomize.yaml` defines a namespace for the manager
|
||||||
(and the VMs managed by it) and applies patches to use `rook-cephfs` as
|
(and the VMs managed by it) and applies patches to use `rook-cephfs` as
|
||||||
storage class (instead of the default storage class).
|
storage class (instead of the default storage class).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
You can use the "puzzle piece" icon on the top right corner of the
|
You can use the "puzzle piece" icon on the top right corner of the
|
||||||
page to add display widgets (conlets) to the overview tab.
|
page to add display widgets (conlets) to the overview tab.
|
||||||
|
|
||||||
Use the "full screen" icon on the top right corner of any
|
Use the "full screen" icon on the top right corner of any
|
||||||
conlet (if available) to get a detailed view.
|
conlet (if available) to get a detailed view.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
Verwenden Sie das "Puzzle"-Icon auf der rechten oberen Ecke
|
Verwenden Sie das "Puzzle"-Icon auf der rechten oberen Ecke
|
||||||
der Seite, um Anzeige-Widgets (Conlets) hinzuzufügen.
|
der Seite, um Anzeige-Widgets (Conlets) hinzuzufügen.
|
||||||
|
|
||||||
Wenn sich in der rechten oberen Ecke eines Conlets ein Vollbild-Icon
|
Wenn sich in der rechten oberen Ecke eines Conlets ein Vollbild-Icon
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue