Skip to content

Commit

Permalink
Add kustomize (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoryguillou authored Jan 1, 2020
1 parent 26ad12e commit 96ff426
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions blog/nlb-security/bootstrap-w-docker.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ curl -Lo kubectl \
https://storage.googleapis.com/kubernetes-release/release/v${kubectl_version}/bin/linux/amd64/kubectl
curl -Lo docker-compose \
https://github.com/docker/compose/releases/download/${compose_version}/docker-compose-$(uname -s)-$(uname -m)
curl -L https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v${kustomize_version}/kustomize_v${kustomize_version}_linux_amd64.tar.gz \
| tar -zxvf - -C .

chmod +x kubectl kind docker-compose

cd /usr/local
Expand Down
2 changes: 1 addition & 1 deletion blog/nlb-security/instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "aws_instance" "public" {
user_data = (var.private ?
templatefile("${path.module}/bootstrap.tmpl", {}) :
templatefile("${path.module}/bootstrap-w-docker.tmpl",
{ kind_version = "0.6.1", kubectl_version = "1.17.0", golang_version = "1.13.5", compose_version = "1.25.0" }))
{ kind_version = "0.6.1", kubectl_version = "1.17.0", golang_version = "1.13.5", compose_version = "1.25.0" , kustomize_version = "3.5.3"}))

tags = {
Name = random_id.key.hex
Expand Down

0 comments on commit 96ff426

Please sign in to comment.