diff --git a/01-proxmox-infra/index.ts b/01-proxmox-infra/index.ts index 844d3b5..83e555e 100644 --- a/01-proxmox-infra/index.ts +++ b/01-proxmox-infra/index.ts @@ -166,7 +166,9 @@ const ciRunnerKey = new tls.PrivateKey("ci-runner-key", { // --------------------------------------------------------------------------- const k3sVmPassword = config.requireSecret("k3sVmPassword"); -const sshPvePublicKey = config.requireSecret("sshPvePublicKey"); +const pve1SshPublicKey = config.requireSecret("pve1SshPublicKey"); +const pve2SshPublicKey = config.requireSecret("pve2SshPublicKey"); +const pve3SshPublicKey = config.requireSecret("pve3SshPublicKey"); interface NodeConfig { name: string; @@ -271,7 +273,9 @@ const k3sVms = nodeConfigs.map( username: "ubuntu", password: k3sVmPassword, keys: [ - sshPvePublicKey.apply((k) => k.trim()), + pve1SshPublicKey.apply((k) => k.trim()), + pve2SshPublicKey.apply((k) => k.trim()), + pve3SshPublicKey.apply((k) => k.trim()), ciRunnerKey.publicKeyOpenssh.apply((k) => k.trim()), ], },