25 lines
507 B
YAML
25 lines
507 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:
|
|
number: 9898
|
|
name: http
|
|
tls:
|
|
- hosts:
|
|
- podinfo.sbtp.xyz
|
|
secretName: podinfo-tls |