enhancenment(proxmox-infra): added ssh pub keys of the other 2 nodes to cloud init vm creation. added the nodes manually since already created.
Deploy k8s Bootstrap / Pulumi Preview (pull_request) Successful in 39s
Deploy k8s Bootstrap / Bootstrap k3s Cluster (pull_request) Skipped
Deploy Proxmox Infra / Pulumi Deploy (pull_request) Skipped
Deploy Proxmox Infra / Pulumi Preview (pull_request) Successful in 1m16s
Deploy k8s Bootstrap / Pulumi Preview (pull_request) Successful in 39s
Deploy k8s Bootstrap / Bootstrap k3s Cluster (pull_request) Skipped
Deploy Proxmox Infra / Pulumi Deploy (pull_request) Skipped
Deploy Proxmox Infra / Pulumi Preview (pull_request) Successful in 1m16s
This commit is contained in:
@@ -166,7 +166,9 @@ const ciRunnerKey = new tls.PrivateKey("ci-runner-key", {
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
const k3sVmPassword = config.requireSecret("k3sVmPassword");
|
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 {
|
interface NodeConfig {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -271,7 +273,9 @@ const k3sVms = nodeConfigs.map(
|
|||||||
username: "ubuntu",
|
username: "ubuntu",
|
||||||
password: k3sVmPassword,
|
password: k3sVmPassword,
|
||||||
keys: [
|
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()),
|
ciRunnerKey.publicKeyOpenssh.apply((k) => k.trim()),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user