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 08:20:49 +00:00
|
|
|
cert-manager.io/cluster-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-15 07:44:25 +00:00
|
|
|
secretName: tls-secret
|
|
|
|
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:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: argocd-server
|
|
|
|
port:
|
2024-10-16 11:26:28 +00:00
|
|
|
number: 80
|