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

Commit

Permalink
Merge pull request #25 from cmdlabs/fix-autoscaler-tags
Browse files Browse the repository at this point in the history
Fix autoscaler tags
  • Loading branch information
deanillfeld authored Jul 4, 2019
2 parents e3ae766 + 3eea2ad commit f442049
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.6.1] - 2019-06-20
## [0.6.1] - 2019-07-04
### Fixed
- Resolved issue that prevented cluster-autoscaler from autoscaling workers.
### Added
- Added ec2:DescribeNetworkInterfaces to alb-ingress policy

Expand Down
2 changes: 1 addition & 1 deletion kiam_workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ resource "aws_autoscaling_group" "kiam_workers" {
"propagate_at_launch" = "true"
},
{
"key" = "k8s.io/cluster-autoscaler/${var.kiam_autoscaling_enabled == 1 ? "enabled" : "disabled"}"
"key" = "k8s.io/cluster-autoscaler/${var.kiam_autoscaling_enabled == true ? "enabled" : "disabled"}"
"value" = "true"
"propagate_at_launch" = "false"
},
Expand Down
2 changes: 1 addition & 1 deletion workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ resource "aws_autoscaling_group" "workers" {
"propagate_at_launch" = "true"
},
{
"key" = "k8s.io/cluster-autoscaler/${lookup(var.workers[count.index], "autoscaling_enabled", true) == 1 ? "enabled" : "disabled"}"
"key" = "k8s.io/cluster-autoscaler/${lookup(var.workers[count.index], "autoscaling_enabled", true) == true ? "enabled" : "disabled"}"
"value" = "true"
"propagate_at_launch" = "false"
},
Expand Down

0 comments on commit f442049

Please sign in to comment.