26 lines
690 B
YAML
26 lines
690 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: ppob-backend
|
|
namespace: empatnusabangsa-production
|
|
annotations:
|
|
kubernetes.io/ingress.class: "traefik"
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
traefik.ingress.kubernetes.io/router.middlewares: empatnusabangsa-production-redirect-https@kubernetescrd
|
|
spec:
|
|
rules:
|
|
- host: "api.wndsolutions.id"
|
|
http:
|
|
paths:
|
|
- pathType: Prefix
|
|
path: /
|
|
backend:
|
|
service:
|
|
name: ppob-backend
|
|
port:
|
|
number: 5000
|
|
tls:
|
|
- hosts:
|
|
- "api.wndsolutions.id"
|
|
secretName: api-wndsolutions-id-tls
|