You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bootstrap/main.tf:
- Add check block: create_ssh_key must be true when create_cloudinit_secret
is true (cloud-init template embeds the generated SSH public key)
- Add check block: existing_cloudinit_secret_name must be non-empty when
create_cloudinit_secret = false
bootstrap/examples/basic/main.tf:
- Replace removed rancher_admin_password with bootstrap_password
management/cluster-roles/main.tf:
- Split harvesterhci.io rule: virtualmachineimages stays read-only;
keypairs gets create+delete so vm-manager can inject/remove SSH keys
via workloads/vm without RBAC denials
management/cluster-roles/README.md:
- Add network-manager to roles table and network_manager_role_id to
outputs table to document the cluster-scoped role
management/harvester-integration/examples/basic/main.tf:
- Remove kubernetes provider (no longer required by module)
- Replace removed rancher_hostname/rancher_lb_ip with cloud_credential_name
and cluster_labels; update module source to wso2 org
management/networking/examples/basic/main.tf:
management/storage/examples/basic/main.tf:
- Bump harvester provider from ~> 0.6.0 to ~> 1.7 to match all other
modules and prevent init failures from conflicting constraints
workloads/vm/main.tf:
- Replace sensitive-derived count with non-sensitive create_ssh_key bool
- Make wait_for_lease configurable via variable (default true)
workloads/vm/variables.tf:
- Add create_ssh_key and wait_for_lease variables
workloads/vm/README.md:
- Fix cloud-init resource description (no standalone secret is created)
- Use file(pathexpand("~/.ssh/...")) in examples (file() does not expand ~)
- Add create_ssh_key and wait_for_lease to inputs table
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: modules/management/cluster-roles/README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ module is not required.
17
17
| Role Name | Context | Purpose |
18
18
|-----------|---------|---------|
19
19
|`vm-manager`| project | Full lifecycle management of VMs: create, configure, start/stop/restart, console, and delete. |
20
+
|`network-manager`| cluster | Manage Harvester VLAN infrastructure and NetworkAttachmentDefinitions. Bind only via `rancher2_cluster_role_template_binding`. |
20
21
|`vm-metrics-observer`| project | Read-only access to VM status and metrics. No mutating verbs. |
Copy file name to clipboardExpand all lines: modules/workloads/vm/variables.tf
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -64,3 +64,15 @@ variable "network_data" {
64
64
description="Cloud-init network-data config. Ignored if user_data is null."
65
65
default=""
66
66
}
67
+
68
+
variable"create_ssh_key" {
69
+
type=bool
70
+
description="When true, create a harvester_ssh_key from ssh_public_key and attach it to the VM. Must be true for ssh_public_key to have any effect."
71
+
default=false
72
+
}
73
+
74
+
variable"wait_for_lease" {
75
+
type=bool
76
+
description="Whether Terraform should wait for an IP lease on the primary NIC. Set to false when using static IPs via cloud-init network_data without qemu-guest-agent."
0 commit comments