fp/apps/base/podinfo/ingress.yaml

24 lines
480 B
YAML

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