From 8b63f0c3a4e0e1a1b0be921817fb7148403324f6 Mon Sep 17 00:00:00 2001 From: Caio Gomes Date: Sun, 23 Jun 2024 17:34:54 +0300 Subject: [PATCH] Adding ingress class to ingress resource --- .github/workflows/dns-bootstrap.yaml | 2 ++ kubernetes/argocd/ingress.yaml | 1 + 2 files changed, 3 insertions(+) create mode 100644 .github/workflows/dns-bootstrap.yaml diff --git a/.github/workflows/dns-bootstrap.yaml b/.github/workflows/dns-bootstrap.yaml new file mode 100644 index 0000000..93319e8 --- /dev/null +++ b/.github/workflows/dns-bootstrap.yaml @@ -0,0 +1,2 @@ +## TODO: Add logic to get load balancers by the tags using the AWS SDK and add the route to it, the logic just need to add one load balancer as we are using ingress to add the rules to only one load balancer +## TODO: The workflow needs to be triggered after argocd bootstrap finishes diff --git a/kubernetes/argocd/ingress.yaml b/kubernetes/argocd/ingress.yaml index 7014da0..d31e5dd 100644 --- a/kubernetes/argocd/ingress.yaml +++ b/kubernetes/argocd/ingress.yaml @@ -36,6 +36,7 @@ metadata: alb.ingress.kubernetes.io/conditions.argogrpc: | [{"field":"http-header","httpHeaderConfig":{"httpHeaderName": "Content-Type", "values":["application/grpc"]}}] spec: + ingressClassName: alb rules: - host: argocd.argoproj.io http: