31 lines
641 B
YAML
31 lines
641 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: argocd-ingress
|
|
annotations:
|
|
cert-manager.io/issuer: "letsencrypt"
|
|
acme.cert-manager.io/http01-edit-in-place: "true"
|
|
namespace: argocd
|
|
spec:
|
|
defaultBackend:
|
|
service:
|
|
name: argocd-server
|
|
port:
|
|
number: 80
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- sunet-argocd.drive.sunet.se
|
|
secretName: tls-secret
|
|
rules:
|
|
- host: sunet-argocd.drive.sunet.se
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: argocd-server
|
|
port:
|
|
number: 80
|