Skip to content

Commit

Permalink
Merge pull request #18 from carlosrodlop/feat-branch
Browse files Browse the repository at this point in the history
[AWS EKS Blueprints] Adding distiction between v4 and v5 charts for External DNS
  • Loading branch information
carlosrodlop authored Nov 8, 2023
2 parents 921f35d + b2f1c5c commit b347f54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion clouds/aws/modules/aws-eks-addons-v4/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module "eks_blueprints_addons" {

enable_external_dns = local.eks_bp_addon_external_dns
external_dns_helm_config = {
values = [templatefile("${local.helm_values_path}/external-dns.yaml", {
values = [templatefile("${local.helm_values_path}/external-dns-v4.yaml", {
zoneIdFilter = local.route53_zone_id
zoneType = local.hosted_zone_type
})]
Expand Down
5 changes: 1 addition & 4 deletions clouds/aws/modules/aws-eks-addons-v5/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ module "eks_blueprints_addons" {
enable_external_dns = local.eks_bp_addon_external_dns
external_dns = {
create_role = true,
values = [templatefile("${local.helm_values_path}/external-dns.yaml", {
zoneIdFilter = local.route53_zone_id
zoneType = local.hosted_zone_type
})]
values = [file("${local.helm_values_path}/external-dns-v5.yaml")]
}
external_dns_route53_zone_arns = [local.route53_zone_arn]
enable_aws_load_balancer_controller = local.eks_bp_addon_aws_lb_controller
Expand Down
2 changes: 1 addition & 1 deletion libs/k8s

0 comments on commit b347f54

Please sign in to comment.