hanyadikhetvan-deploy/ingress.yml
2021-05-06 20:53:00 +02:00

22 lines
521 B
YAML

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: hanyadikhetvan
namespace: hanyadikhetvan
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- hanyadikhetvan.k8s.kmlabz.com
secretName: hanyadikhetvan-cert-secret
rules:
- host: hanyadikhetvan.k8s.kmlabz.com
http:
paths:
- path: /
backend:
serviceName: hanyadikhetvan-service
servicePort: hanyadikhetvan