cluster-builder 0.3.2__py3-none-any.whl → 0.3.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cluster-builder might be problematic. Click here for more details.
- cluster_builder/templates/deploy_manifest.tf +7 -13
- {cluster_builder-0.3.2.dist-info → cluster_builder-0.3.3.dist-info}/METADATA +1 -1
- {cluster_builder-0.3.2.dist-info → cluster_builder-0.3.3.dist-info}/RECORD +6 -6
- {cluster_builder-0.3.2.dist-info → cluster_builder-0.3.3.dist-info}/WHEEL +0 -0
- {cluster_builder-0.3.2.dist-info → cluster_builder-0.3.3.dist-info}/licenses/LICENSE +0 -0
- {cluster_builder-0.3.2.dist-info → cluster_builder-0.3.3.dist-info}/top_level.txt +0 -0
|
@@ -13,31 +13,25 @@ resource "null_resource" "copy_manifests" {
|
|
|
13
13
|
host = var.master_ip
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
#
|
|
17
|
-
provisioner "remote-exec" {
|
|
18
|
-
inline = [
|
|
19
|
-
"mkdir -p /home/${var.ssh_user}/manifests",
|
|
20
|
-
"sudo chmod 755 /home/${var.ssh_user}/manifests"
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
# Copy the manifests
|
|
16
|
+
# Copy the manifest folder into /tmp
|
|
25
17
|
provisioner "file" {
|
|
26
18
|
source = var.manifest_folder
|
|
27
|
-
destination = "/
|
|
19
|
+
destination = "/tmp/"
|
|
28
20
|
}
|
|
29
21
|
|
|
30
|
-
# Apply namespace.yaml first
|
|
22
|
+
# Apply namespace.yaml first if exists
|
|
31
23
|
provisioner "remote-exec" {
|
|
32
24
|
inline = [
|
|
33
|
-
"
|
|
25
|
+
"folder_name=$(basename ${var.manifest_folder})",
|
|
26
|
+
"if [ -f /tmp/$folder_name/namespace.yaml ]; then sudo -E KUBECONFIG=/etc/rancher/k3s/k3s.yaml kubectl apply -f /tmp/$folder_name/namespace.yaml; fi"
|
|
34
27
|
]
|
|
35
28
|
}
|
|
36
29
|
|
|
37
30
|
# Apply the rest of the manifests
|
|
38
31
|
provisioner "remote-exec" {
|
|
39
32
|
inline = [
|
|
40
|
-
"
|
|
33
|
+
"folder_name=$(basename ${var.manifest_folder})",
|
|
34
|
+
"sudo -E KUBECONFIG=/etc/rancher/k3s/k3s.yaml kubectl apply -R -f /tmp/$folder_name"
|
|
41
35
|
]
|
|
42
36
|
}
|
|
43
37
|
}
|
|
@@ -7,7 +7,7 @@ cluster_builder/infrastructure/__init__.py,sha256=e8XY3K7Y6FJS-ODr5ufB_myV7btFvY
|
|
|
7
7
|
cluster_builder/infrastructure/executor.py,sha256=oymr_ZP8xAOcNDAuGCp1v4F81-chR3VRotoD732l4q0,2874
|
|
8
8
|
cluster_builder/infrastructure/templates.py,sha256=TAdNP-012L76dOYsd7JVIQOD4K9XNobK9QWfOoYrbeU,4084
|
|
9
9
|
cluster_builder/templates/aws_provider.tf,sha256=VIRuH_-8pYtJ0Mkck38WUSszHiN3DesFOWkx75aoOIY,425
|
|
10
|
-
cluster_builder/templates/deploy_manifest.tf,sha256=
|
|
10
|
+
cluster_builder/templates/deploy_manifest.tf,sha256=kFf3Q6nuvYzFxFbVdGPjiFINN8ep4_8n0BAMx5UD5nQ,1004
|
|
11
11
|
cluster_builder/templates/ha_user_data.sh.tpl,sha256=njvsBRjdKBuUaYbujJ689wI2sfpoHVpr2kkbG9sKzpw,981
|
|
12
12
|
cluster_builder/templates/master_user_data.sh.tpl,sha256=g_uaehoi9Pm_vCx_vJhXCUqAt7DpcqnAi_QPm5VOgWw,1481
|
|
13
13
|
cluster_builder/templates/openstack_provider.tf,sha256=wFUmkws5xSTOM1GW0Jd8JD__VAUBPNF4j1amo2SRyVM,2049
|
|
@@ -18,8 +18,8 @@ cluster_builder/templates/openstack/main.tf,sha256=uMzArcNE0wbx23Y0x9B7jGIiWIgJd
|
|
|
18
18
|
cluster_builder/utils/__init__.py,sha256=TeronqOND-SIfi0e76lwD1HfUiPO2h2ZfYhLIwZ3Aks,145
|
|
19
19
|
cluster_builder/utils/hcl.py,sha256=VptRAt2Cy0AxowqMJBZ60KGe4Uptji3Y9WiYrDQsrqY,11534
|
|
20
20
|
cluster_builder/utils/logging.py,sha256=rwDViuqG8PMcXJWHOdtdgbGhWMnbSZ4MwfKsXHxu2B4,1242
|
|
21
|
-
cluster_builder-0.3.
|
|
22
|
-
cluster_builder-0.3.
|
|
23
|
-
cluster_builder-0.3.
|
|
24
|
-
cluster_builder-0.3.
|
|
25
|
-
cluster_builder-0.3.
|
|
21
|
+
cluster_builder-0.3.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
22
|
+
cluster_builder-0.3.3.dist-info/METADATA,sha256=Ct8rk6mYHJMS1-jkDs2qMYre6FbRgl2SMHuJaMAmLSs,10937
|
|
23
|
+
cluster_builder-0.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
24
|
+
cluster_builder-0.3.3.dist-info/top_level.txt,sha256=fTW8EW1mcWoeWprjwxSHRWpqfXYX8iN-ByEt8HPXIcs,16
|
|
25
|
+
cluster_builder-0.3.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|