Add ingress
This commit is contained in:
parent
b45f1e7be0
commit
47813100f2
23
kustomize/ingress.yaml
Normal file
23
kustomize/ingress.yaml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: drone-ingress
|
||||||
|
namespace: drone
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: "traefik"
|
||||||
|
traefik.ingress.kubernetes.io/redirect-entry-point: https
|
||||||
|
cert-manager.io/cluster-issuer: http-clusterissuer
|
||||||
|
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: drone.kube.thejimnicholson.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
serviceName: drone-server
|
||||||
|
servicePort: 80
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- drone.kube.thejimnicholson.com
|
||||||
|
secretName: drone.kube.thejimnicholson.com
|
||||||
Loading…
Reference in New Issue
Block a user