streams-manifests/argocd-nginx/base/argocd-ingress.yaml
2024-10-16 16:38:14 +02:00

32 lines
791 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-ingress
namespace: argocd
annotations:
cert-manager.io/issuer: "letsencrypt"
acme.cert-manager.io/http01-ingress-class: nginx
acme.cert-manager.io/http01-edit-in-place: "false"
nginx.ingress.kubernetes.io/from-to-www-redirect: "false"
spec:
defaultBackend:
service:
name: argocd-server
port:
number: 80
ingressClassName: nginx
tls:
- hosts:
- argocd-test.streams.sunet.se
secretName: argocd-tls-secret
rules:
- host: argocd-test.streams.sunet.se
http:
paths:
- path: /.well-known/acme-challenge
backend:
service:
label: acme.cert-manager.io/http01-solver
port:
number: 8089