apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: tekton-argocd-example-build-el-ingress
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-cluster-issuer
    kubernetes.io/ingress.class: nginx
    kubernetes.io/tls-acme: "true"
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - host: k8s-argocd.tk
    http:
      paths:
      - path: /tekton-argocd-example-build-webhook/
        pathType: Prefix
        backend:
          service: 
            name: el-tekton-argocd-example-build-el
            port:
              number: 8080
  tls:
  - hosts:
    - k8s-argocd.tk
    secretName: argocd-app-tls

