Skip to content

Commit 86de28a

Browse files
author
Martin Jackson
committed
Update to deploy windows vm
1 parent 7878bee commit 86de28a

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

overrides/values-egv-dr.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,42 @@ vms:
4141
count: 1
4242
role: redis
4343

44+
desktop:
45+
count: 1
46+
role: desktop
47+
os: windows
48+
dataVolume: windows2k22
49+
efi: true
50+
mainDiskStorageBus: sata
51+
#machineType: "pc-q35-9.2"
52+
ports:
53+
- name: ssh
54+
port: 22
55+
protocol: TCP
56+
targetPort: 22
57+
- name: rdp
58+
port: 389
59+
protocol: TCP
60+
targetPort: 389
61+
4462
boutique:
4563
deploy: true
4664

4765
redis:
4866
external:
4967
enabled: true
68+
69+
externalDataVolumes:
70+
windows2k22:
71+
name: windows2k22
72+
type: registry
73+
url: 'docker://quay.io/martjack/windows_image:latest'
74+
registryCredentialsSecret: windows
75+
size: 50G
76+
annotations:
77+
cdi.kubevirt.io/storage.bind.immediate.requested: "true"
78+
79+
registryCredentialExternalSecrets:
80+
windows:
81+
vaultKey: secret/data/global/privatevm-credentials
82+

values-secret.yaml.template

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ secrets:
1616
- name: publickey
1717
value: 'Public ssh key of the user who will be able to elevate to root to provision kiosks'
1818

19+
# This is used to pull the Windows image from a private quay.io repo
20+
- name: privatevm-credentials
21+
vaultPrefixes:
22+
- global
23+
fields:
24+
- name: accessKeyId
25+
value: 'A quay robot ID'
26+
- name: secretKey
27+
value: 'A quay robot secret'
28+
1929
# This is to make the secrets available to spoke clusters
2030
- name: cloud-init
2131
vaultPrefixes:

0 commit comments

Comments
 (0)