khuedoan-homelab/bootstrap/argocd/ingress.yaml
2021-08-23 03:03:33 +07:00

25 lines
548 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-server
labels:
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
cert-manager.io/issuer: "letsencrypt-staging"
spec:
rules:
- host: argocd.khuedoan.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
name: https
tls:
- hosts:
- argocd.khuedoan.com
secretName: argocd-secret