Skip to content

Commit

Permalink
Update cluster (#11)
Browse files Browse the repository at this point in the history
* Ignore the desired capacity when updating the cluster

* Fix patching events

* Consolidate the event permissions with the ClusterRole
  • Loading branch information
sarge authored and scholzj committed Mar 11, 2018
1 parent 1012ef4 commit 5dbb80a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ rules:
- endpoints
verbs:
- create
- patch
- apiGroups:
- ""
resources:
Expand Down
4 changes: 4 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,10 @@ resource "aws_autoscaling_group" "nodes" {
}]

tags = ["${var.tags2}"]

lifecycle {
ignore_changes = ["desired_capacity"]
}
}

#####
Expand Down

0 comments on commit 5dbb80a

Please sign in to comment.