Skip to content

Commit

Permalink
Update to Kubernetes 1.22.2
Browse files Browse the repository at this point in the history
  • Loading branch information
scholzj committed Oct 9, 2021
1 parent ce811ed commit 861d9f3
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 822 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ AWS Kubernetes is a Kubernetes cluster deployed using [Kubeadm](https://kubernet

## Updates

* *9.10.2021* Update to Kubernetes 1.22.2 + update addons
* *20.6.2021* Update to Kubernetes 1.21.2 + update addons
* *10.4.2021* Update to Kubernetes 1.21.0 + update addons
* *21.2.2021* Update to Kubernetes 1.20.4
Expand Down
14 changes: 0 additions & 14 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -225,24 +225,10 @@ data "template_file" "init_node" {
}
}

data "template_file" "cloud_init_config" {
template = file("${path.module}/scripts/cloud-init-config.yaml")

vars = {
calico_yaml = base64gzip(file("${path.module}/scripts/calico.yaml"))
}
}

data "template_cloudinit_config" "master_cloud_init" {
gzip = true
base64_encode = true

part {
filename = "cloud-init-config.yaml"
content_type = "text/cloud-config"
content = data.template_file.cloud_init_config.rendered
}

part {
filename = "init-aws-kubernete-master.sh"
content_type = "text/x-shellscript"
Expand Down
Loading

0 comments on commit 861d9f3

Please sign in to comment.