2024-10-15 07:44:25 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: argocd-ingress
|
|
|
|
namespace: argocd
|
2024-10-15 15:17:02 +00:00
|
|
|
annotations:
|
2024-10-16 12:41:48 +00:00
|
|
|
cert-manager.io/issuer: "letsencrypt"
|
2024-10-16 11:26:28 +00:00
|
|
|
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"
|
2024-10-15 07:44:25 +00:00
|
|
|
spec:
|
2024-10-16 11:26:28 +00:00
|
|
|
defaultBackend:
|
|
|
|
service:
|
|
|
|
name: argocd-server
|
|
|
|
port:
|
|
|
|
number: 80
|
2024-10-15 07:44:25 +00:00
|
|
|
ingressClassName: nginx
|
|
|
|
tls:
|
|
|
|
- hosts:
|
2024-10-16 11:26:28 +00:00
|
|
|
- argocd-test.streams.sunet.se
|
2024-10-16 12:09:08 +00:00
|
|
|
secretName: argocd-tls-secret
|
2024-10-15 07:44:25 +00:00
|
|
|
rules:
|
2024-10-16 11:26:28 +00:00
|
|
|
- host: argocd-test.streams.sunet.se
|
2024-10-15 07:44:25 +00:00
|
|
|
http:
|
|
|
|
paths:
|
2024-10-16 14:35:17 +00:00
|
|
|
- path: /.well-known/acme-challenge
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
label: acme.cert-manager.io/http01-solver
|
|
|
|
port:
|
|
|
|
number: 8089
|
2024-10-15 07:44:25 +00:00
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: argocd-server
|
|
|
|
port:
|
2024-10-16 11:26:28 +00:00
|
|
|
number: 80
|