Skip to content

Commit

Permalink
Changes in ingress and output for fargate application
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Khramtsov committed Aug 27, 2024
1 parent 727917a commit ad7561f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions terraform/modules/k8s-addons/eks-fargate-app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ metadata:
namespace: ${local.fargate_app.namespace}
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
rules:
- host: ${local.fargate_app.domain_name}
Expand All @@ -105,10 +104,6 @@ spec:
number: 8081
path: /
pathType: Prefix
tls:
- hosts:
- ${local.fargate_app.domain_name}
EOF

depends_on = [
Expand All @@ -117,3 +112,8 @@ EOF
helm_release.ingress_nginx
]
}

output "fargate_app_domain_name" {
value = local.fargate_app.enabled ? local.fargate_app.domain_name : null
description = "Fargate app domain name"
}

0 comments on commit ad7561f

Please sign in to comment.