jenkins/jenkins-ingress.yaml

26 lines
613 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jenkins-ingress
namespace: jenkins
annotations:
kubernetes.io/ingress.class: "traefik"
traefik.ingress.kubernetes.io/redirect-entry-point: https
cert-manager.io/cluster-issuer: dns-clusterissuer
spec:
rules:
- host: jenkins.thejimnicholson.com
http:
paths:
- path: /
pathType: Prefix
backend:
service
name: jenkins
port:
number: 8080
tls:
- hosts:
- jenkins.thejimnicholson.com
secretName: jenkins-thejimnicholson-com