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

33 lines
767 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-ingress
namespace: argocd
annotations:
cert-manager.io/cluster-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: tls-secret
rules:
- host: argocd-test.streams.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
number: 80