gitops-sample/ingress.yaml

23 lines
482 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginix-ingress
annotations:
cert-manager.io/issuer: letsencrypt-issuer
spec:
tls:
- hosts:
- nginix.kl.suyiiyii.top
secretName: nginix-tls
rules:
- host: nginix.kl.suyiiyii.top
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginix-service
port:
number: 80