fp/apps/base/podinfo/ingress.yaml

24 lines
480 B
YAML
Raw Normal View History

2024-04-26 17:55:07 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: podinfo-ingress
namespace: default
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-staging"
spec:
ingressClassName: nginx
rules:
- host: podinfo.sbtp.xyz
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: podinfo
port:
name: http
tls:
- hosts:
- podinfo.sbtp.xyz
secretName: podinfo-tls