WIP
This commit is contained in:
parent
d348029f3b
commit
d726c0f4a3
|
|
@ -129,7 +129,7 @@ const setupCluster = async (numMasters: number) => {
|
||||||
|
|
||||||
if (!joined) {
|
if (!joined) {
|
||||||
await Deno.run({
|
await Deno.run({
|
||||||
cmd: ["k3sup", "join", "--ip", vmIP, "--server-ip", firstMasterIP, "--user", "picard", "--ssh-key", sshKeyPrivateFileName],
|
cmd: ["k3sup", "join", "--server", "--ip", vmIP, "--server-ip", firstMasterIP, "--user", "picard", "--ssh-key", sshKeyPrivateFileName],
|
||||||
}).status();
|
}).status();
|
||||||
console.log(`✅ VM ${vmName} joined the cluster.`);
|
console.log(`✅ VM ${vmName} joined the cluster.`);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -204,3 +204,8 @@ output "argocd-root-password" {
|
||||||
value = module.argocd.admin_password
|
value = module.argocd.admin_password
|
||||||
sensitive = true
|
sensitive = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
output "mongodb-connection-string" {
|
||||||
|
value = module.mongodb.connection_string
|
||||||
|
sensitive = true
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue