28 lines
658 B
YAML
28 lines
658 B
YAML
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: argocd-server-ingress
|
||
|
namespace: argocd
|
||
|
annotations:
|
||
|
cert-manager.io/cluster-issuer: letsencrypt-cluster-issuer
|
||
|
kubernetes.io/ingress.class: nginx
|
||
|
kubernetes.io/tls-acme: "true"
|
||
|
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
||
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||
|
spec:
|
||
|
rules:
|
||
|
- host: argocd.DOMAIN
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: argocd-server
|
||
|
port:
|
||
|
name: https
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- argocd.DOMAIN
|
||
|
secretName: argocd-app-tls
|