Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Moving libvirt vms to run with external dns
Browse files Browse the repository at this point in the history
  • Loading branch information
tsorya committed Jun 9, 2020
1 parent 76e581d commit 86c994d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion terraform_files/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ resource "libvirt_network" "net" {
addresses = [var.machine_cidr]

dns {
local_only = true
hosts {
ip = var.api_vip
hostname = "api.${var.cluster_name}.${var.cluster_domain}"
Expand Down
1 change: 0 additions & 1 deletion terraform_files/network/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ resource "libvirt_network" "net" {
addresses = [var.machine_cidr]

dns {
local_only = true
hosts {
ip = "{var.api_vip}"
hostname = "api.${var.cluster_name}.${var.cluster_domain}"
Expand Down
10 changes: 0 additions & 10 deletions terraform_files/variables-libvirt.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ variable "worker_count" {
description = "Number of workers."
}

//variable "bootstrap_dns" {
// default = true
// description = "Whether to include DNS entries for the bootstrap node or not."
//}

//variable "ignition_master" {
// type = string
// description = "Servers ignition"
//}

variable "cluster_domain" {
type = string
description = "Cluster domain"
Expand Down

0 comments on commit 86c994d

Please sign in to comment.