Commit Graph

121 Commits

Author SHA1 Message Date
Bryant Biggs
081c7624a5 fix: Replace Karpenter SQS policy dynamic service princpal DNS suffixes with static amazonaws.com (#2941)
fix: Replace dynamic service princpal DNS suffixes with static `amazonaws.com`
2024-02-21 17:30:49 -05:00
Nick Nikitas
671fc6e627 fix: Karpenter enable_spot_termination = false should not result in an error (#2907)
* Add condition for statement if enable_spot_termination is true

* Update modules/karpenter/main.tf

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2024-02-07 19:32:47 -05:00
tculp
cc6919de81 feat: Allow enable/disable of EKS pod identity for the Karpenter controller (#2902)
* Made EKS pod identities for the controller role toggleable

* Switched the variable to the singular form

---------

Co-authored-by: Tyler Culp <tyler.culp@polestardefense.com>
2024-02-06 09:34:04 -05:00
Nihal
0381503cbb docs: Correct Karpenter variable references for changes made in v20.0 (#2900) 2024-02-05 14:57:05 -05:00
Bryant Biggs
6b40bdbb1d feat!: Replace the use of aws-auth configmap with EKS cluster access entry (#2858)
* feat: Replace `resolve_conflicts` with `resolve_conflicts_on_create`/`delete`; raise MSV of AWS provider to `v5.0` to support

* fix: Replace dynamic DNS suffix for `sts:AssumeRole` API calls for static suffix

* feat: Add module tag

* feat: Align Karpenter permissions with Karpenter v1beta1/v0.32 permissions from upstream

* refactor: Move `aws-auth` ConfigMap functionality to its own sub-module

* chore: Update examples

* feat: Add state `moved` block for Karpenter Pod Identity role re-name

* fix: Correct variable `create` description

* feat: Add support for cluster access entries

* chore: Bump MSV of Terraform to `1.3`

* fix: Replace defunct kubectl provider with an updated forked equivalent

* chore: Update and validate examples for access entry; clean up provider usage

* docs: Correct double redundant variable descriptions

* feat: Add support for Cloudwatch log group class argument

* fix: Update usage tag placement, fix Karpenter event spelling, add upcoming changes section to upgrade guide

* feat: Update Karpenter module to generalize naming used and align policy with the upstream Karpenter policy

* feat: Add native support for Windows based managed nodegroups similar to AL2 and Bottlerocket

* feat: Update self-managed nodegroup module to use latest features of ASG

* docs: Update and simplify docs

* fix: Correct variable description for AMI types

* fix: Update upgrade guide with changes; rename Karpenter controller resource names to support migrating for users

* docs: Complete upgrade guide docs for migration and changes applied

* Update examples/karpenter/README.md

Co-authored-by: Anton Babenko <anton@antonbabenko.com>

* Update examples/outposts/README.md

Co-authored-by: Anton Babenko <anton@antonbabenko.com>

* Update modules/karpenter/README.md

Co-authored-by: Anton Babenko <anton@antonbabenko.com>

---------

Co-authored-by: Anton Babenko <anton@antonbabenko.com>
2024-02-02 09:36:25 -05:00
Bryant Biggs
c36c8dc825 fix: Remove additional conditional on Karpenter instance profile creation to support upgrading (#2812) 2023-11-10 08:59:00 -05:00
Bryant Biggs
0732bea85f feat: Update KMS module to avoid calling data sources when create_kms_key = false (#2804) 2023-11-04 08:41:59 -04:00
Michael Barrientos
aec2bab1d8 feat: Add Karpenter v1beta1 compatibility (#2800)
* feat: Add Karpenter v1beta1 compatibility

* fix: Update to make changes opt-in

* fix: Update resource schemas to align with latest Karpenter version - validated and working as intended

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-11-01 11:33:07 -04:00
JulianTheKalamari
ba0ebeb11a fix: Updating license_specification result type (#2798) 2023-10-30 14:40:03 -04:00
Lama
bd4bda266e fix: Correct key used on license_configuration_arn (#2796)
fix: Reference to undeclared resource

Co-authored-by: Lamaspanzer <contact@lamaspanzer.ovh>
2023-10-30 13:41:24 -04:00
Bryant Biggs
f4766e5c27 fix: Karpenter node IAM role policies variable should be a map of strings, not list (#2771) 2023-10-10 11:57:29 -04:00
Jérémie Charest
feee18dd42 feat: Add support for allowed_instance_types on self-managed nodegroup ASG (#2757)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-10-06 09:20:13 -04:00
Angel Moctezuma
adb47f46dc feat: Add node_iam_role_arns local variable to check for Windows platform on EKS managed nodegroups (#2477)
Update node_iam_role_arns locals to check for Windows Managed Node Groups

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-08-03 19:23:36 -04:00
sanjinp
6217d0eaab fix: Snapshot permissions issue for Karpenter submodule (#2649)
fix: snapshot permirrions issue for karpenter submodule
2023-06-09 13:08:34 -04:00
Joshua Pare
6c56e2ad20 fix: Ensure isra_tag_values can be tried before defaulting to cluster_name on Karpenter module (#2631)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-05-30 18:55:40 -04:00
Bryant Biggs
e23139ad2d fix: Revert changes to ignore role_last_used (#2629) 2023-05-24 17:54:33 -04:00
Eric Bailey
f8ea3d08ad feat: Ignore changes to *.aws_iam_role.*.role_last_used (#2628) 2023-05-24 13:46:52 -04:00
Tung Nguyen
aa3bdf1c19 feat: Add irsa_tag_values variable (#2584) 2023-05-17 10:04:11 -04:00
tal-lederman-dy
969c7a7c43 fix: SQS queue encryption types selection (#2575)
Co-authored-by: Tal Lederman <tallederman@Tals-MacBook-Pro.local>
2023-04-18 09:03:15 -04:00
petros-d
54417d244c feat: Add support for allowed_instance_type (#2552) 2023-04-12 18:05:33 -04:00
Le Minh Duc
4a2523cddd feat: Add Autoscaling schedule for EKS managed node group (#2504)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-03-31 10:46:27 -04:00
Constantin Bugneac
bd387d69fa feat: Add optional list of policy ARNs for attachment to Karpenter IRSA (#2537)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-03-28 16:50:40 -04:00
Apoorva Kulkarni
e257dafe94 fix: Return correct status for mng (#2524) 2023-03-17 09:49:08 -04:00
Patrick Lee Scott
8954ff7bb4 feat: Allow setting custom IRSA policy name for karpenter (#2480) 2023-02-17 10:23:58 -05:00
Lukas Wöhrl
c4a4b8afe3 feat: Add auto discovery permission of cluster endpoint to Karpenter role (#2451)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-02-15 16:02:27 -05:00
Omer Levi Hevroni
68fe60f1c4 feat: Allow to pass prefix for rule names (#2437) 2023-02-07 07:04:45 -05:00
Simon Staszkiewicz
a8e0de0b3f docs: Update README to include changes to variables (#2430) 2023-01-28 15:36:53 -05:00
benjaminstokes
8f0d94bc42 docs: Removed vpc_id from nodegroup sub-module docs; removed in v19.x (#2398)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2023-01-28 07:57:41 -05:00
Dan Marshall
3834935387 fix: AMI lookup should only happen when launch template is created (#2386)
Fixes https://github.com/terraform-aws-modules/terraform-aws-eks/issues/2385
2023-01-05 16:04:23 -05:00
Pavlos-Petros Tournaris
e391a99a7b fix: Drop spot-instances-request from tag_specifications (#2363)
* Drop spot-instances-request from tag_specifications

* fix: Update documentation

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2022-12-20 13:23:44 -05:00
Bryant Biggs
094ed1d5e4 feat: Allow configuring which tags are passed on launch template tag specifications (#2360)
Resolves undefined
2022-12-19 13:50:32 -05:00
Bryant Biggs
0751a0ca04 feat: Ensure all supported resources are tagged under tag_specifications on launch templates (#2352)
Resolves undefined
2022-12-18 12:29:11 -05:00
Bryant Biggs
3b62f6c316 feat: Add support for addon configuration_values (#2345)
Resolves undefined
2022-12-16 14:44:21 -05:00
Bryant Biggs
ca03fd9ec1 docs: Correct spelling mistakes (#2334)
Resolves undefined
2022-12-08 09:35:28 -05:00
Carlos Santana
b83f6d98bf fix: Ensure that custom KMS key is not created if encryption is not enabled, support computed values in cluster name (#2328)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Resolves undefined
Resolved undefined
Closes undefined
2022-12-07 11:05:49 -05:00
Bryant Biggs
b2e97ca3dc feat!: Add support for Outposts, remove node security group, add support for addon preserve and most_recent configurations (#2250)
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
Resolves undefined
2022-12-05 16:26:23 -05:00
Bryant Biggs
3fb28b357f fix: Ensure that var.create is tied to all resources correctly (#2308) 2022-11-23 12:43:42 -05:00
Bryant Biggs
f24de3326d feat: New Karpenter sub-module for easily enabling Karpenter on EKS (#2303) 2022-11-21 13:50:34 -05:00
Bryant Biggs
a74e98017b feat: Add output for cluster TLS certificate SHA1 fingerprint and provider tags to cluster primary security group (#2249) 2022-09-29 15:34:20 -04:00
Charles Bushong
c5944e5fb6 fix: Set image_id to come from the launch template instead of data source for self-managed node groups (#2239) 2022-09-26 10:02:13 -04:00
Bryant Biggs
0a52d690d5 feat: Add output for launch template name, and correct variable type value (#2205) 2022-08-17 12:24:22 +02:00
Bryant Biggs
2d7701c3b0 fix: Correct variable types to improve dynamic check correctness (#2133) 2022-07-01 07:53:43 -04:00
Bryant Biggs
ebc91bcd37 feat: Add support for specifying conrol plane subnets separate from those used by node groups (data plane) (#2113) 2022-06-18 17:52:30 -04:00
tculp
d10b173a2d Added outputs for labels and taints and updated example to show usage of labels and taints (#2109)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2022-06-18 11:11:49 -04:00
Lucas Freitas
140c872eb9 docs: Mention that security groups must be manually referenced on externally attached EKS managed groups (#2101) 2022-06-18 11:02:53 -04:00
Gabriel Féron
8584dcb2e0 feat: Add autoscaling_group_tags variable to self-managed-node-groups (#2084)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
2022-06-02 08:26:49 -04:00
Seth Pollack
58420b92a0 feat: Add create_autoscaling_group option and extra outputs (#2067) 2022-05-12 14:17:49 -04:00
Ken Kaizu
c576aadce9 fix: iam_role_user_name_prefix type as an bool (#2000) 2022-04-09 14:26:44 +02:00
Bryant Biggs
6db89f8f20 feat: Add create_before_destroy lifecycle hook to security groups created (#1985) 2022-04-04 16:34:29 +02:00
Bryant Biggs
262b480c34 docs: Re-organize documentation for easier navigation and support for references in issues/PRs (#1981) 2022-04-03 19:48:06 +02:00