Enhancement/consolidate proxmox node config #32
@@ -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()),
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user