-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
76 lines (69 loc) · 1.74 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
global:
pattern: ansible-edge-gitops
secretStore:
name: vault-backend
kind: ClusterSecretStore
vmNamespace: edge-gitops-vms
waitForMetalNode: true
jobTerminationGracePeriod: 3600
vmDefaults:
cloudInitSecret: secret/data/hub/cloud-init
accessMode: "ReadWriteMany"
storageClassName: "ocs-storagecluster-ceph-rbd-virtualization"
volumeMode: "Block"
count: 1
flavor: medium
workload: desktop
os: rhel8
storage: 30Gi
memory: 4Gi
machineType: pc-q35-rhel8.4.0
cores: 1
sockets: 1
threads: 1
template: rhel8-desktop-medium
sshsecret: secret/data/hub/vm-ssh
cloudinitsecret: secret/data/hub/cloud-init
sshpubkeyfield: publickey
# extraLabels is available for default extra labels to add to the virtualmachine
# extraAnnotations is available for default extra labels to add to the virtualmachine
ports:
- name: ssh
port: 22
protocol: TCP
targetPort: 22
# Define the VMs you want to create with any specific attributes from vmDefaults
# in an overrides file.
vms: {}
serviceAccountName: ansible-edge-gitops-sa
rbac:
roles:
- name: view-machine-api
createRole: true
apiGroups:
- machine.openshift.io
scope:
cluster: true
resources:
- machinesets
verbs:
- "get"
- "list"
- "watch"
roleBindings:
- name: view-machine-api
createBinding: true
scope:
cluster: false
namespace: "openshift-machine-api"
subjects:
kind: ServiceAccount
name: ansible-edge-gitops-sa
namespace: edge-gitops-vms
apiGroup: ""
roleRef:
kind: ClusterRole
name: view-machine-api
job:
image: image-registry.openshift-image-registry.svc:5000/openshift/cli:latest