Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1477 from kinvolk/imran/reverting-the-reverted-ba…
Browse files Browse the repository at this point in the history
…remetal-changes

Revert "Merge pull request #1426 (Baremetal changes that were reverted)
  • Loading branch information
ipochi authored Jun 3, 2021
2 parents 6ca9fb3 + 1c7ccd5 commit 7a2f25a
Show file tree
Hide file tree
Showing 34 changed files with 608 additions and 829 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
module "bootkube" {
source = "../../../bootkube"

cluster_name = var.cluster_name
api_servers = [var.k8s_domain_name]
etcd_servers = var.controller_domains
cluster_name = var.cluster_name
api_servers = [format("%s.%s", var.cluster_name, var.k8s_domain_name)]
# Each instance of controller module generates the same set of etcd_servers.
etcd_servers = module.controller[0].etcd_servers
etcd_endpoints = []
asset_dir = var.asset_dir
network_mtu = var.network_mtu
Expand All @@ -21,7 +22,7 @@ module "bootkube" {
# Disable the self hosted kubelet.
disable_self_hosted_kubelet = var.disable_self_hosted_kubelet

bootstrap_tokens = [local.controller_bootstrap_token, local.worker_bootstrap_token]
bootstrap_tokens = concat(module.controller.*.bootstrap_token, module.worker.*.bootstrap_token)
enable_tls_bootstrap = true
encrypt_pod_traffic = var.encrypt_pod_traffic

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7a2f25a

Please sign in to comment.