generated from lablabs/terraform-aws-eks-universal-addon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb54719
commit fd93608
Showing
21 changed files
with
32 additions
and
1,136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,34 @@ | ||
/** | ||
* # AWS EKS Universal Addon Terraform module | ||
* # AWS EKS AWS Service Quota Exporter Terraform module | ||
* | ||
* A Terraform module to deploy the universal addon on Amazon EKS cluster. | ||
* A Terraform module to deploy the [aws-service-quota-exporter](https://github.com/lablabs/aws-service-quotas-exporter) on Amazon EKS cluster. | ||
* | ||
* [![Terraform validate](https://github.com/lablabs/terraform-aws-eks-universal-addon/actions/workflows/validate.yaml/badge.svg)](https://github.com/lablabs/terraform-aws-eks-universal-addon/actions/workflows/validate.yaml) | ||
* [![pre-commit](https://github.com/lablabs/terraform-aws-eks-universal-addon/actions/workflows/pre-commit.yaml/badge.svg)](https://github.com/lablabs/terraform-aws-eks-universal-addon/actions/workflows/pre-commit.yaml) | ||
* [![Terraform validate](https://github.com/lablabs/terraform-aws-eks-aws-service-quota-exporter/actions/workflows/validate.yaml/badge.svg)](https://github.com/lablabs/terraform-aws-eks-aws-service-quota-exporter/actions/workflows/validate.yaml) | ||
* [![pre-commit](https://github.com/lablabs/terraform-aws-eks-aws-service-quota-exporter/actions/workflows/pre-commit.yaml/badge.svg)](https://github.com/lablabs/terraform-aws-eks-aws-service-quota-exporter/actions/workflows/pre-commit.yaml) | ||
*/ | ||
# FIXME config: update addon docs above | ||
locals { | ||
# FIXME config: add addon configuration here | ||
addon = { | ||
name = "universal-addon" | ||
name = "aws-service-quotas-exporter" | ||
|
||
helm_chart_name = "raw" | ||
helm_chart_version = "0.1.0" | ||
helm_repo_url = "https://lablabs.github.io" | ||
helm_chart_name = "aws-service-quotas-exporter" | ||
helm_chart_version = "0.0.3" | ||
helm_repo_url = "ghcr.io/lablabs/aws-service-quotas-exporter" | ||
} | ||
|
||
# FIXME config: add addon IRSA configuration here or remove if not needed | ||
addon_irsa = { | ||
(local.addon.name) = { | ||
# FIXME config: add default IRSA overrides here or leave empty if not needed, but make sure to keep at least one key | ||
} | ||
(local.addon.name) = {} | ||
} | ||
|
||
addon_values = yamlencode({ | ||
# FIXME config: add default values here | ||
serviceAccount = { | ||
create = var.service_account_create != null ? var.service_account_create : true | ||
name = var.service_account_name != null ? var.service_account_name : local.addon.name | ||
annotations = module.addon-irsa[local.addon.name].irsa_role_enabled ? { | ||
"eks.amazonaws.com/role-arn" = module.addon-irsa[local.addon.name].iam_role_attributes.arn | ||
} : tomap({}) | ||
} | ||
exporter = { | ||
config = var.exporter_config | ||
} | ||
}) | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.