fp/apps/base/podinfo/ingress.yaml

25 lines
507 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:
2024-04-26 19:33:11 +00:00
number: 9898
2024-04-26 17:55:07 +00:00
name: http
tls:
- hosts:
- podinfo.sbtp.xyz
secretName: podinfo-tls