Browse Source
Proposing fixes for contrib/terraform/vsphere/ #8436 (#8441)
Proposing fixes for contrib/terraform/vsphere/ #8436 (#8441)
* fixes issues in vSphere Terraform contrib. #8436 * fix formatting * add variables to the main module and document changes * add missing newlinepull/8470/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 95 additions and 63 deletions
Split View
Diff Options
-
5contrib/terraform/vsphere/README.md
-
1contrib/terraform/vsphere/default.tfvars
-
38contrib/terraform/vsphere/main.tf
-
60contrib/terraform/vsphere/modules/kubernetes-cluster/main.tf
-
5contrib/terraform/vsphere/modules/kubernetes-cluster/output.tf
-
6contrib/terraform/vsphere/modules/kubernetes-cluster/templates/cloud-init.tpl
-
14contrib/terraform/vsphere/modules/kubernetes-cluster/templates/metadata.tpl
-
15contrib/terraform/vsphere/modules/kubernetes-cluster/templates/vapp-cloud-init.tpl
-
4contrib/terraform/vsphere/modules/kubernetes-cluster/variables.tf
-
1contrib/terraform/vsphere/sample-inventory/cluster.tfvars
-
9contrib/terraform/vsphere/variables.tf
@ -0,0 +1,6 @@ |
|||
#cloud-config |
|||
|
|||
ssh_authorized_keys: |
|||
%{ for ssh_public_key in ssh_public_keys ~} |
|||
- ${ssh_public_key} |
|||
%{ endfor ~} |
@ -0,0 +1,14 @@ |
|||
instance-id: ${hostname} |
|||
local-hostname: ${hostname} |
|||
network: |
|||
version: 2 |
|||
ethernets: |
|||
${interface_name}: |
|||
match: |
|||
name: ${interface_name} |
|||
dhcp4: false |
|||
addresses: |
|||
- ${ip}/${netmask} |
|||
gateway4: ${gw} |
|||
nameservers: |
|||
addresses: [${dns}] |
Write
Preview
Loading…
Cancel
Save