Skip to content

Commit

Permalink
chore: Param for CBCI tolerations
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosrodlop committed Sep 30, 2024
1 parent 1f52b63 commit 9a43f28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions blueprints/02-at-scale/k8s/aws-for-fluent-bit-values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

tolerations:
- effect: "NoSchedule"
key: "dedicated"
key: "${cbciAppsTolerationKey}"
operator: "Equal"
value: "cb-apps"
value: "${cbciAppsTolerationValue}"
- effect: "NoSchedule"
key: "dedicated"
operator: "Equal"
Expand Down
8 changes: 5 additions & 3 deletions blueprints/02-at-scale/main.k8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,11 @@ module "eks_blueprints_addons" {
namespace = local.observability_ns
create_namespace = true
values = [templatefile("k8s/aws-for-fluent-bit-values.yml", {
region = var.aws_region
bucketName = module.cbci_s3_bucket.s3_bucket_id
log_retention_days = local.cloudwatch_logs_expiration_days
region = var.aws_region
bucketName = module.cbci_s3_bucket.s3_bucket_id
log_retention_days = local.cloudwatch_logs_expiration_days
cbciAppsTolerationKey = local.mng["cbci_apps"]["taints"].key
cbciAppsTolerationValue = local.mng["cbci_apps"]["taints"].value
})]
kubelet_monitoring = true
chart_version = "0.1.28"
Expand Down

0 comments on commit 9a43f28

Please sign in to comment.