File tree Expand file tree Collapse file tree 11 files changed +20
-20
lines changed Expand file tree Collapse file tree 11 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ resource "null_resource" "install_verrazzano" {
18
18
19
19
provisioner "file" {
20
20
content = local. install_verrazzano_operator_template
21
- destination = " ~ /install_verrazzano_operator"
21
+ destination = " /home/opc /install_verrazzano_operator"
22
22
}
23
23
24
24
provisioner "file" {
25
25
content = local. install_verrazzano_template
26
- destination = " ~ /install_verrazzano"
26
+ destination = " /home/opc /install_verrazzano"
27
27
}
28
28
29
29
provisioner "remote-exec" {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ resource "null_resource" "check_worker_active" {
22
22
23
23
provisioner "file" {
24
24
content = local. check_active_worker_template
25
- destination = " ~ /check_active_worker.sh"
25
+ destination = " /home/opc /check_active_worker.sh"
26
26
}
27
27
28
28
provisioner "remote-exec" {
Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ resource "null_resource" "install_calico" {
18
18
19
19
provisioner "file" {
20
20
content = local. install_calico_template
21
- destination = " ~/install_sh "
21
+ destination = " /home/opc/install_calico.sh "
22
22
}
23
23
24
24
provisioner "remote-exec" {
25
25
inline = [
26
- " chmod +x $HOME/install_sh " ,
27
- " $HOME/install_sh " ,
28
- # "rm -f $HOME/install_sh "
26
+ " chmod +x $HOME/install_calico.sh " ,
27
+ " $HOME/install_calico.sh " ,
28
+ " rm -f $HOME/install_calico.sh "
29
29
]
30
30
}
31
31
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ resource "null_resource" "drain_nodes" {
16
16
17
17
provisioner "file" {
18
18
content = local. drain_list_template
19
- destination = " ~ /drainlist.py"
19
+ destination = " /home/opc /drainlist.py"
20
20
}
21
21
22
22
provisioner "file" {
23
23
content = local. drain_template
24
- destination = " ~ /drain.sh"
24
+ destination = " /home/opc /drain.sh"
25
25
}
26
26
27
27
provisioner "remote-exec" {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ resource "null_resource" "enable_gatekeeper" {
18
18
19
19
provisioner "file" {
20
20
content = local. gatekeeper_template
21
- destination = " ~ /enable_gatekeeper.sh"
21
+ destination = " /home/opc /enable_gatekeeper.sh"
22
22
}
23
23
24
24
provisioner "remote-exec" {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ resource "null_resource" "update_dynamic_group" {
46
46
47
47
provisioner "file" {
48
48
content = local. update_dynamic_group_template
49
- destination = " ~ /update_dynamic_group.sh"
49
+ destination = " /home/opc /update_dynamic_group.sh"
50
50
}
51
51
52
52
provisioner "remote-exec" {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ resource "null_resource" "install_kubectl_on_operator" {
16
16
17
17
provisioner "file" {
18
18
content = local. install_kubectl_template
19
- destination = " ~ /install_kubectl.sh"
19
+ destination = " /home/opc /install_kubectl.sh"
20
20
}
21
21
22
22
provisioner "remote-exec" {
@@ -48,7 +48,7 @@ resource "null_resource" "install_helm_on_operator" {
48
48
49
49
provisioner "file" {
50
50
content = local. install_helm_template
51
- destination = " ~ /install_helm.sh"
51
+ destination = " /home/opc /install_helm.sh"
52
52
}
53
53
54
54
provisioner "remote-exec" {
Original file line number Diff line number Diff line change @@ -43,17 +43,17 @@ resource "null_resource" "write_kubeconfig_on_operator" {
43
43
44
44
provisioner "file" {
45
45
content = local. generate_kubeconfig_template
46
- destination = " ~ /generate_kubeconfig.sh"
46
+ destination = " /home/opc /generate_kubeconfig.sh"
47
47
}
48
48
49
49
provisioner "file" {
50
50
content = local. token_helper_template
51
- destination = " ~ /token_helper.sh"
51
+ destination = " /home/opc /token_helper.sh"
52
52
}
53
53
54
54
provisioner "file" {
55
55
content = local. set_credentials_template
56
- destination = " ~ /kubeconfig_set_credentials.sh"
56
+ destination = " /home/opc /kubeconfig_set_credentials.sh"
57
57
}
58
58
59
59
provisioner "remote-exec" {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ resource "null_resource" "enable_metric_server" {
18
18
19
19
provisioner "file" {
20
20
content = local. metric_server_template
21
- destination = " ~ /enable_metric_server.sh"
21
+ destination = " /home/opc /enable_metric_server.sh"
22
22
}
23
23
24
24
provisioner "remote-exec" {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ resource "null_resource" "secret" {
21
21
22
22
provisioner "file" {
23
23
content = local. secret_template
24
- destination = " ~ /secret.sh"
24
+ destination = " /home/opc /secret.sh"
25
25
}
26
26
27
27
provisioner "remote-exec" {
You can’t perform that action at this time.
0 commit comments