2024-10-15 07:44:25 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: argocd-ingress
|
|
|
|
namespace: argocd
|
2024-10-15 10:22:08 +00:00
|
|
|
annotations:
|
|
|
|
cert-manager.io/issuer: "letsencrypt"
|
|
|
|
acme.cert-manager.io/http01-edit-in-place: "true"
|
2024-10-15 07:44:25 +00:00
|
|
|
spec:
|
|
|
|
defaultBackend:
|
|
|
|
service:
|
|
|
|
name: argocd-server
|
|
|
|
port:
|
|
|
|
number: 80
|
|
|
|
ingressClassName: nginx
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- argocd-test.streams.sunet.se
|
2024-10-15 10:22:08 +00:00
|
|
|
secretName: argocd-tls-secret
|
2024-10-15 07:44:25 +00:00
|
|
|
rules:
|
|
|
|
- host: argocd-test.streams.sunet.se
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: argocd-server
|
|
|
|
port:
|
|
|
|
number: 80
|