30 lines
597 B
YAML
30 lines
597 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: argocd-ingress
|
|
namespace: argocd
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt"
|
|
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
|