Generate test VMs.

This commit is contained in:
Michael Lipp 2024-11-17 15:08:22 +01:00
parent bc0d25d00e
commit 043666a932
3 changed files with 14 additions and 3 deletions

View file

@ -1,2 +1,3 @@
/test-vm-ci.yaml
/kubeconfig.yaml
/crds/

View file

@ -0,0 +1,10 @@
---
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
namespace: vmop-dev
name: test-vm-system-disk-snapshot
spec:
volumeSnapshotClassName: csi-rbdplugin-snapclass
source:
persistentVolumeClaimName: test-vm-system-disk

View file

@ -27,7 +27,8 @@ spec:
guestShutdownStops: true
cloudInit: {}
cloudInit:
metaData: {}
vm:
# state: Running
@ -49,7 +50,7 @@ spec:
spec:
storageClassName: ceph-rbd3slow
dataSource:
name: test-vm-snapshot-1
name: test-vm-system-disk-snapshot
kind: VolumeSnapshot
apiGroup: snapshot.storage.k8s.io
accessModes:
@ -64,4 +65,3 @@ spec:
display:
spice:
port: <%= $((5910 + number)) %>
server: 192.168.179.20