-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathignition_controller.tf
34 lines (32 loc) · 1.34 KB
/
ignition_controller.tf
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
data "ignition_config" "ignition_controller" {
systemd = [
"${data.ignition_systemd_unit.cloud-controller-manager.id}",
"${data.ignition_systemd_unit.kuberform-apiserver.id}",
"${data.ignition_systemd_unit.kuberform-controller-manager.id}",
"${data.ignition_systemd_unit.kuberform-scheduler.id}",
]
files = [
"${data.ignition_file.ca_root.id}",
"${data.ignition_file.ca_etcd.id}",
"${data.ignition_file.ca_etcd_chain.id}",
"${data.ignition_file.etcd_server_cert.id}",
"${data.ignition_file.etcd_server_key.id}",
"${data.ignition_file.etcd_client_cert.id}",
"${data.ignition_file.etcd_client_key.id}",
"${data.ignition_file.ca_kubernetes.id}",
"${data.ignition_file.ca_kubernetes_chain.id}",
"${data.ignition_file.kubernetes_server_cert.id}",
"${data.ignition_file.kubernetes_server_key.id}",
"${data.ignition_file.kubernetes_client_cert.id}",
"${data.ignition_file.kubernetes_client_key.id}",
"${data.ignition_file.ca_kubelet.id}",
"${data.ignition_file.ca_kubelet_chain.id}",
"${data.ignition_file.kubelet_server_cert.id}",
"${data.ignition_file.kubelet_server_key.id}",
"${data.ignition_file.kubelet_client_cert.id}",
"${data.ignition_file.kubelet_client_key.id}",
]
}
output "ignition-controller" {
value = "${data.ignition_config.ignition_controller.rendered}"
}