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

26 lines
592 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-server
labels:
cert-manager.io/issuer: "letsencrypt-staging"
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
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-tls-certificate