33 lines
767 B
YAML
33 lines
767 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: argocd-ingress
|
|
namespace: argocd
|
|
annotations:
|
|
cert-manager.io/issuer: "lets-encrypt"
|
|
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: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: argocd-server
|
|
port:
|
|
number: 80
|