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:37:27 +00:00
|
|
|
annotations:
|
2024-10-16 07:43:36 +00:00
|
|
|
cert-manager.io/cluster-issuer: "letsencrypt"
|
2024-10-16 10:18:15 +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:
|
|
|
|
defaultBackend:
|
|
|
|
service:
|
|
|
|
name: argocd-server
|
|
|
|
port:
|
|
|
|
number: 80
|
|
|
|
ingressClassName: nginx
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- argocd-test.streams.sunet.se
|
|
|
|
secretName: tls-secret
|
|
|
|
rules:
|
|
|
|
- host: argocd-test.streams.sunet.se
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: argocd-server
|
|
|
|
port:
|
|
|
|
number: 80
|