forked from openshift-metal3/dev-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clouds.yaml.template
32 lines (32 loc) · 1021 Bytes
/
clouds.yaml.template
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
clouds:
{{- if eq .AuthType "none"}}
metal3-bootstrap:
auth_type: {{.AuthType}}
baremetal_endpoint_override: {{.BootstrapIronicURL}}
baremetal_introspection_endpoint_override: {{.BootstrapInspectorURL}}
verify: false
metal3:
auth_type: {{.AuthType}}
baremetal_endpoint_override: {{.ClusterIronicURL}}
baremetal_introspection_endpoint_override: {{.ClusterInspectorURL}}
verify: false
metal3-inspector:
auth_type: {{.AuthType}}
baremetal_introspection_endpoint_override: {{.ClusterInspectorURL}}
verify: false
{{- else if eq .AuthType "http_basic"}}
metal3:
auth_type: {{.AuthType}}
auth:
username: {{.IronicUser}}
password: {{.IronicPassword}}
baremetal_endpoint_override: {{.ClusterIronicURL}}
verify: false
metal3-inspector:
auth_type: {{.AuthType}}
auth:
username: {{.InspectorUser}}
password: {{.InspectorPassword}}
baremetal_introspection_endpoint_override: {{.ClusterInspectorURL}}
verify: false
{{- end}}