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

Commit

Permalink
Revert "Merge pull request #1426 from kinvolk/imran/reverting-baremet…
Browse files Browse the repository at this point in the history
…al-changes"

This reverts commit 106ea42, reversing
changes made to ac85cbb.

In effect this PR wants to re-revert the revert and put the following
baremetal changes back into master:
- #1374
- #1387
- #1398
- #1405
  • Loading branch information
ipochi committed Jun 1, 2021
1 parent e2ad644 commit 8c39b7c
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 8c39b7c

Please sign in to comment.