forked from openshift-metal3/dev-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclouds.yaml.template
More file actions
27 lines (27 loc) · 931 Bytes
/
clouds.yaml.template
File metadata and controls
27 lines (27 loc) · 931 Bytes
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
clouds:
{{- if eq .AuthType "none"}}
metal3-bootstrap:
auth_type: {{.AuthType}}
baremetal_endpoint_override: {{.BootstrapIronicURL}}
baremetal_introspection_endpoint_override: {{.BootstrapInspectorURL}}
metal3:
auth_type: {{.AuthType}}
baremetal_endpoint_override: {{.ClusterIronicURL}}
baremetal_introspection_endpoint_override: {{.ClusterInspectorURL}}
metal3-inspector:
auth_type: {{.AuthType}}
baremetal_introspection_endpoint_override: {{.ClusterInspectorURL}}
{{- else if eq .AuthType "http_basic"}}
metal3:
auth_type: {{.AuthType}}
auth:
username: {{.IronicUser}}
password: {{.IronicPassword}}
baremetal_endpoint_override: {{.ClusterIronicURL}}
metal3-inspector:
auth_type: {{.AuthType}}
auth:
username: {{.InspectorUser}}
password: {{.InspectorPassword}}
baremetal_introspection_endpoint_override: {{.ClusterInspectorURL}}
{{- end}}