32 lines
667 B
YAML
32 lines
667 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: argocd-ingress
|
|
namespace: argocd
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
spec:
|
|
defaultBackend:
|
|
service:
|
|
name: argocd-server
|
|
port:
|
|
number: 8443
|
|
ingressClassName: traefik
|
|
tls:
|
|
- hosts:
|
|
- argocd.drive.test.sunet.dev
|
|
secretName: tls-secret
|
|
|
|
rules:
|
|
- host: argocd.drive.test.sunet.dev
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: argocd-server
|
|
port:
|
|
number: 80
|