diff --git a/kubernetes/app-of-apps/templates/ingress.yaml b/kubernetes/app-of-apps/templates/argocd.yaml similarity index 89% rename from kubernetes/app-of-apps/templates/ingress.yaml rename to kubernetes/app-of-apps/templates/argocd.yaml index cbf3ded..6702002 100644 --- a/kubernetes/app-of-apps/templates/ingress.yaml +++ b/kubernetes/app-of-apps/templates/argocd.yaml @@ -1,13 +1,13 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: ingress + name: argocd namespace: argocd spec: project: default source: repoURL: https://github.com/caiocsgomes/aws-eks-cluster - path: kubernetes/ingress + path: kubernetes/argocd targetRevision: HEAD destination: server: "https://kubernetes.default.svc" diff --git a/kubernetes/ingress/main.yaml b/kubernetes/argocd/ingress.yaml similarity index 54% rename from kubernetes/ingress/main.yaml rename to kubernetes/argocd/ingress.yaml index ccdd6f6..0b076dd 100644 --- a/kubernetes/ingress/main.yaml +++ b/kubernetes/argocd/ingress.yaml @@ -6,15 +6,16 @@ metadata: annotations: alb.ingress.kubernetes.io/scheme: internet-facing alb.ingress.kubernetes.io/target-type: ip + alb.ingress.kubernetes.io/group.name: ingress spec: ingressClassName: alb rules: - http: paths: - - path: /argocd - pathType: Exact - backend: - service: - name: argocd-server - port: - name: http + - path: /argocd + pathType: Exact + backend: + service: + name: argocd-server + port: + name: http