-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalues.yaml
94 lines (87 loc) · 2.52 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
global:
pattern: ansible-edge-gitops
clusterDomain: example.com
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
serviceType: NodePort
routeEnableTlsBlock: false
publishService: false
#routeTlsInsecureEdgeTerminationPolicy: None
routeTlsTermination: passthrough
# extraLabels is available for default extra labels to add to the virtualmachine
# extraAnnotations is available for default extra labels to add to the virtualmachine
# The following provide defaults if they are not set in the route hash/map:
# routeTlsTermination
# routeTlsInsecureEdgeTerminationPolicy (defaults to empty/not present)
# routeTlsSecretKeyName - no default
ports:
- name: ssh
port: 22
protocol: TCP
targetPort: 22
routes: {}
# The following keys can be used/set in the route map
# name (defaults to vm-name)
# targetPort (no default)
# enableTlsBlock (defaults to false)
# tlsTermination (defaults to routeTlsTermination from above)
# tlsInsecureEdgeTerminationPolicy (defaults to routeTlsInsecureEdgeTerminationPolicy above)
# tlsSecretKeyName - no default - not needed or used if not specified
# 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