diff --git a/kubernetes/system/argocd/base/httproutes.yaml b/kubernetes/system/argocd/base/httproutes.yaml deleted file mode 100644 index f614037..0000000 --- a/kubernetes/system/argocd/base/httproutes.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: gateway.networking.k8s.io/v1beta1 -kind: HTTPRoute -metadata: - name: httproute-external-argocd - namespace: argocd -spec: - parentRefs: - - name: external-gateway - namespace: kube-system - hostnames: - - "argocd.ninebasetwo.net" - rules: - - matches: - - path: - type: PathPrefix - value: / - backendRefs: - - name: argocd-server - port: 443 \ No newline at end of file diff --git a/kubernetes/system/argocd/base/ingress.yaml b/kubernetes/system/argocd/base/ingress.yaml new file mode 100644 index 0000000..64dcd6a --- /dev/null +++ b/kubernetes/system/argocd/base/ingress.yaml @@ -0,0 +1,24 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: ingress-external-argocd + namespace: argocd + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod +spec: + ingressClassName: cilium + rules: + - host: argocd.ninebasetwo.net + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: argocd-server + port: + number: 443 + tls: + - hosts: + - argocd.ninebasetwo.net + secretName: argocd-tls \ No newline at end of file