streams-manifests/argocd-nginx/overlays/test/argocd-ingress.yaml
2024-10-16 12:12:59 +02:00

37 lines
773 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-ingress
namespace: argocd
annotations:
cert-manager.io/cluster-issuer: "letsencrypt"
spec:
defaultBackend:
service:
name: argocd-server
port:
number: 80
ingressClassName: nginx
tls:
- hosts:
- argocd-test.streams.sunet.se
secretName: tls-secret
rules:
- host: argocd-test.streams.sunet.se
http:
paths:
- path: /.well-known/acme-challenge
pathType: Prefix
backend:
service:
name: acme-solver
port:
number: 80
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
number: 80