add manifests
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-11-01 18:22:56 +01:00
parent b4458ae536
commit 4c288976f7
3 changed files with 64 additions and 0 deletions

21
k8s/ingress.yml Normal file
View File

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